------- 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