[yocto] [meta-gplv2][PATCH] gmp_4.2.1: prevent calls to mpn_add_nc() if HAVE_NATIVE_mpn_sub_nc is false
Andre McCurdy
armccurdy at gmail.com
Thu Aug 31 11:49:16 PDT 2017
On Fri, Aug 25, 2017 at 5:50 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
> When building for aarch64 (ie relying only on generic C code rather
> than asm) libgmp.so contains undefined references to __gmpn_add_nc
> and __gmpn_sub_nc which causes attempts to link with -lgmp to fail:
>
> | .../usr/lib/libgmp.so: undefined reference to `__gmpn_sub_nc'
> | .../usr/lib/libgmp.so: undefined reference to `__gmpn_add_nc'
>
> Solution based on a historical patch posted to the gmp mailing list:
>
> https://gmplib.org/list-archives/gmp-discuss/2006-May/002344.html
>
> Signed-off-by: Andre McCurdy <armccurdy at gmail.com>
> ---
Ping.
More information about the yocto
mailing list