From mboxrd@z Thu Jan 1 00:00:00 1970 From: tg@gmplib.org (=?utf-8?Q?Torbj=C3=B6rn?= Granlund) Subject: Re: GMP 6.1.0 without assembly lacks =?utf-8?Q?=E2=80=98=5F=5Fgmp?= =?utf-8?Q?n=5Finvert=5Flib=E2=80=99?= on ARM Date: Thu, 17 Dec 2015 02:07:59 +0100 Message-ID: <86wpsdkhlc.fsf@shell.gmplib.org> References: <877fkeaaxd.fsf@gnu.org> <86h9ji1r8k.fsf@shell.gmplib.org> <87fuz2587z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9N37-0000zz-Df for Guix-devel@gnu.org; Wed, 16 Dec 2015 20:08:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9N33-0004wy-3k for Guix-devel@gnu.org; Wed, 16 Dec 2015 20:08:05 -0500 In-Reply-To: <87fuz2587z.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Wed\, 16 Dec 2015 23\:39\:28 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel , gmp-bugs@gmplib.org ludo@gnu.org (Ludovic Court=C3=A8s) writes: The undefined references come up when linking for instance GCC against GMP: =20=20 .../build/./gmp/.libs/libgmp.a(powm_ui.o): In function `__gmpz_powm_ui': .../build/gmp/mpz/../../../gcc-4.9.3/gmp/mpz/powm_ui.c:162: undefined ref= erence to `__gmpn_invert_limb' =20=20 > It also puzzles me that you would get link errors given that > __gmpn_invert_limb is defined in your libgmp.a. =20=20 Sorry, I pasted the =E2=80=9Cwrong=E2=80=9D one. Here=E2=80=99s what I h= ave for a no-asm build: =20=20 Ok, but these are both __gmpn_invert_limb. $ nm /gnu/store/924bg8ws2fkk4z0bifzkqg5d57pgc4w1-gmp-6.1.0/lib/libgmp.a|g= rep invert_limb 00000000 R __gmp_binvert_limb_table U __gmp_binvert_limb_table U __gmp_binvert_limb_table U __gmp_binvert_limb_table U __gmp_binvert_limb_table =20=20 OK, so here we have a different defined and referenced symbol. In what way is that relevant for the linker error above? I hope this clarifies things. =20=20 Unfortunately, no. This is wasting everyone's time. Here is how: http://lmgtfy.com/?q=3Dgmp+reporting+bugs --=20 Torbj=C3=B6rn Please encrypt, key id 0xC8601622