# HG changeset patch # User "Yann E. MORIN" # Date 1309297564 -7200 # Node ID e378a7ccc3454938a2d21d2fb4f181afdd6abe77 # Parent fe2c448bf3b7a312a59ed11002515c5f7fd282d5 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 Reviewed-by: Bryan Hundven Signed-off-by: "Yann E. MORIN" (transplanted from b24ead1a59472195f5b2071ff70664c36fa21c3f) diff -r fe2c448bf3b7 -r e378a7ccc345 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Fri May 27 22:02:30 2011 -0300 +++ b/scripts/build/cc/gcc.sh Tue Jun 28 23:46:04 2011 +0200 @@ -274,7 +274,6 @@ ${CC_CORE_SYSROOT_ARG} \ "${extra_config[@]}" \ --disable-nls \ - --enable-symvers=gnu \ --enable-languages="${lang_opt}" \ ${CT_CC_CORE_EXTRA_CONFIG} @@ -532,8 +531,6 @@ CT_DoLog DEBUG "Extra config passed: '${extra_config[*]}'" - # --enable-symvers=gnu really only needed for sh4 to work around a - # detection problem only matters for gcc-3.2.x and later, I think. # --disable-nls to work around crash bug on ppc405, but also because # embedded systems don't really need message catalogs... CT_DoExecLog CFG \ @@ -552,7 +549,6 @@ "${extra_config[@]}" \ --with-local-prefix="${CT_SYSROOT_DIR}" \ --disable-nls \ - --enable-symvers=gnu \ --enable-c99 \ --enable-long-long \ ${CT_CC_EXTRA_CONFIG}