[LLVMdev] GCC_4.2.0 problem
Chris Lattner
sabre at nondot.org
Thu Sep 28 12:21:22 PDT 2006
On Thu, 28 Sep 2006, Nick Lewycky wrote:
>> libgcc. It's quite possible that the GCC build is getting confused and
>> building cc1 with the system gcc but trying to use llvm-gcc's libgcc or
>> opposite.
>
> The problem is that the system standard libstdc++.so.6 has extern
> symbols that it expects to be resolved by linking against libgcc_s. In
> an FSF build, xgcc doesn't link to libstdc++.
Ah, so you're saying that LLVM's cc1 (which is a C++ program) is linking
in the system libstdc++ but the llvm-gcc libgcc? That is bad.
-Chris
--
http://nondot.org/sabre/
http://llvm.org/
More information about the llvm-dev
mailing list