mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-01 02:55:39 +08:00
libgo/configure: remove -fno-section-anchors for AIX
This option is no longer needed. There is no crash without it since at least gcc-9. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/260157
This commit is contained in:
parent
89d3af5ef7
commit
45376dc0f4
@ -1,4 +1,4 @@
|
||||
762b74a56f7ca102a5b8da1c9d0ffce592caa46b
|
||||
2563706e4ead80d6906d66ae23c8915c360583ad
|
||||
|
||||
The first line of this file holds the git revision number of the last
|
||||
merge done from the gofrontend repository.
|
||||
|
8
libgo/configure
vendored
8
libgo/configure
vendored
@ -4711,10 +4711,6 @@ fi
|
||||
|
||||
case ${host} in
|
||||
*-*-aix*)
|
||||
# static hash tables crashes on AIX when libgo is built with O2
|
||||
CFLAGS="$CFLAGS -fno-section-anchors"
|
||||
GOCFLAGS="$GOCFLAGS -fno-section-anchors"
|
||||
|
||||
# Check default architecture for FAT library creation
|
||||
if test -z "`$CC -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then
|
||||
AIX_EXTRA_ARCH='64'
|
||||
@ -11501,7 +11497,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11504 "configure"
|
||||
#line 11500 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11607,7 +11603,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11610 "configure"
|
||||
#line 11606 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -33,10 +33,6 @@ AC_SUBST(CFLAGS)
|
||||
|
||||
case ${host} in
|
||||
*-*-aix*)
|
||||
# static hash tables crashes on AIX when libgo is built with O2
|
||||
CFLAGS="$CFLAGS -fno-section-anchors"
|
||||
GOCFLAGS="$GOCFLAGS -fno-section-anchors"
|
||||
|
||||
# Check default architecture for FAT library creation
|
||||
if test -z "`$CC -x c -E /dev/null -g3 -o - | grep 64BIT`" ; then
|
||||
AIX_EXTRA_ARCH='64'
|
||||
|
Loading…
Reference in New Issue
Block a user