Bug 1376859 - cdc xlator should use linker and compile options from pkg-config instead of "-fPIC"
Summary: cdc xlator should use linker and compile options from pkg-config instead of "...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-16 15:41 UTC by Niels de Vos
Modified: 2019-05-09 20:12 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-05-09 20:12:35 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Niels de Vos 2016-09-16 15:41:55 UTC
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)

Comment 1 Amar Tumballi 2019-05-09 20:12:35 UTC
Removed CDC xlator from the codebase as it was not actively maintained. (>=glusterf-6.0)


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