mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
* configure.in: Deactivate large-file support on native 32bit
sparc-solaris unless the user explicitly requested it. * configure: Regenerate.
This commit is contained in:
parent
06be140c21
commit
08c13eba50
@ -1,3 +1,9 @@
|
||||
2008-11-13 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* configure.in: Deactivate large-file support on native 32bit
|
||||
sparc-solaris unless the user explicitly requested it.
|
||||
* configure: Regenerate.
|
||||
|
||||
2008-11-13 Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
PR ld/7028
|
||||
|
43
bfd/configure
vendored
43
bfd/configure
vendored
@ -4934,6 +4934,21 @@ _ACEOF
|
||||
_ACEOF
|
||||
|
||||
|
||||
|
||||
case "${target}" in
|
||||
sparc-*-solaris*)
|
||||
# On native 32bit sparc-solaris, large-file and procfs support are
|
||||
# mutually exclusive; and without procfs support, the elf module
|
||||
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||
# large-file support through the --enable-largefile switch, disable
|
||||
# large-file support in favor of procfs support.
|
||||
if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
|
||||
enable_largefile="no"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Check whether --enable-largefile or --disable-largefile was given.
|
||||
if test "${enable_largefile+set}" = set; then
|
||||
enableval="$enable_largefile"
|
||||
@ -5705,13 +5720,13 @@ if test "${lt_cv_nm_interface+set}" = set; then
|
||||
else
|
||||
lt_cv_nm_interface="BSD nm"
|
||||
echo "int some_variable = 0;" > conftest.$ac_ext
|
||||
(eval echo "\"\$as_me:5708: $ac_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:5723: $ac_compile\"" >&5)
|
||||
(eval "$ac_compile" 2>conftest.err)
|
||||
cat conftest.err >&5
|
||||
(eval echo "\"\$as_me:5711: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||
(eval echo "\"\$as_me:5726: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
|
||||
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
|
||||
cat conftest.err >&5
|
||||
(eval echo "\"\$as_me:5714: output\"" >&5)
|
||||
(eval echo "\"\$as_me:5729: output\"" >&5)
|
||||
cat conftest.out >&5
|
||||
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
|
||||
lt_cv_nm_interface="MS dumpbin"
|
||||
@ -6868,7 +6883,7 @@ ia64-*-hpux*)
|
||||
;;
|
||||
*-*-irix6*)
|
||||
# Find out which ABI we are using.
|
||||
echo '#line 6871 "configure"' > conftest.$ac_ext
|
||||
echo '#line 6886 "configure"' > conftest.$ac_ext
|
||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||
(eval $ac_compile) 2>&5
|
||||
ac_status=$?
|
||||
@ -8144,11 +8159,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:8147: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:8162: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:8151: \$? = $ac_status" >&5
|
||||
echo "$as_me:8166: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -8483,11 +8498,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:8486: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:8501: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>conftest.err)
|
||||
ac_status=$?
|
||||
cat conftest.err >&5
|
||||
echo "$as_me:8490: \$? = $ac_status" >&5
|
||||
echo "$as_me:8505: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
# So say no if there are warnings other than the usual output.
|
||||
@ -8588,11 +8603,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:8591: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:8606: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:8595: \$? = $ac_status" >&5
|
||||
echo "$as_me:8610: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@ -8643,11 +8658,11 @@ else
|
||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||
-e 's:$: $lt_compiler_flag:'`
|
||||
(eval echo "\"\$as_me:8646: $lt_compile\"" >&5)
|
||||
(eval echo "\"\$as_me:8661: $lt_compile\"" >&5)
|
||||
(eval "$lt_compile" 2>out/conftest.err)
|
||||
ac_status=$?
|
||||
cat out/conftest.err >&5
|
||||
echo "$as_me:8650: \$? = $ac_status" >&5
|
||||
echo "$as_me:8665: \$? = $ac_status" >&5
|
||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||
then
|
||||
# The compiler can only warn and ignore the option if not recognized
|
||||
@ -11440,7 +11455,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11443 "configure"
|
||||
#line 11458 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
@ -11536,7 +11551,7 @@ else
|
||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11539 "configure"
|
||||
#line 11554 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -22,6 +22,21 @@ AC_DISABLE_SHARED
|
||||
AC_PROG_CC
|
||||
AC_GNU_SOURCE
|
||||
AC_USE_SYSTEM_EXTENSIONS
|
||||
|
||||
case "${target}" in
|
||||
sparc-*-solaris*)
|
||||
# On native 32bit sparc-solaris, large-file and procfs support are
|
||||
# mutually exclusive; and without procfs support, the elf module
|
||||
# cannot provide certain routines such as elfcore_write_prpsinfo
|
||||
# or elfcore_write_prstatus. So unless the user explicitly requested
|
||||
# large-file support through the --enable-largefile switch, disable
|
||||
# large-file support in favor of procfs support.
|
||||
if test "${target}" = "${host}" -a "$enable_largefile" != 'yes'; then
|
||||
enable_largefile="no"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_SYS_LARGEFILE
|
||||
|
||||
LT_INIT
|
||||
|
Loading…
Reference in New Issue
Block a user