Hello, Jay> 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'. What if you just try 3.4.6 instead? --- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
>> 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 Thanks, Jay.
>>> 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=525016I'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>