cc/gcc: remove --enable-symver option 1.11
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 28 23:46:04 2011 +0200 (2011-06-28)
branch1.11
changeset 2554e378a7ccc345
parent 2553 fe2c448bf3b7
child 2555 cb36b0091671
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>
(transplanted from b24ead1a59472195f5b2071ff70664c36fa21c3f)
scripts/build/cc/gcc.sh
     1.1 --- a/scripts/build/cc/gcc.sh	Fri May 27 22:02:30 2011 -0300
     1.2 +++ b/scripts/build/cc/gcc.sh	Tue Jun 28 23:46:04 2011 +0200
     1.3 @@ -274,7 +274,6 @@
     1.4          ${CC_CORE_SYSROOT_ARG}                      \
     1.5          "${extra_config[@]}"                        \
     1.6          --disable-nls                               \
     1.7 -        --enable-symvers=gnu                        \
     1.8          --enable-languages="${lang_opt}"            \
     1.9          ${CT_CC_CORE_EXTRA_CONFIG}
    1.10  
    1.11 @@ -532,8 +531,6 @@
    1.12  
    1.13      CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'"
    1.14  
    1.15 -    # --enable-symvers=gnu really only needed for sh4 to work around a
    1.16 -    # detection problem only matters for gcc-3.2.x and later, I think.
    1.17      # --disable-nls to work around crash bug on ppc405, but also because
    1.18      # embedded systems don't really need message catalogs...
    1.19      CT_DoExecLog CFG                                \
    1.20 @@ -552,7 +549,6 @@
    1.21          "${extra_config[@]}"                        \
    1.22          --with-local-prefix="${CT_SYSROOT_DIR}"     \
    1.23          --disable-nls                               \
    1.24 -        --enable-symvers=gnu                        \
    1.25          --enable-c99                                \
    1.26          --enable-long-long                          \
    1.27          ${CT_CC_EXTRA_CONFIG}