This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFA] do not try large-files support by default on 32bit sparc-solaris
- From: Andreas Schwab <schwab at suse dot de>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: binutils at sources dot redhat dot com, kzeitler at alcatel-lucent dot com
- Date: Tue, 11 Nov 2008 17:03:00 +0100
- Subject: Re: [RFA] do not try large-files support by default on 32bit sparc-solaris
- References: <20081111011100.GN5175@adacore.com> <20081111153547.GI7609@adacore.com>
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."