[Bugs] [Bug 1376859] New: cdc xlator should use linker and compile options from pkg-config instead of "-fPIC"

bugzilla at redhat.com bugzilla at redhat.com
Fri Sep 16 15:41:55 UTC 2016


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

            Bug ID: 1376859
           Summary: cdc xlator should use linker and compile options from
                    pkg-config instead of "-fPIC"
           Product: GlusterFS
           Version: mainline
         Component: build
          Keywords: Triaged
          Priority: low
          Assignee: bugs at gluster.org
          Reporter: ndevos at redhat.com
                CC: bugs at gluster.org, kkeithle at redhat.com



Description of problem:
The cdc xlator does not use the same compiler and linker flags as set by the
distribution.

./configure.ac should define the options based on pkg-config or similar.

xlators/features/compress/src/Makefile.am is the affected file:

AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \
    -I$(top_srcdir)/rpc/xdr/src -I$(top_builddir)/rpc/xdr/src \
    -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D$(GF_HOST_OS) \
    $(LIBZ_CFLAGS)

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