This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/25665] build failure on ppc64-linux
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jan 2006 12:45:57 -0000
- Subject: [Bug bootstrap/25665] build failure on ppc64-linux
- References: <bug-25665-10259@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-04 12:45 -------
/usr/bin/ld: warning: powerpc:common architecture of input file
`../build-powerpc64-unknown-linux-gnu/libiberty/libiberty.a(xmalloc.o)' is
incompatible with powerpc:common64 output
/usr/bin/ld: warning: powerpc:common architecture of input file
`../build-powerpc64-unknown-linux-gnu/libiberty/libiberty.a(xexit.o)' is
incompatible with powerpc:common64 output
Oh, the problem is different than you think. The internal error in ld is an
binutils bug. But cause of it is because you forgot to use the option
--with-cpu=default32 as your first stage compiler is a 32bit compiler by
default.
You can also work around that by using CFLAGS="-m64 -O2 -g".
But this is not a GCC bug at all. Maybe it is a doc failure but how would we
know that the installed compiler is a 32bit one or a 64bit one.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25665