New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llvm-gcc's xgcc links with system libstdc++ #1268
Comments
Er, this seems to already be discussed: http://lists.cs.uiuc.edu/pipermail/llvmdev/2006-June/006164.html Dropping bug. I'll reopen it if it just won't go away. |
It would be nice to get this fixed in the llvm-gcc tree. Does gcc mainline have this makefile code? if not, -Chris |
Modifying the Makefile doesn't fix this bug for me. I've removed my build |
I'm seeing the same issue compiling WINE, which suggests that it isn't confined |
This bug is being caused by the fact that the bootstrap-built compiler xgcc is |
This bug occurs when the /usr/lib/libstdc++.so.6 is incompatible with |
A quick workaround that has been working for me for a while is to configure |
I think the entire issue with this bug is LD_LIBRARY_PATH. llvm-gcc will look in There are several workarounds:
Only #2 is actionable in the llvm-gcc code base. The question is, do we want to |
I just hit this again. The work-around in current llvm-gcc is to hack |
Hi, I'm trying to build llvm-gcc using the 2.8 source distribution. I've also hit the problem where llvm-gcc wants to use the local installed copies of libstdc++.so.6 & libgcc_s.so.1. However, I'm finding that the --disable-shared fix does not work. The binary created still wants to use the shared libs: ldd llvm-gcc I'm happy to edit any Makefiles to resolve the issue and would gladly welcome any pointers to which line(s) I should edit so that llvm-gcc uses the static versions of those libs that it builds. Thanks, Jeff. |
LLVM-GCC has reached its end of life as far as llvm.org releases go. Please migrate to Clang or DragonEgg when possible. The llvm-gcc SVN repo will still continue to exist, so additional patches can go into it if you so desire, but since we have no more releases of it coming, it doesn't make sense to track bugs for it anymore. If this is a problem that still exists with clang or DragonEgg, please file a new bug to track it. Thanks! -Chris |
Extended Description
I'm trying to use gcc4.1.2 (20060901 prerelease) to build llvm-gcc.
Unfortunately, I get a missing symbol error in the build process:
/home/nicholas/llvm-gcc/build/gcc/xgcc:
/home/nicholas/llvm-gcc/build/gcc/libgcc_s.so.1: version
GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6) make[1]: *** [specs] Error 1 make[1]: Leaving directory
/home/nicholas/llvm-gcc/build/gcc'make: *** [all-gcc] Error 2
I'm not sure what else to say about this. I also have a /usr/lib/libstdc++.so.5
which I assume is for older compilers. My /usr/lib/libstdc++.so is a symlink to
libstdc++.so.6.0.8.
The text was updated successfully, but these errors were encountered: