[PATCH] GCC multilib vs. OS multilib naming (take 2)

Andreas Jaeger aj@suse.de
Fri Oct 4 03:01:00 GMT 2002


With your patch a build with --disable-multilibs fails for me on
x86-64 with:
stage1/xgcc -Bstage1/ -B/usr/src/aj/install/gcc-base/x86_64-unknown-linux-gnu/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -fno-common  -DHAVE_CONFIG_H -DGENERATOR_FILE  -o gengenrtl \
 gengenrtl.o ../libiberty/libiberty.a
collect2: ld terminated with signal 11 [Segmentation fault], core dumped
/usr/bin/ld: warning: i386 architecture of input file `/usr/lib/crt1.o' is incompatible with i386:x86-64 output

Without the --disable-multilibs, it seems to work fine (build not
finished yet but much further).

I configured gcc with:
/cvs/gcc/configure --prefix=/usr/src/aj/install --disable-multilib --enable-languages=c,c++,f77

How do I teach GCC to look into /usr/lib64 for x86-64?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list