Patch to prevent building/configuring ld for native AIX platforms

Nick Clifton nickc@cygnus.com
Fri Aug 27 03:46:00 GMT 1999


Hi Guys,

  The following patch has been applied, with approval fom Jim Wilson.

Cheers
	Nick


1999-08-25  Nick Clifton  <nickc@cygnus.com>

	* configure.in: Do not configure or build ld for AIX
	platforms.  ld is known to be broken on these platforms.

Index: configure.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/configure.in,v
retrieving revision 1.37
diff -p -r1.37 configure.in
*** configure.in	1999/06/22 22:46:18	1.37
- --- configure.in	1999/08/25 10:11:11
*************** case "${target}" in
*** 699,706 ****
      ;;
    powerpc-*-aix*)
      # copied from rs6000-*-* entry
!     noconfigdirs="$noconfigdirs gprof cvssrc target-libgloss"
!     # This is needed until gcc and ld are fixed to work together.
      use_gnu_ld=no
      ;;
    powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
- --- 699,709 ----
      ;;
    powerpc-*-aix*)
      # copied from rs6000-*-* entry
!     # The configure and build of ld are currently disabled because
!     # GNU ld is known to be broken for AIX 4.2 and 4.3 (at least)
!     # The symptom is that GDBtk 4.18 fails at startup with a segfault
!     # if linked by GNU ld, but not if linked by the native ld.
!     noconfigdirs="$noconfigdirs gprof cvssrc target-libgloss ld"
      use_gnu_ld=no
      ;;
    powerpc*-*-winnt* | powerpc*-*-pe* | ppc*-*-pe)
*************** case "${target}" in
*** 719,726 ****
      noconfigdirs="$noconfigdirs target-newlib gprof cvssrc"
      ;;
    rs6000-*-aix*)
!     noconfigdirs="$noconfigdirs gprof"
!     # This is needed until gcc and ld are fixed to work together.
      use_gnu_ld=no
      ;;
    rs6000-*-*)
- --- 722,732 ----
      noconfigdirs="$noconfigdirs target-newlib gprof cvssrc"
      ;;
    rs6000-*-aix*)
!     # The configure and build of ld are currently disabled because
!     # GNU ld is known to be broken for AIX 4.2 and 4.3 (at least)
!     # The symptom is that GDBtk 4.18 fails at startup with a segfault
!     # if linked by GNU ld, but not if linked by the native ld.
!     noconfigdirs="$noconfigdirs gprof ld"
      use_gnu_ld=no
      ;;
    rs6000-*-*)



More information about the Binutils mailing list