Closed Bug 1483762 Opened 6 years ago Closed 6 years ago

mingw-clang doesn't know about -lmincore but does know about -lversion

Categories

(Firefox Build System :: General: Unsupported Platforms, enhancement, P5)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tjr, Assigned: tjr)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Compiling with mingw-clang throws this error:

>  lld: error: unable to find library -lmincore

That's included for these functions:

>  lld-link: error: undefined symbol: GetFileVersionInfoSizeW
>  >>> referenced by TestNativeNt.o:(main)
>  lld-link: error: undefined symbol: GetFileVersionInfoW
>  >>> referenced by TestNativeNt.o:(main)
>  lld-link: error: undefined symbol: VerQueryValueW
>  >>> referenced by TestNativeNt.o:(main)

However, -lversion does work.  

Jacek, do you know why this might be, and if mincore is the better solution, and what we'd need to do for mingw to make mincore work?
Flags: needinfo?(jacek)
mincode is now supported in mingw-w64. It should just work now.
Flags: needinfo?(jacek)
Fixed with the mingw bump in another bug.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: