This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] configure gdb/gnulib with --disable-largefile if largefile support disabled.


> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Yao Qi <yao@codesourcery.com>
> Date: Wed,  3 Dec 2014 07:08:29 -0500
> 
> |   sparc-*-solaris*|i[3-7]86-*-solaris*)
> | changequote([,])dnl
> |     # On native 32bit sparc and ia32 solaris, large-file and procfs support
> |     # are mutually exclusive; and without procfs support, the bfd/ 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.
> |     test "${target}" = "${host}" -a "x$plugins" = xno \
> |       && : ${enable_largefile="no"}
> |     ;;
> 
> But gnulib ignores this fact, and so tries to determine how to
> enable large-file support irrespective of whether we want it or not.
> This patch fixes the issue by passing --disable-largefile to gnulib's
> configure when large-file support in GDB is disabled. This is done
> by first enhancing ACX_CONFIGURE_DIR to allow us to pass extra
> arguments to be passed to the configure command, and then by modifying
> GDB's configure to pass --disable-largefile if large-file support
> is disabled.

Shouldn't this be reported to gnulib folks and preferably fixed there?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]