From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25806 invoked by alias); 3 Dec 2014 17:59:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 25797 invoked by uid 89); 3 Dec 2014 17:59:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout28.012.net.il Received: from mtaout28.012.net.il (HELO mtaout28.012.net.il) (80.179.55.184) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 03 Dec 2014 17:58:59 +0000 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NG000B00PNT5L00@mtaout28.012.net.il> for gdb-patches@sourceware.org; Wed, 03 Dec 2014 19:56:30 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NG00027LPU67O90@mtaout28.012.net.il>; Wed, 03 Dec 2014 19:56:30 +0200 (IST) Date: Wed, 03 Dec 2014 17:59:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] configure gdb/gnulib with --disable-largefile if largefile support disabled. In-reply-to: <1417608509-15533-1-git-send-email-brobecker@adacore.com> To: Joel Brobecker Cc: gdb-patches@sourceware.org, yao@codesourcery.com Reply-to: Eli Zaretskii Message-id: <83h9xc62dw.fsf@gnu.org> References: <20141203104812.GA14666@adacore.com> <1417608509-15533-1-git-send-email-brobecker@adacore.com> X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00072.txt.bz2 > From: Joel Brobecker > Cc: Yao Qi > 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?