[Bugs] [Bug 1692959] New: build: link libgfrpc with MATH_LIB (libm, -lm)

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 26 18:08:06 UTC 2019


https://bugzilla.redhat.com/show_bug.cgi?id=1692959

            Bug ID: 1692959
           Summary: build: link libgfrpc with MATH_LIB (libm, -lm)
           Product: GlusterFS
           Version: 5
            Status: NEW
         Component: build
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org
        Depends On: 1692957
  Target Milestone: ---
    Classification: Community



+++ This bug was initially created as a clone of Bug #1692957 +++

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:


Referenced Bugs:

https://bugzilla.redhat.com/show_bug.cgi?id=1692957
[Bug 1692957] build: link libgfrpc with MATH_LIB (libm, -lm)
-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list