|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
[Bug bootstrap/42002] New: Bootstrap failure: ld doesn't find 64-bit libelf on Fedora 11I configured today's mainline with
../../mainline/configure --prefix=/pkgs/gcc-mainline --enable-languages=c,c++ --enable-stage1-languages=c,c++ --with-cpu=default64 --enable-checking=release and bootstrap fails with /home/lucier/programs/gcc/objdirs/mainline/./prev-gcc/xgcc -B/home/lucier/programs/gcc/objdirs/mainline/./prev-gcc/ -B/pkgs/gcc-mainline/powerpc64-unknown-linux-gnu/bin/ -B/pkgs/gcc-mainline/powerpc64-unknown-linux-gnu/bin/ -B/pkgs/gcc-mainline/powerpc64-unknown-linux-gnu/lib/ -isystem /pkgs/gcc-mainline/powerpc64-unknown-linux-gnu/include -isystem /pkgs/gcc-mainline/powerpc64-unknown-linux-gnu/sys-include -g -O2 -gtoggle -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \ dummy-checksum.o main.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/home/lucier/programs/gcc/objdirs/mainline/./gmp/.libs -L/home/lucier/programs/gcc/objdirs/mainline/./gmp/_libs -L/home/lucier/programs/gcc/objdirs/mainline/./mpfr/.libs -L/home/lucier/programs/gcc/objdirs/mainline/./mpfr/_libs -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz -lelf /usr/bin/ld: skipping incompatible /usr/lib/libelf.so when searching for -lelf /usr/bin/ld: cannot find -lelf collect2: ld returned 1 exit status The object files are 64-bit: [lucier@lambda-head mainline]$ file gcc/rs6000-c.o gcc/rs6000-c.o: ELF 64-bit MSB relocatable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), not stripped and a 64-bit libelf is installed: [lucier@lambda-head mainline]$ file /usr/lib64/libelf* /usr/lib64/libelf-0.142.so: ELF 64-bit MSB shared object, 64-bit PowerPC or cisco 7500, version 1 (SYSV), dynamically linked, stripped /usr/lib64/libelf.so.1: symbolic link to `libelf-0.142.so' but I don't know why it isn't being found. -- Summary: Bootstrap failure: ld doesn't find 64-bit libelf on Fedora 11 Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: lucier at math dot purdue dot edu GCC build triplet: powerpc64-unknown-linux-gnu/ GCC host triplet: powerpc64-unknown-linux-gnu GCC target triplet: powerpc64-unknown-linux-gnu/ http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42002 |
|
|
[Bug bootstrap/42002] Bootstrap failure: ld doesn't find 64-bit libelf on Fedora 11------- Comment #1 from jakub at gcc dot gnu dot org 2009-11-11 06:51 ------- The last command shows that while you have libelf installed, you don't have libelf.so symlink for the 64-bit libelf. So, you need to yum install elfutils-libelf-devel.ppc64 -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42002 |
|
|
[Bug bootstrap/42002] Bootstrap failure: ld doesn't find 64-bit libelf on Fedora 11------- Comment #2 from lucier at math dot purdue dot edu 2009-11-11 13:52 ------- Thanks a lot for the explanation! I'm looking through the list of packages on Fedora with elfutils in the title; there is no elfutils-libelf-devel.ppc64, but the only ppc64 packages I can find are elfutils-devel-0.142-1.fc11 (ppc64) with file list /usr/include/dwarf.h /usr/include/elfutils /usr/include/elfutils/elf-knowledge.h /usr/include/elfutils/libasm.h /usr/include/elfutils/libdw.h /usr/include/elfutils/libdwfl.h /usr/include/elfutils/libebl.h /usr/include/elfutils/version.h /usr/lib64/libasm.so /usr/lib64/libdw.so /usr/lib64/libebl.a and elfutils-libelf-0.142-1.fc11 (ppc64) with file list /usr/lib64/libelf-0.142.so /usr/lib64/libelf.so.1 So I put in the link from libelf.so to libelf.so.1 by hand and the bootstrap is proceeding. Should I file a bug report with Fedora? I was told Fedora 12 won't support ppc64, so maybe there's no point. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42002 |
|
|
[Bug bootstrap/42002] Bootstrap failure: ld doesn't find 64-bit libelf on Fedora 11------- Comment #3 from jakub at gcc dot gnu dot org 2009-11-11 14:20 ------- Not sure where you searched, http://download.fedora.redhat.com/pub/fedora/linux/updates/11/ppc/ certainly contains both elfutils-libelf-devel-0.142-1.fc11.ppc.rpm elfutils-libelf-devel-0.142-1.fc11.ppc64.rpm and similarly Everything tree. And F12 also supports ppc64. This is all distro specific and doesn't belong here though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42002 |
| Free embeddable forum powered by Nabble | Forum Help |