[LLVMdev] mingw build problems

Jay Foad jay.foad at gmail.com
Fri Apr 24 02:32:04 PDT 2009


>>> I don't know what libstdc++'s stubs.o is for. If I create a bodged
>>> version of libstdc++ that doesn't include stubs.o, then llc links
>>> successfully!
>>>
>>> I've tried coming up with a small C++ app that gives the same linker
>>> error, but so far without success.
>> Sounds like broken compiler and/or mingw runtime. This perfectly
>> explains, why mingw gcc 4.2.x is still considered as 'experimental'.
>
> I came up with a small test case and reported this bug to the Debian
> package maintainers here:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525016

I've been using an ugly makefile hack (attached) to work around this
bug when cross-compiling for MinGW.

Jay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.muldefs
Type: application/octet-stream
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090424/5be1bbb7/attachment.obj>


More information about the llvm-dev mailing list