Bug 1278522 - Please rebuild gmp-ecm in rawhide due to missing symbol
Please rebuild gmp-ecm in rawhide due to missing symbol
Product: Fedora
Classification: Fedora
Component: gmp-ecm (Show other bugs)
All All
medium Severity medium
: ---
: ---
Assigned To: Jerry James
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-11-05 12:03 EST by Paulo Andrade
Modified: 2015-11-06 15:00 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-11-06 15:00:01 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Paulo Andrade 2015-11-05 12:03:22 EST
$ gmp-ecm
gmp-ecm: symbol lookup error: /lib64/libecm.so.0: undefined symbol: __gmpn_add_nc
$ rpm -q gmp-ecm

Rebuilding the package corrects the problem:

$ rpm -q gmp-ecm
$ gmp-ecm
Invalid arguments. See gmp-ecm --help.
Comment 1 Jerry James 2015-11-06 13:03:30 EST
I have rebuilt it.  But this worries me.  Does this mean that gmp dropped a symbol without bumping the soname?
Comment 2 Paulo Andrade 2015-11-06 13:51:56 EST
  The symbol is not public. gmp-ecm "cheats" at build time, and
uses it if it is available, and even adds a prototype to it,
like this, on a header not installed:

#ifndef __gmpn_add_nc
__GMP_DECLSPEC mp_limb_t __gmpn_add_nc (mp_ptr, mp_srcptr, mp_srcptr,
    mp_size_t, mp_limb_t);

  I checked newer gmp, and I believe it reworked the __gmpn_add_nc

$ objdump -T /lib64/libgmp.so|grep __gmpn_add_nc | awk '{print $7;}'

  Previously, there was a single __gmpn_add_nc symbol.
Comment 3 Jerry James 2015-11-06 15:00:01 EST
Oh, I see.  Thanks for the explanation.  I'll close this as fixed, then.

Note You need to log in before you can comment on or make changes to this bug.