patches/binutils/2.20/250-arm-eabi-conf.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 28 23:46:04 2011 +0200 (2011-06-28)
changeset 2519 b24ead1a5947
permissions -rw-r--r--
cc/gcc: remove --enable-symver option

That option is coming from the original crosstool, and is not entirely
understand here.

Moreover, it breaks with newer gcc-s: 4.6.1 now breaks while configuring
libjava (and probably some other libs as well, untested).

There is an related bug report to the gcc BZ:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49555

If need be, the old behavior can be restored with:
CC_CORE_EXTRA_CONFIG_ARRAY="--enable-symver=gnu"
CC_EXTRA_CONFIG_ARRAY="--enable-symver=gnu"

Reported-by: Bryan Hundven <bryanhundven@gmail.com>
Reviewed-by: Bryan Hundven <bryanhundven@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
jocke@1700
     1
diff -u binutils-2.20.orig/configure binutils-2.20/configure
jocke@1700
     2
--- binutils-2.20.orig/configure	2010-01-05 11:15:44.000000000 +0100
jocke@1700
     3
+++ binutils-2.20/configure	2010-01-05 12:25:41.000000000 +0100
jocke@1700
     4
@@ -3086,7 +3086,7 @@
jocke@1700
     5
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
jocke@1700
     6
     libgloss_dir=arm
jocke@1700
     7
     ;;
jocke@1700
     8
-  arm*-*-linux-gnueabi)
jocke@1700
     9
+  arm*-*-linux-*gnueabi)
jocke@1700
    10
     noconfigdirs="$noconfigdirs target-qthreads"
jocke@1700
    11
     case ${with_newlib} in
jocke@1700
    12
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
jocke@1700
    13
diff -u binutils-2.20.orig/configure.ac binutils-2.20/configure.ac
jocke@1700
    14
--- binutils-2.20.orig/configure.ac	2010-01-05 11:15:44.000000000 +0100
jocke@1700
    15
+++ binutils-2.20/configure.ac	2010-01-05 12:25:51.000000000 +0100
jocke@1700
    16
@@ -573,7 +573,7 @@
jocke@1700
    17
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
jocke@1700
    18
     libgloss_dir=arm
jocke@1700
    19
     ;;
jocke@1700
    20
-  arm*-*-linux-gnueabi)
jocke@1700
    21
+  arm*-*-linux-*gnueabi)
jocke@1700
    22
     noconfigdirs="$noconfigdirs target-qthreads"
jocke@1700
    23
     case ${with_newlib} in
jocke@1700
    24
       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"