From unknown Sun Aug 17 22:00:27 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7698 <7698@debbugs.gnu.org> To: bug#7698 <7698@debbugs.gnu.org> Subject: Status: aclocal generates too strict a check for name-lister Reply-To: bug#7698 <7698@debbugs.gnu.org> Date: Mon, 18 Aug 2025 05:00:27 +0000 retitle 7698 aclocal generates too strict a check for name-lister reassign 7698 automake submitter 7698 Ximin Luo severity 7698 normal tag 7698 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 04:31:02 2010 Received: (at submit) by debbugs.gnu.org; 21 Dec 2010 09:31:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PUyYf-0002eZ-Fw for submit@debbugs.gnu.org; Tue, 21 Dec 2010 04:31:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PUtAx-0001HG-Cg for submit@debbugs.gnu.org; Mon, 20 Dec 2010 22:46:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUtHF-0005lB-Fl for submit@debbugs.gnu.org; Mon, 20 Dec 2010 22:52:42 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:59534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUtHF-0005l6-DM for submit@debbugs.gnu.org; Mon, 20 Dec 2010 22:52:41 -0500 Received: from [140.186.70.92] (port=37057 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUtHE-0008QU-3S for bug-automake@gnu.org; Mon, 20 Dec 2010 22:52:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUtHD-0005km-2M for bug-automake@gnu.org; Mon, 20 Dec 2010 22:52:39 -0500 Received: from mailout-eu.gmx.com ([213.165.64.42]:58427) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PUtHC-0005kD-L5 for bug-automake@gnu.org; Mon, 20 Dec 2010 22:52:38 -0500 Received: (qmail invoked by alias); 21 Dec 2010 03:52:35 -0000 Received: from 188-221-169-139.zone12.bethere.co.uk (EHLO [192.168.1.65]) [188.221.169.139] by mail.gmx.com (mp-eu001) with SMTP; 21 Dec 2010 04:52:35 +0100 X-Authenticated: #66172369 X-Provags-ID: V01U2FsdGVkX181Xhk1fiw1Um9sWGQH6NjFY+uEIN7zu3+xLthwMD yzdmTrUhP4OIQm Message-ID: <4D102483.7080304@gmx.com> Date: Tue, 21 Dec 2010 03:52:35 +0000 From: Ximin Luo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: bug-automake@gnu.org Subject: aclocal generates too strict a check for name-lister X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 21 Dec 2010 04:31:00 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) I have a core2 system, and have been trying to compile GMP 5.0.1 optimised for other x86 CPUs, by doing (e.g.) $ ./configure --host=pentium4-$(./config.guess | cut -d- -f2-) However, these fail with an obscure error message about `link -dump -symbols` (see snippet 1). After a convoluted path of debugging, I've worked out that the cause is ./configure not detecting the presence of "/usr/bin/nm -B", in the case where $build != $host. The responsible code is the following snippet: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then which occurs twice in GMP 5.0.1's ./configure, and once in aclocal.m4, so the source seems to be automake's aclocal program. If you remove all occurrences of the second test, the build works fine. I have some test code at [1]. Note the WORKAROUND on line 232 - removing it will cause builds such as $ ./build-all-multi.sh pentium4 to fail when run on a core2. I don't know much about how automake works, but it seems to me that the check is too strict - nm shouldn't change with the CPU. If really necessary, maybe only the last part of $build/$host could be matched instead? Ximin [1] https://github.com/freenet/contrib-staging/blob/master/NativeBigInteger/build-all-multi.sh ----> snippet 1 <---- checking if globals are prefixed by underscore... link: invalid option -- 'd' Try `link --help' for more information. unknown configure: WARNING: +---------------------------------------------------------- configure: WARNING: | Cannot determine global symbol prefix. configure: WARNING: | link -dump -symbols output doesn't contain a global data symbol. configure: WARNING: | Will proceed with no underscore. configure: WARNING: | If this is wrong then you'll get link errors referring configure: WARNING: | to ___gmpn_add_n (note three underscores). configure: WARNING: | In this case do a fresh build with an override, configure: WARNING: | ./configure gmp_cv_asm_underscore=yes configure: WARNING: +---------------------------------------------------------- checking how to switch to read-only data section... .section .rodata checking for assembler .type directive... .type $1,@$2 checking for assembler .size directive... .size $1,$2 checking for assembler local label prefix... configure: WARNING: "link -dump -symbols" failure configure: WARNING: cannot determine local label, using default L L checking for assembler byte directive... .byte checking how to define a 32-bit word... link: invalid option -- 'd' Try `link --help' for more information. link: invalid option -- 'd' Try `link --help' for more information. configure: error: cannot determine how to define a 32-bit word Failed to configure for libjbigi-linux-pentium4; maybe it isn't supported on your build environment. Error building libjbigi-linux-pentium4! -- GPG: 4096R/5FBBDBCE From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 08:29:54 2010 Received: (at 7698) by debbugs.gnu.org; 21 Dec 2010 13:29:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV2Hp-00018q-IN for submit@debbugs.gnu.org; Tue, 21 Dec 2010 08:29:53 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV2Hm-00018e-PN for 7698@debbugs.gnu.org; Tue, 21 Dec 2010 08:29:51 -0500 Received: by wyf23 with SMTP id 23so4064131wyf.3 for <7698@debbugs.gnu.org>; Tue, 21 Dec 2010 05:36:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:mime-version:content-type:content-transfer-encoding :message-id; bh=gyi2vegMGsOzkLxSizC39BdH0XCpuN3S8nkJ+pqq/n4=; b=gpmXyQ+9GVXEckZoqq/5C8iflEajTHPEQIPjbpQEA5tuodXlAatJWngPVYooa3YgNK qgYsdFa79Jy0vOZg24En5jPJwHy0yAZe+2siU22NS1IONEPF6p/CvMOlp8zHDStOxMY6 0Mv5IpWyTzbW0atEDcBMDxAj1hNF+hEG0DUDI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:mime-version:content-type :content-transfer-encoding:message-id; b=Qq/b2Yi/NAB7l3dBV5XAE/NF77w6PZz8xk6zat6JyKxRFqe3OI5vfEvpua6v7V+sUv 0oo5HeMr6IPLl3DUBKKjiB+v83LFMS1UYBk9m6qDcQyZRwvpViNFnFDS5p+Vb2SyfYPV A96MMMYJr8B/SDV0zmfGnCiZvsB4MMBIbE6Rg= Received: by 10.216.155.75 with SMTP id i53mr5865675wek.27.1292938582408; Tue, 21 Dec 2010 05:36:22 -0800 (PST) Received: from bigio.localnet (host81-43-dynamic.48-82-r.retail.telecomitalia.it [82.48.43.81]) by mx.google.com with ESMTPS id j49sm1294463wer.38.2010.12.21.05.36.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Dec 2010 05:36:21 -0800 (PST) From: Stefano Lattarini To: 7698@debbugs.gnu.org Subject: Re: bug#7698: aclocal generates too strict a check for name-lister Date: Tue, 21 Dec 2010 14:36:02 +0100 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201012211436.03483.stefano.lattarini@gmail.com> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 7698 Cc: Ximin Luo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) Hello Ximin [I hope this will work; I'm answering by cut & pasting from the debbugs web interface, since the bug report didn't make it to me through mail.] > I have a core2 system, and have been trying to compile GMP 5.0.1 > optimised for other x86 CPUs, by doing (e.g.) > $ ./configure --host=pentium4-$(./config.guess | cut -d- -f2-) > > However, these fail with an obscure error message about `link -dump -symbols` > (see snippet 1). After a convoluted path of debugging, I've worked out that > the cause is ./configure not detecting the presence of "/usr/bin/nm -B", in > the case where $build != $host. > > The responsible code is the following snippet: > if test -n "$ac_tool_prefix" && test "$build" = "$host"; then > > which occurs twice in GMP 5.0.1's ./configure, and once in aclocal.m4, so > the source seems to be automake's aclocal program. > There's a misunderstanding here. While aclocal indeed generates aclocal.m4, it does so by copying macro definitions provided either by automake or by third-parts packages. To put it differently: aclocal's work is *not* to directly provide any macro definition, but only to *retrieve* definitions of macros required by configure.ac, and make such definitions available to autconf. It does so by copying those definition in aclocal.m4 (basically). See the automake manual for more information: The bug you're hitting must be located in a third-part macro, since no automake-provided macro do something similar to that. And in fact, it seems to come from GMP-5.0.1's own acinclude.m4 (which is *not* the same as aclocal.m4! see the automake manual for more info): $ cd /tmp/gmp-5.0.1 $ grep -r '___gmpn_add_n (note three underscores)' . ./acinclude.m4: AC_MSG_WARN([| to ___gmpn_add_n (note three underscores).]) ./configure: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | to ___gmpn_add_n (note three underscores)." >&5 ./configure:$as_echo "$as_me: WARNING: | to ___gmpn_add_n (note three underscores)." >&2;} So you should report your issue to the GMP bug tracker. For what concerns the automake bug tracker, I'm closing the bug as invalid. HTH, Stefano From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 08:32:17 2010 Received: (at control) by debbugs.gnu.org; 21 Dec 2010 13:32:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV2K9-0001EQ-AR for submit@debbugs.gnu.org; Tue, 21 Dec 2010 08:32:17 -0500 Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV2K6-0001E1-Uh for control@debbugs.gnu.org; Tue, 21 Dec 2010 08:32:15 -0500 Received: by wyf23 with SMTP id 23so4066440wyf.3 for ; Tue, 21 Dec 2010 05:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=T1lP4GW50hR+VutsJRE0Yme5khoz1yoX04pOZm9uTzk=; b=wKeqT1piGxN1B6s+Pa71xun692ZyjLL6flFlS8+MRfaDOe38Bw43fnfkrYOMKlTVlm fLeYYHRCcIH80kkDzYnsDCWzfC4ELB8wkELY4LP0rnZ1+7bUytHijSDgEtr6H6aiSC5/ hilznYzl0GssjUxQ3zIb8xVWGPKZCeqJR6eEU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=mnYIKdd6DQlrVqyfb27GMqJuz8eZYZGq+hQCuU9aJF4tttdH/uEUuRLOW+BtBMRl+F +M+DPJBR4WgrPyCFBqFzfPxXvKB343zM25coZRNQllgsSbT//WSkHz8HoKksZKCH/cMi wQ4odhwMlEjMf9vB0rJKVYrbz4XvrNujI6pHk= Received: by 10.227.196.78 with SMTP id ef14mr3430136wbb.165.1292938726710; Tue, 21 Dec 2010 05:38:46 -0800 (PST) Received: from bigio.localnet (host81-43-dynamic.48-82-r.retail.telecomitalia.it [82.48.43.81]) by mx.google.com with ESMTPS id 11sm3595801wbj.1.2010.12.21.05.38.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Dec 2010 05:38:46 -0800 (PST) From: Stefano Lattarini To: control@debbugs.gnu.org Subject: automake bug#7698 Date: Tue, 21 Dec 2010 14:38:35 +0100 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201012211438.36377.stefano.lattarini@gmail.com> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) tags 7698 notabug close 7698 thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 14:27:36 2010 Received: (at 7698) by debbugs.gnu.org; 21 Dec 2010 19:27:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PV7rz-0001yz-Dr for submit@debbugs.gnu.org; Tue, 21 Dec 2010 14:27:36 -0500 Received: from mailout-eu.gmx.com ([213.165.64.42]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PV3rE-0004B4-Ob for 7698@debbugs.gnu.org; Tue, 21 Dec 2010 10:10:34 -0500 Received: (qmail invoked by alias); 21 Dec 2010 15:17:03 -0000 Received: from 188-221-169-139.zone12.bethere.co.uk (EHLO [192.168.1.65]) [188.221.169.139] by mail.gmx.com (mp-eu003) with SMTP; 21 Dec 2010 16:17:03 +0100 X-Authenticated: #66172369 X-Provags-ID: V01U2FsdGVkX18xye0/2ugxHfPZJNedbSA50E60Bag6NgO8y+6Yx7 UXy2FNnvnPxmXw Message-ID: <4D10C4EA.1010703@gmx.com> Date: Tue, 21 Dec 2010 15:16:58 +0000 From: Ximin Luo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: Stefano Lattarini Subject: Re: bug#7698: aclocal generates too strict a check for name-lister References: <201012211436.03483.stefano.lattarini@gmail.com> In-Reply-To: <201012211436.03483.stefano.lattarini@gmail.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -4.3 (----) X-Debbugs-Envelope-To: 7698 X-Mailman-Approved-At: Tue, 21 Dec 2010 14:27:34 -0500 Cc: 7698@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.7 (---) On 21/12/10 13:36, Stefano Lattarini wrote: > The bug you're hitting must be located in a third-part macro, since no > automake-provided macro do something similar to that. And in fact, it > seems to come from GMP-5.0.1's own acinclude.m4 (which is *not* the same > as aclocal.m4! see the automake manual for more info): > > $ cd /tmp/gmp-5.0.1 > $ grep -r '___gmpn_add_n (note three underscores)' . > ./acinclude.m4: AC_MSG_WARN([| to ___gmpn_add_n (note three underscores).]) > ./configure: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: | to ___gmpn_add_n (note three underscores)." >&5 > ./configure:$as_echo "$as_me: WARNING: | to ___gmpn_add_n (note three underscores)." >&2;} > > So you should report your issue to the GMP bug tracker. > Ah OK, thanks for the information. :) I'll explore this further and report it to GMP. Ximin -- GPG: 4096R/5FBBDBCE From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 21 20:44:42 2010 Received: (at 7698) by debbugs.gnu.org; 22 Dec 2010 01:44:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVDkv-0001rL-Tz for submit@debbugs.gnu.org; Tue, 21 Dec 2010 20:44:42 -0500 Received: from mail.lysator.liu.se ([130.236.254.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVCtW-0000ai-BR for 7698@debbugs.gnu.org; Tue, 21 Dec 2010 19:49:31 -0500 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id B27D440036; Wed, 22 Dec 2010 01:56:02 +0100 (CET) Received: from [192.168.0.33] (h57n3fls301o1095.telia.com [81.230.178.57]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTP id 5FAB54002D; Wed, 22 Dec 2010 01:56:00 +0100 (CET) Message-ID: <4D114C9F.7080600@lysator.liu.se> Date: Wed, 22 Dec 2010 01:55:59 +0100 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Stefano Lattarini Subject: Re: bug#7698: aclocal generates too strict a check for name-lister References: <4D102483.7080304@gmx.com> <201012211436.03483.stefano.lattarini@gmail.com> In-Reply-To: <201012211436.03483.stefano.lattarini@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7698 X-Mailman-Approved-At: Tue, 21 Dec 2010 20:44:40 -0500 Cc: Ximin Luo , 7698@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Den 2010-12-21 14:36 skrev Stefano Lattarini: > Hello Ximin > > [I hope this will work; I'm answering by cut & pasting from the > debbugs web interface, since the bug report didn't make it to me > through mail.] > >> I have a core2 system, and have been trying to compile GMP 5.0.1 >> optimised for other x86 CPUs, by doing (e.g.) >> $ ./configure --host=pentium4-$(./config.guess | cut -d- -f2-) >> >> However, these fail with an obscure error message about `link -dump -symbols` >> (see snippet 1). After a convoluted path of debugging, I've worked out that >> the cause is ./configure not detecting the presence of "/usr/bin/nm -B", in >> the case where $build != $host. >> >> The responsible code is the following snippet: >> if test -n "$ac_tool_prefix" && test "$build" = "$host"; then >> >> which occurs twice in GMP 5.0.1's ./configure, and once in aclocal.m4, so >> the source seems to be automake's aclocal program. >> > There's a misunderstanding here. While aclocal indeed generates aclocal.m4, > it does so by copying macro definitions provided either by automake or by > third-parts packages. FWIW, It smells exactly like a bug that was fixed in libtool 2.2.8 related to this NEWS entry: - Fix 2.1b regression that caused nm to not be the default name lister. The regression affected mainly (arguably broken) cross compiles. Cheers, Peter From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 06:09:47 2010 Received: (at 7698) by debbugs.gnu.org; 22 Dec 2010 11:09:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVMZm-0006FI-Pw for submit@debbugs.gnu.org; Wed, 22 Dec 2010 06:09:47 -0500 Received: from mailout-eu.gmx.com ([213.165.64.42]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PVKXh-0003Lb-Ko for 7698@debbugs.gnu.org; Wed, 22 Dec 2010 03:59:30 -0500 Received: (qmail invoked by alias); 22 Dec 2010 09:06:02 -0000 Received: from 188-221-169-139.zone12.bethere.co.uk (EHLO [192.168.1.65]) [188.221.169.139] by mail.gmx.com (mp-eu005) with SMTP; 22 Dec 2010 10:06:02 +0100 X-Authenticated: #66172369 X-Provags-ID: V01U2FsdGVkX1/AHxI0ISHAq2gcXPBDniPuAqtKuj5mT2L+GTya3U UVqQ0QReWAyYwz Message-ID: <4D11BF79.6050906@gmx.com> Date: Wed, 22 Dec 2010 09:06:01 +0000 From: Ximin Luo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: Peter Rosin Subject: Re: bug#7698: aclocal generates too strict a check for name-lister References: <4D102483.7080304@gmx.com> <201012211436.03483.stefano.lattarini@gmail.com> <4D114C9F.7080600@lysator.liu.se> In-Reply-To: <4D114C9F.7080600@lysator.liu.se> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 7698 X-Mailman-Approved-At: Wed, 22 Dec 2010 06:09:44 -0500 Cc: Stefano Lattarini , 7698@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) On 22/12/10 00:55, Peter Rosin wrote: > FWIW, It smells exactly like a bug that was fixed in libtool 2.2.8 related > to this NEWS entry: I did some more poking around - this bug is in libtool, but not the one you mention. The "responsible snippet" I pasted above is from libtool.m4, and it exists in both 2.2.6 (what I have) and 2.2.10 (I checked the debian package from experimental). I've sent a mail to bug-libtool@gnu.org. X -- GPG: 4096R/5FBBDBCE From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 22 17:45:33 2010 Received: (at 7698) by debbugs.gnu.org; 22 Dec 2010 22:45:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVXR5-0005OB-MZ for submit@debbugs.gnu.org; Wed, 22 Dec 2010 17:45:32 -0500 Received: from mail.lysator.liu.se ([130.236.254.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PVXR3-0005Nx-CR for 7698@debbugs.gnu.org; Wed, 22 Dec 2010 17:45:30 -0500 Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id 2291B4003D; Wed, 22 Dec 2010 23:52:04 +0100 (CET) Received: from [192.168.0.33] (h57n3fls301o1095.telia.com [81.230.178.57]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTP id CFA2D4003B; Wed, 22 Dec 2010 23:52:03 +0100 (CET) Message-ID: <4D128113.5060504@lysator.liu.se> Date: Wed, 22 Dec 2010 23:52:03 +0100 From: Peter Rosin User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Ximin Luo Subject: Re: bug#7698: aclocal generates too strict a check for name-lister References: <4D102483.7080304@gmx.com> <201012211436.03483.stefano.lattarini@gmail.com> <4D114C9F.7080600@lysator.liu.se> <4D11BF79.6050906@gmx.com> In-Reply-To: <4D11BF79.6050906@gmx.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7698 Cc: Stefano Lattarini , 7698@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Den 2010-12-22 10:06 skrev Ximin Luo: > On 22/12/10 00:55, Peter Rosin wrote: >> FWIW, It smells exactly like a bug that was fixed in libtool 2.2.8 related >> to this NEWS entry: > > I did some more poking around - this bug is in libtool, but not the one you > mention. The "responsible snippet" I pasted above is from libtool.m4, and it > exists in both 2.2.6 (what I have) and 2.2.10 (I checked the debian package > from experimental). I've sent a mail to bug-libtool@gnu.org. Well, since I do not see any message on bug-libtool (yet), I'll respond here. Your quoted "responsible snippet" is not really responsible, methinks. The bug I mentioned was that when cross-compiling and yet expecting to find a name lister that is not named as cross tools are normally named (i.e. relying on 'nm' instead of 'pentium4-foo-bar-nm') libtool would go with the 'link' program instead of falling back to 'nm'. In the good old days, before libtool could use 'link' (not the 'link' you have, another proprietary 'link') to find symbols, libtool did fall back to 'nm' in setups such as yours, and that regression was fixed in 2.2.8. This is exactly what seems to be happening to you, so I can only encourage you to try with a more recent libtool. Or, if you find it difficult to update libtool, install a 'pentium4-foo-bar-nm' where your current libtool will find it, perhaps as a symlink to '/usr/bin/nm'. Cheers, Peter From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 25 09:02:47 2010 Received: (at 7698) by debbugs.gnu.org; 25 Dec 2010 14:02:47 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PWUhr-0005X0-BD for submit@debbugs.gnu.org; Sat, 25 Dec 2010 09:02:47 -0500 Received: from mailout-eu.gmx.com ([213.165.64.42]) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1PWUhp-0005Wn-CQ for 7698@debbugs.gnu.org; Sat, 25 Dec 2010 09:02:46 -0500 Received: (qmail invoked by alias); 25 Dec 2010 14:09:26 -0000 Received: from 46-64-93-174.zone15.bethere.co.uk (EHLO [192.168.1.64]) [46.64.93.174] by mail.gmx.com (mp-eu001) with SMTP; 25 Dec 2010 15:09:26 +0100 X-Authenticated: #66172369 X-Provags-ID: V01U2FsdGVkX1+wXQtebdaw5evQVOTXNiOyYF8xdxKPB6Y4diNRmw R6tkPS6Bp9O0rk Message-ID: <4D15FB15.2020708@gmx.com> Date: Sat, 25 Dec 2010 14:09:25 +0000 From: Ximin Luo User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Icedove/3.0.10 MIME-Version: 1.0 To: Peter Rosin Subject: Re: bug#7698: aclocal generates too strict a check for name-lister References: <4D102483.7080304@gmx.com> <201012211436.03483.stefano.lattarini@gmail.com> <4D114C9F.7080600@lysator.liu.se> <4D11BF79.6050906@gmx.com> <4D128113.5060504@lysator.liu.se> In-Reply-To: <4D128113.5060504@lysator.liu.se> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 7698 Cc: Stefano Lattarini , 7698@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 22/12/10 22:52, Peter Rosin wrote: > Well, since I do not see any message on bug-libtool (yet), I'll respond here. > > Your quoted "responsible snippet" is not really responsible, methinks. > > The bug I mentioned was that when cross-compiling and yet expecting to find > a name lister that is not named as cross tools are normally named (i.e. > relying on 'nm' instead of 'pentium4-foo-bar-nm') libtool would go with the > 'link' program instead of falling back to 'nm'. In the good old days, before > libtool could use 'link' (not the 'link' you have, another proprietary 'link') > to find symbols, libtool did fall back to 'nm' in setups such as yours, > and that regression was fixed in 2.2.8. This is exactly what seems to be > happening to you, so I can only encourage you to try with a more recent > libtool. Or, if you find it difficult to update libtool, install a > 'pentium4-foo-bar-nm' where your current libtool will find it, perhaps as a > symlink to '/usr/bin/nm'. > > Cheers, > Peter The full snippet (libtool.m4) is: if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi This fails for e.g. { build=i686-pc-linux-gnu host=i486-pc-linux-gnu }, or { build=core2-pc-linux-gnu host=athlon64-pc-linux-gnu }, but this is too strict and unnecessary, because they still use the same object file format. (I'm not an expert in this area, so I may be wrong here, but from what I know, I believe I'm right.) (This is still true for libtool 2.2.10. The commit you made, `git show 032d3cc9c17b51649153f51c50d1586774799cbd`, aims to work around it in another way, but I think my suggestion is a more "direct" fix to the problem.) X -- GPG: 4096R/5FBBDBCE From unknown Sun Aug 17 22:00:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 23 Jan 2011 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator