Bug 1692957 - rpclib: slow floating point math and libm
Summary: rpclib: slow floating point math and libm
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: 6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: glusterfs-6.1 1692959
TreeView+ depends on / blocked
 
Reported: 2019-03-26 18:06 UTC by Kaleb KEITHLEY
Modified: 2019-04-22 13:33 UTC (History)
1 user (show)

Fixed In Version: glusterfs-6.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1692959 (view as bug list)
Environment:
Last Closed: 2019-04-16 10:49:25 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gluster.org Gerrit 22421 0 None Abandoned build: link libgfrpc with MATH_LIB (libm, -lm) 2019-04-03 10:04:05 UTC
Gluster.org Gerrit 22493 0 None Merged rpclib: slow floating point math and libm 2019-04-16 10:49:24 UTC

Description Kaleb KEITHLEY 2019-03-26 18:06:13 UTC
Description of problem:

tl;dnr: libgfrpc.so calls log2(3) from libm; it should be explicitly
linked with -lm

the autoconf/automake/libtool stack is more or less forgiving on
different distributions. On forgiving systems libtool will semi-
magically link with implicit dependencies. But on Ubuntu, which
seems to be tending toward being less forgiving, the link of libgfrpc
will fail with an unresolved referencee to log2(3).


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2019-03-26 18:11:24 UTC
REVIEW: https://review.gluster.org/22421 (build: link libgfrpc with MATH_LIB (libm, -lm)) posted (#1) for review on release-6 by Kaleb KEITHLEY

Comment 2 Worker Ant 2019-04-16 10:49:25 UTC
REVIEW: https://review.gluster.org/22493 (rpclib: slow floating point math and libm) merged (#3) on release-6 by Shyamsundar Ranganathan

Comment 3 Shyamsundar 2019-04-22 13:33:06 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-6.1, please open a new bug report.

glusterfs-6.1 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://lists.gluster.org/pipermail/announce/2019-April/000124.html
[2] https://www.gluster.org/pipermail/gluster-users/


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