[RFA] do not try large-files support by default on 32bit sparc-solaris
Andreas Schwab
schwab@suse.de
Tue Nov 11 16:03:00 GMT 2008
Joel Brobecker <brobecker@adacore.com> writes:
> Index: configure.in
> ===================================================================
> RCS file: /cvs/src/src/bfd/configure.in,v
> retrieving revision 1.247
> diff -u -p -r1.247 configure.in
> --- configure.in 6 Nov 2008 14:10:46 -0000 1.247
> +++ configure.in 11 Nov 2008 00:57:47 -0000
> @@ -22,6 +22,21 @@ AC_DISABLE_SHARED
> AC_PROG_CC
> AC_GNU_SOURCE
> AC_USE_SYSTEM_EXTENSIONS
> +
> +case "${target}" in
> + sparc-*-solaris*)
> + # On 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 "$enable_largefile" != 'yes'; then
> + enable_largefile="no"
> + fi
That should only be done in a native configuration.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list