Hi,

I've applied the attached patch to mainline in order to fix the Ada
bootstrap failure reported by Jakub in PR51734 and the libiberty build
failure reported here:
http://gcc.gnu.org/ml/gcc-patches/2011-12/msg00465.html

Bye,

-Andreas-

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

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

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

    * configure: Regenerate.

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

    * configure: Regenerate.

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

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

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

    * configure: Regenerate.


---
 config/picflag.m4             |    3 ---
 gcc/configure                 |    7 ---!!!!
 libada/configure              |    3 ---
 libgcc/config/s390/t-crtstuff |    2 !!
 libgcc/configure              |    3 ---
 libiberty/configure           |    3 ---
 6 files changed, 15 deletions(-), 6 modifications(!)

Index: libiberty/configure
===================================================================
*** libiberty/configure.orig
--- libiberty/configure
*************** case "${host}" in
*** 4899,4907 ****
      m68k-*-*)
        PICFLAG=-fpic
        ;;
-     s390*-*-*)
-       PICFLAG=-fpic
-       ;;
      # FIXME: Override -fPIC default in libgcc only?
      sh-*-linux* | sh[2346lbe]*-*-linux*)
        PICFLAG=-fpic
--- 4899,4904 ----
Index: config/picflag.m4
===================================================================
*** config/picflag.m4.orig
--- config/picflag.m4
*************** case "${$2}" in
*** 51,59 ****
      m68k-*-*)
        $1=-fpic
        ;;
-     s390*-*-*)
-       $1=-fpic
-       ;;
      # FIXME: Override -fPIC default in libgcc only? 
      sh-*-linux* | sh[[2346lbe]]*-*-linux*)
        $1=-fpic
--- 51,56 ----
Index: libgcc/config/s390/t-crtstuff
===================================================================
*** libgcc/config/s390/t-crtstuff.orig
--- libgcc/config/s390/t-crtstuff
***************
*** 2,5 ****
  # because then __FRAME_END__ might not be the last thing in .eh_frame
  # section.
  CRTSTUFF_T_CFLAGS += -fno-asynchronous-unwind-tables
! CRTSTUFF_T_CFLAGS_S += -fno-asynchronous-unwind-tables -fPIC
--- 2,5 ----
  # because then __FRAME_END__ might not be the last thing in .eh_frame
  # section.
  CRTSTUFF_T_CFLAGS += -fno-asynchronous-unwind-tables
! CRTSTUFF_T_CFLAGS_S += -fno-asynchronous-unwind-tables
Index: libgcc/configure
===================================================================
*** libgcc/configure.orig
--- libgcc/configure
*************** case "${host}" in
*** 2322,2330 ****
      m68k-*-*)
        PICFLAG=-fpic
        ;;
-     s390*-*-*)
-       PICFLAG=-fpic
-       ;;
      # FIXME: Override -fPIC default in libgcc only?
      sh-*-linux* | sh[2346lbe]*-*-linux*)
        PICFLAG=-fpic
--- 2322,2327 ----
Index: gcc/configure
===================================================================
*** gcc/configure.orig
--- gcc/configure
*************** case "${target}" in
*** 4925,4933 ****
      m68k-*-*)
        PICFLAG_FOR_TARGET=-fpic
        ;;
-     s390*-*-*)
-       PICFLAG_FOR_TARGET=-fpic
-       ;;
      # FIXME: Override -fPIC default in libgcc only?
      sh-*-linux* | sh[2346lbe]*-*-linux*)
        PICFLAG_FOR_TARGET=-fpic
--- 4925,4930 ----
*************** else
*** 18109,18115 ****
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
! #line 18112 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
--- 18106,18112 ----
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
! #line 18109 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
*************** else
*** 18215,18221 ****
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
! #line 18218 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
--- 18212,18218 ----
    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    lt_status=$lt_dlunknown
    cat > conftest.$ac_ext <<_LT_EOF
! #line 18215 "configure"
  #include "confdefs.h"
  
  #if HAVE_DLFCN_H
Index: libada/configure
===================================================================
*** libada/configure.orig
--- libada/configure
*************** case "${host}" in
*** 2868,2876 ****
      m68k-*-*)
        PICFLAG=-fpic
        ;;
-     s390*-*-*)
-       PICFLAG=-fpic
-       ;;
      # FIXME: Override -fPIC default in libgcc only?
      sh-*-linux* | sh[2346lbe]*-*-linux*)
        PICFLAG=-fpic
--- 2868,2873 ----

Reply via email to