public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/51734] New: [4.7 Regression] Bootstrap fails in libada
@ 2012-01-02 14:43 rguenth at gcc dot gnu.org
  2012-01-02 14:45 ` [Bug bootstrap/51734] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-02 14:43 UTC (permalink / raw)
  To: gcc-bugs

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: unassigned@gcc.gnu.org
        ReportedBy: rguenth@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/51734] [4.7 Regression] Bootstrap fails in libada
  2012-01-02 14:43 [Bug bootstrap/51734] New: [4.7 Regression] Bootstrap fails in libada rguenth at gcc dot gnu.org
@ 2012-01-02 14:45 ` rguenth at gcc dot gnu.org
  2012-01-03  8:46 ` krebbel at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-01-02 14:45 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51734

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/51734] [4.7 Regression] Bootstrap fails in libada
  2012-01-02 14:43 [Bug bootstrap/51734] New: [4.7 Regression] Bootstrap fails in libada rguenth at gcc dot gnu.org
  2012-01-02 14:45 ` [Bug bootstrap/51734] " rguenth at gcc dot gnu.org
@ 2012-01-03  8:46 ` krebbel at gcc dot gnu.org
  2012-01-04 11:41 ` krebbel at gcc dot gnu.org
  2012-01-04 11:51 ` krebbel at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu.org @ 2012-01-03  8:46 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51734

--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-01-03 08:45:59 UTC ---
That looks like another fallout from having -fpic in picflag.m4. So I'll remove
the s390*-*-* case in picflag.m4:

     s390*-*-*)
     $1=-fpic
     ;;

Mike Frysinger once was after that but probably forgot about posting an updated
version of his patch:

http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00579.html


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/51734] [4.7 Regression] Bootstrap fails in libada
  2012-01-02 14:43 [Bug bootstrap/51734] New: [4.7 Regression] Bootstrap fails in libada rguenth at gcc dot gnu.org
  2012-01-02 14:45 ` [Bug bootstrap/51734] " rguenth at gcc dot gnu.org
  2012-01-03  8:46 ` krebbel at gcc dot gnu.org
@ 2012-01-04 11:41 ` krebbel at gcc dot gnu.org
  2012-01-04 11:51 ` krebbel at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu.org @ 2012-01-04 11:41 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51734

--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-01-04 11:41:11 UTC ---
Author: krebbel
Date: Wed Jan  4 11:41:06 2012
New Revision: 182868

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182868
Log:

config/
2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    PR bootstrap/51734
    * picflag.m4: Remove s390 case statement.

gcc/
2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * configure: Regenerate.

libada/
2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * configure: Regenerate.

libgcc/
2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * configure: Regenerate.
    * config/s390/t-crtstuff: Remove -fPIC.

libiberty/
2012-01-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

    * configure: Regenerate.



Modified:
    trunk/config/ChangeLog
    trunk/config/picflag.m4
    trunk/gcc/ChangeLog
    trunk/gcc/configure
    trunk/libada/ChangeLog
    trunk/libada/configure
    trunk/libgcc/ChangeLog
    trunk/libgcc/config/s390/t-crtstuff
    trunk/libgcc/configure
    trunk/libiberty/ChangeLog
    trunk/libiberty/configure


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/51734] [4.7 Regression] Bootstrap fails in libada
  2012-01-02 14:43 [Bug bootstrap/51734] New: [4.7 Regression] Bootstrap fails in libada rguenth at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-01-04 11:41 ` krebbel at gcc dot gnu.org
@ 2012-01-04 11:51 ` krebbel at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: krebbel at gcc dot gnu.org @ 2012-01-04 11:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51734

Andreas Krebbel <krebbel at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Andreas Krebbel <krebbel at gcc dot gnu.org> 2012-01-04 11:49:43 UTC ---
Fixed with the patch from comment #2.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-01-04 11:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-02 14:43 [Bug bootstrap/51734] New: [4.7 Regression] Bootstrap fails in libada rguenth at gcc dot gnu.org
2012-01-02 14:45 ` [Bug bootstrap/51734] " rguenth at gcc dot gnu.org
2012-01-03  8:46 ` krebbel at gcc dot gnu.org
2012-01-04 11:41 ` krebbel at gcc dot gnu.org
2012-01-04 11:51 ` krebbel at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).