Andreas Krebbel <kreb...@linux.vnet.ibm.com> writes: > This appears to break bootstrap on s390x: > > /home/andreas/regtest/gcc-bisect-build/./gcc/crtbeginS.o: In function > `__do_global_dtors_aux': > crtstuff.c:(.text+0x28): relocation truncated to fit: R_390_GOT12 against > symbol > `__cxa_finalize@@GLIBC_2.2' defined in .text section in /lib64/libc.so.6 > /home/andreas/regtest/gcc-bisect-build/./gcc/crtbeginS.o: In function > `frame_dummy': > crtstuff.c:(.text+0x78): relocation truncated to fit: R_390_GOT12 against > undefined symbol
What's the exact command line? I suppose the file is compiled with -fpic. All *-*-linux* targets use config/t-crtstuff-pic, with PICFLAG from toplevel config/picflag.m4. If the (non-default) -fpic there is wrong for your target, it should be enough to remove the s390*-*-* case (-fPIC is the default) and rebuild the affected configure files (libgcc/configure, libada/configure, and libiberty/configure). Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University