Displaying 2 results from an estimated 2 matches for "link_once_discard".
2009 Apr 17
0
[LLVMdev] mingw build problems
...2msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/include/math.h:576:
first defined here
collect2: ld returned 1 exit status
math.h:576 says:
__CRT_INLINE float __cdecl powf (float x, float y)
{return (float) pow (x, y);}
The definition of _powf in RegAllocLinearScan.o seems to be marked
with some LINK_ONCE_DISCARD and COMDAT stuff, so I assume multiple
such definitions shouldn't cause linker errors.
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 t...
2009 Apr 17
15
[LLVMdev] mingw build problems
I'm trying to cross-compile LLVM with build=, host=target=. I'm using
the following packages from Debian lenny:
mingw32 4.2.1.dfsg-1
mingw32-binutils 2.18.50-20080109-1
mingw32-runtime 3.13-1
The first problem I hit was when I configured with CC, CXX, AR and
RANLIB set to mingw cross-tools, but forgot to specify NM as well.
This resulted in a load of warnings that scrolled off the