[LLVMdev] Fedora packaging problem

Adam Goode agoode at andrew.cmu.edu
Sun Oct 29 16:39:52 PST 2006


Hi,

I'm still working on the Fedora Extras package for LLVM.

Because of the Fedora requirement that all packages in Extras be built
from source, I must build the dreaded C Front End. :)

I think I've mostly got things set up correctly, but I've found what I
suspect is a tricky problem:

make[1]: Leaving directory
`/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc'
Checking multilib configuration...
multilib.out is unchanged
/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/xgcc:
/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/xgcc:
/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/xgcc:
/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/libgcc_s.so.1:
version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
Configuring in i686-pc-linux-gnu/libstdc++-v3
configure: loading cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc...
/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/xgcc
-B/home/adam/rpmbuild/BUILD/llvm-1.8/llvm-gcc4-obj/gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
make: *** [configure-target-libstdc++-v3] Error 1




Basically what happens is that LLVM's libgcc_s.so.1 does not include
symbols needed by Fedora's libstdc++.so.6. I suspect this is an issue
that GCC avoids by bootstrapping, but I am correct that LLVM gcc does
not do bootstrapping?

Is there an obvious (or not-so-obvious) fix for this problem?



Thanks,

Adam

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20061029/639f04c3/attachment.sig>


More information about the llvm-dev mailing list