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

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


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

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



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:

-- 
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