[LLVMdev] GCC_4.2.0 problem
fred at ludd.ltu.se
Thu Sep 28 07:36:58 CDT 2006
I have seen the bug
Maybe it is a non-issue but I had some trouble with this.
I am running Debian sid and were no longer able to compile llvm.
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
The installed version have this symbol.
strings /lib/libgcc_s.so.1 | grep GCC
It is just the LD_LIBRARY_PATH that brings in the "llvm" libgcc_s.so.1
that breaks the compilation.
I added this to my build script and now llvm builds properly.
../llvm-gcc4/configure --prefix=$LLVM/install --enable-llvm=$LLVMOBJDIR
sed -i 's/LD_LIBRARY_PATH/DUMMY_LD_LIBRARY_PATH_DUMMY/g' Makefile
The bugreport mentions this, but since the Makefile is not there before make,
one save oneself an make/make clean trip.
Hopefully it helps someone that is fighting with this problem.
I am not sure if it gives any sideeffects but I have not seen any so far.
More information about the LLVMdev