http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51734
Bug #: 51734 Summary: [4.7 Regression] Bootstrap fails in libada Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: rgue...@gcc.gnu.org Target: s390-*-linux When linking libgnat.so we fail like a-calfor.o: In function `ada__calendar__formatting__split': /home/abuild/rpmbuild/BUILD/gcc-4.7.0-20111220/obj-s390-suse-linux/gcc/ada/rts/a -calfor.adb:399:(.text+0x3aa): relocation truncated to fit: R_390_GOT12 against symbol `ada__calendar__time_error' defined in .data.rel section in a-calend.o a-calfor.o: In function `ada__calendar__formatting__split__4': /home/abuild/rpmbuild/BUILD/gcc-4.7.0-20111220/obj-s390-suse-linux/gcc/ada/rts/a -calfor.adb:444:(.text+0x7ba): relocation truncated to fit: R_390_GOT12 against symbol `ada__calendar__time_error' defined in .data.rel section in a-calend.o a-calfor.o: In function `ada__calendar__formatting__split__2': /home/abuild/rpmbuild/BUILD/gcc-4.7.0-20111220/obj-s390-suse-linux/gcc/ada/rts/a -calfor.adb:492:(.text+0x898): relocation truncated to fit: R_390_GOT12 against symbol `ada__calendar__time_error' defined in .data.rel section in a-calend.o a-calfor.o: In function `ada__calendar__formatting__split__3': /home/abuild/rpmbuild/BUILD/gcc-4.7.0-20111220/obj-s390-suse-linux/gcc/ada/rts/a -calfor.adb:540:(.text+0x97c): relocation truncated to fit: R_390_GOT12 against symbol `ada__calendar__time_error' defined in .data.rel section in a-calend.o a-calfor.o: In function `ada__calendar__formatting__time_of__2': /home/abuild/rpmbuild/BUILD/gcc-4.7.0-20111220/obj-s390-suse-linux/gcc/ada/rts/a -calfor.adb:603:(.text+0xfcc): relocation truncated to fit: R_390_GOT12 against symbol `ada__calendar__days_in_month' defined in .rodata section in a-calend.o [more similar errors in other files omitted] make[5]: *** [gnatlib-shared-default] Error 1 make[5]: Leaving directory `/home/abuild/rpmbuild/BUILD/gcc-4.7.0-20111220/obj-s 390-suse-linux/gcc/ada' GCC was configured like + CFLAGS='-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchron ous-unwind-tables -g -U_FORTIFY_SOURCE' + CXXFLAGS='-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchr onous-unwind-tables -g -U_FORTIFY_SOURCE' + XCFLAGS='-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchro nous-unwind-tables -g -U_FORTIFY_SOURCE' + TCFLAGS='-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchro nous-unwind-tables -g -U_FORTIFY_SOURCE' + GCJFLAGS='-fmessage-length=0 -O2 -D_FORTIFY_SOURCE=2 -funwind-tables -fasynchr onous-unwind-tables -g -U_FORTIFY_SOURCE' + ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man - -libdir=/usr/lib --libexecdir=/usr/lib --enable-languages=c,c++,objc,fortran,obj -c++,java,ada --enable-checking=yes --with-gxx-include-dir=/usr/include/c++/4.7 --enable-ssp --disable-libssp --disable-libitm --disable-plugin --with-bugurl=ht tp://bugs.opensuse.org/ '--with-pkgversion=SUSE Linux' --disable-libgcj --disabl e-libmudflap --with-slibdir=/lib --with-system-zlib --enable-__cxa_atexit --enab le-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-run time-libs --enable-linker-build-id --program-suffix=-4.7 --enable-linux-futex -- without-system-libunwind --with-tune=z196 --with-arch=z10 --with-long-double-128 --enable-decimal-float --build=s390-suse-linux