From: tg@gmplib.org (Torbjörn Granlund)
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <Guix-devel@gnu.org>, gmp-bugs@gmplib.org
Subject: Re: GMP 6.1.0 without assembly lacks ‘__gmpn_invert_lib’ on ARM
Date: Thu, 17 Dec 2015 02:07:59 +0100 [thread overview]
Message-ID: <86wpsdkhlc.fsf@shell.gmplib.org> (raw)
In-Reply-To: <87fuz2587z.fsf@gnu.org> ("Ludovic Courtès"'s message of "Wed\, 16 Dec 2015 23\:39\:28 +0100")
ludo@gnu.org (Ludovic Courtès) writes:
The undefined references come up when linking for instance GCC against
GMP:
.../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 reference to `__gmpn_invert_limb'
> It also puzzles me that you would get link errors given that
> __gmpn_invert_limb is defined in your libgmp.a.
Sorry, I pasted the “wrong” one. Here’s what I have for a no-asm build:
Ok, but these are both __gmpn_invert_limb.
$ nm /gnu/store/924bg8ws2fkk4z0bifzkqg5d57pgc4w1-gmp-6.1.0/lib/libgmp.a|grep 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
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.
Unfortunately, no.
This is wasting everyone's time. Here is how:
http://lmgtfy.com/?q=gmp+reporting+bugs
--
Torbjörn
Please encrypt, key id 0xC8601622
next prev parent reply other threads:[~2015-12-17 1:08 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 11:29 GMP 6.1.0 without assembly lacks ‘__gmpn_invert_lib’ on ARM Ludovic Courtès
2015-12-16 13:02 ` Torbjörn Granlund
2015-12-16 22:39 ` Ludovic Courtès
2015-12-17 1:07 ` Torbjörn Granlund [this message]
2015-12-17 21:45 ` Christopher Allan Webber
2015-12-17 21:48 ` On being welcoming Ludovic Courtès
2015-12-18 4:25 ` Mike Mohr
2015-12-18 15:51 ` Niels Möller
2015-12-18 19:04 ` Torbjörn Granlund
2015-12-19 17:21 ` Mike Mohr
[not found] ` <nn1tajiwlk.fsf@armitage.lysator.liu.se>
2015-12-18 19:09 ` Christopher Allan Webber
2015-12-18 10:01 ` Niels Möller
[not found] ` <nnlh8shy7c.fsf@armitage.lysator.liu.se>
2015-12-18 14:45 ` Ludovic Courtès
[not found] ` <87mvt7lsrm.fsf@gnu.org>
2015-12-18 15:29 ` Niels Möller
2015-12-18 16:53 ` Christopher Allan Webber
2015-12-18 23:14 ` GMP 6.1.0 without assembly lacks ‘__gmpn_invert_lib’ on ARM Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86wpsdkhlc.fsf@shell.gmplib.org \
--to=tg@gmplib.org \
--cc=Guix-devel@gnu.org \
--cc=gmp-bugs@gmplib.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.