public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lucier at math dot purdue dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/42002]  New: Bootstrap failure: ld doesn't find 64-bit libelf on Fedora 11
Date: Wed, 11 Nov 2009 03:09:00 -0000	[thread overview]
Message-ID: <bug-42002-271@http.gcc.gnu.org/bugzilla/> (raw)

I 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


             reply	other threads:[~2009-11-11  3:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-11  3:09 lucier at math dot purdue dot edu [this message]
2009-11-11  6:51 ` [Bug bootstrap/42002] " jakub at gcc dot gnu dot org
2009-11-11 13:52 ` lucier at math dot purdue dot edu
2009-11-11 14:21 ` jakub at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-42002-271@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).