diff options
author | Kaleb S KEITHLEY <kkeithle@redhat.com> | 2015-12-18 07:44:45 -0500 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-12-22 09:15:01 -0800 |
commit | e62c0fe19b113d42db5e0f80fa7cbb82f2f88190 (patch) | |
tree | 584016bcf8df4069c2795d87967c9c3a7fe230ab /xlators | |
parent | 76f1680a2de05420934e131f934f3895fbe50db8 (diff) | |
download | glusterfs-e62c0fe19b113d42db5e0f80fa7cbb82f2f88190.tar.gz glusterfs-e62c0fe19b113d42db5e0f80fa7cbb82f2f88190.tar.xz glusterfs-e62c0fe19b113d42db5e0f80fa7cbb82f2f88190.zip |
build: export minimum symbols from xlators for correct resolution
Revisiting http://review.gluster.org/#/c/11814/, which unintentionally
introduced warnings from libtool about the xlator .so names.
According to [1], the -module option must appear in the Makefile.am
file(s); if -module is defined in a macro, e.g. in configure(.ac),
then libtool will not recognize that this is a module and will emit a
warning.
[1]
http://www.gnu.org/software/automake/manual/automake.html#Libtool-Modules
Change-Id: Ifa5f9327d18d139597791c305aa10cc4410fb078
BUG: 1248669
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/13003
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: soumya k <skoduri@redhat.com>
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators')
52 files changed, 56 insertions, 56 deletions
diff --git a/xlators/cluster/afr/src/Makefile.am b/xlators/cluster/afr/src/Makefile.am index 27384d1c31..5612733d3e 100644 --- a/xlators/cluster/afr/src/Makefile.am +++ b/xlators/cluster/afr/src/Makefile.am @@ -10,11 +10,11 @@ AFR_SELFHEAL_SOURCES = afr-self-heal-common.c afr-self-heal-data.c \ afr-self-heal-entry.c afr-self-heal-metadata.c afr-self-heald.c \ afr-self-heal-name.c -afr_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +afr_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) afr_la_SOURCES = $(afr_common_source) $(AFR_SELFHEAL_SOURCES) afr.c afr_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -pump_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +pump_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) pump_la_SOURCES = $(afr_common_source) $(AFR_SELFHEAL_SOURCES) pump.c pump_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/cluster/ec/src/Makefile.am b/xlators/cluster/ec/src/Makefile.am index c45a8f0571..cbdceefdbe 100644 --- a/xlators/cluster/ec/src/Makefile.am +++ b/xlators/cluster/ec/src/Makefile.am @@ -33,7 +33,7 @@ ec_ext_sources = $(top_builddir)/xlators/lib/src/libxlator.c ec_ext_headers = $(top_builddir)/xlators/lib/src/libxlator.h -ec_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +ec_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) ec_la_SOURCES = $(ec_sources) $(ec_headers) $(ec_ext_sources) $(ec_ext_headers) ec_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/cluster/ha/src/Makefile.am b/xlators/cluster/ha/src/Makefile.am index 4b730f9534..740a6b840d 100644 --- a/xlators/cluster/ha/src/Makefile.am +++ b/xlators/cluster/ha/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = ha.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/cluster -ha_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +ha_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) ha_la_SOURCES = ha-helpers.c ha.c diff --git a/xlators/cluster/map/src/Makefile.am b/xlators/cluster/map/src/Makefile.am index 6f4765ff2e..209cafa7c1 100644 --- a/xlators/cluster/map/src/Makefile.am +++ b/xlators/cluster/map/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = map.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/cluster -map_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +map_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) map_la_SOURCES = map.c map-helper.c diff --git a/xlators/cluster/stripe/src/Makefile.am b/xlators/cluster/stripe/src/Makefile.am index a4c5370562..e732c52423 100644 --- a/xlators/cluster/stripe/src/Makefile.am +++ b/xlators/cluster/stripe/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = stripe.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/cluster -stripe_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +stripe_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) stripe_la_SOURCES = stripe.c stripe-helpers.c \ diff --git a/xlators/debug/error-gen/src/Makefile.am b/xlators/debug/error-gen/src/Makefile.am index d1145dea5a..8baf15612b 100644 --- a/xlators/debug/error-gen/src/Makefile.am +++ b/xlators/debug/error-gen/src/Makefile.am @@ -2,7 +2,7 @@ xlator_LTLIBRARIES = error-gen.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug -error_gen_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +error_gen_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) error_gen_la_SOURCES = error-gen.c error_gen_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/debug/io-stats/src/Makefile.am b/xlators/debug/io-stats/src/Makefile.am index ecbc82061a..c5df598549 100644 --- a/xlators/debug/io-stats/src/Makefile.am +++ b/xlators/debug/io-stats/src/Makefile.am @@ -2,7 +2,7 @@ xlator_LTLIBRARIES = io-stats.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug -io_stats_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +io_stats_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) io_stats_la_SOURCES = io-stats.c io_stats_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/debug/trace/src/Makefile.am b/xlators/debug/trace/src/Makefile.am index 4577d0d697..9bd53c89bf 100644 --- a/xlators/debug/trace/src/Makefile.am +++ b/xlators/debug/trace/src/Makefile.am @@ -2,7 +2,7 @@ xlator_LTLIBRARIES = trace.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/debug -trace_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +trace_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) trace_la_SOURCES = trace.c trace_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/encryption/crypt/src/Makefile.am b/xlators/encryption/crypt/src/Makefile.am index 050d6cca7b..5e45a5da98 100644 --- a/xlators/encryption/crypt/src/Makefile.am +++ b/xlators/encryption/crypt/src/Makefile.am @@ -3,7 +3,7 @@ if ENABLE_CRYPT_XLATOR xlator_LTLIBRARIES = crypt.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption -crypt_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +crypt_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) crypt_la_SOURCES = keys.c data.c metadata.c atom.c crypt.c crypt_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -lssl -lcrypto diff --git a/xlators/encryption/rot-13/src/Makefile.am b/xlators/encryption/rot-13/src/Makefile.am index a6213c0b69..cc4b7c1300 100644 --- a/xlators/encryption/rot-13/src/Makefile.am +++ b/xlators/encryption/rot-13/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = rot-13.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/encryption -rot_13_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +rot_13_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) rot_13_la_SOURCES = rot-13.c rot_13_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/arbiter/src/Makefile.am b/xlators/features/arbiter/src/Makefile.am index 328e08cda9..dd262c3d6d 100644 --- a/xlators/features/arbiter/src/Makefile.am +++ b/xlators/features/arbiter/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = arbiter.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -arbiter_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +arbiter_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) arbiter_la_SOURCES = arbiter.c arbiter_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/barrier/src/Makefile.am b/xlators/features/barrier/src/Makefile.am index 162c6a8865..4e909c8aad 100644 --- a/xlators/features/barrier/src/Makefile.am +++ b/xlators/features/barrier/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = barrier.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -barrier_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +barrier_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) barrier_la_SOURCES = barrier.c diff --git a/xlators/features/bit-rot/src/bitd/Makefile.am b/xlators/features/bit-rot/src/bitd/Makefile.am index b338d3cdd8..6557943ac6 100644 --- a/xlators/features/bit-rot/src/bitd/Makefile.am +++ b/xlators/features/bit-rot/src/bitd/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = bit-rot.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -bit_rot_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +bit_rot_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) AM_CPPFLAGS = $(GF_CPPFLAGS) -I$(top_srcdir)/libglusterfs/src \ -I$(top_srcdir)/rpc/xdr/src/ \ diff --git a/xlators/features/bit-rot/src/stub/Makefile.am b/xlators/features/bit-rot/src/stub/Makefile.am index 1746344f1b..7e4b6837ee 100644 --- a/xlators/features/bit-rot/src/stub/Makefile.am +++ b/xlators/features/bit-rot/src/stub/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = bitrot-stub.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -bitrot_stub_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +bitrot_stub_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) bitrot_stub_la_SOURCES = bit-rot-stub-helpers.c bit-rot-stub.c bitrot_stub_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/changelog/src/Makefile.am b/xlators/features/changelog/src/Makefile.am index e851cc7819..27af7a5ebd 100644 --- a/xlators/features/changelog/src/Makefile.am +++ b/xlators/features/changelog/src/Makefile.am @@ -7,7 +7,7 @@ noinst_HEADERS = changelog-helpers.h changelog-mem-types.h changelog-rt.h \ changelog-rpc-common.h changelog-rpc.h changelog-ev-handle.h \ changelog-messages.h -changelog_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +changelog_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) changelog_la_SOURCES = changelog.c changelog-rt.c changelog-helpers.c \ changelog-encoders.c changelog-rpc.c changelog-barrier.c \ diff --git a/xlators/features/changetimerecorder/src/Makefile.am b/xlators/features/changetimerecorder/src/Makefile.am index 5af50983fe..44cebd6aed 100644 --- a/xlators/features/changetimerecorder/src/Makefile.am +++ b/xlators/features/changetimerecorder/src/Makefile.am @@ -5,7 +5,7 @@ if BUILD_GFDB xlator_LTLIBRARIES = changetimerecorder.la endif -changetimerecorder_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +changetimerecorder_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) changetimerecorder_la_SOURCES = changetimerecorder.c ctr-helper.c ctr-xlator-ctx.c diff --git a/xlators/features/compress/src/Makefile.am b/xlators/features/compress/src/Makefile.am index 1c4c80eec9..b7c75e91b9 100644 --- a/xlators/features/compress/src/Makefile.am +++ b/xlators/features/compress/src/Makefile.am @@ -4,7 +4,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features noinst_HEADERS = cdc.h cdc-mem-types.h -cdc_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +cdc_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) cdc_la_SOURCES = cdc.c cdc-helper.c cdc_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(ZLIB_LIBS) diff --git a/xlators/features/filter/src/Makefile.am b/xlators/features/filter/src/Makefile.am index 49ea3a45fb..5bdc711ae0 100644 --- a/xlators/features/filter/src/Makefile.am +++ b/xlators/features/filter/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = filter.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features -filter_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +filter_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) filter_la_SOURCES = filter.c filter_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/ganesha/src/Makefile.am b/xlators/features/ganesha/src/Makefile.am index 3a245703eb..3bf291b92c 100644 --- a/xlators/features/ganesha/src/Makefile.am +++ b/xlators/features/ganesha/src/Makefile.am @@ -4,7 +4,7 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features noinst_HEADERS = ganesha.h ganesha-mem-types.h -ganesha_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +ganesha_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) ganesha_la_SOURCES = ganesha.c diff --git a/xlators/features/gfid-access/src/Makefile.am b/xlators/features/gfid-access/src/Makefile.am index ba95c7c018..3b25f09912 100644 --- a/xlators/features/gfid-access/src/Makefile.am +++ b/xlators/features/gfid-access/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = gfid-access.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -gfid_access_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +gfid_access_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) gfid_access_la_SOURCES = gfid-access.c gfid_access_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/index/src/Makefile.am b/xlators/features/index/src/Makefile.am index a19026c6f9..2f94a8c627 100644 --- a/xlators/features/index/src/Makefile.am +++ b/xlators/features/index/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = index.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -index_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +index_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) index_la_SOURCES = index.c index_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/locks/src/Makefile.am b/xlators/features/locks/src/Makefile.am index e486e32fa1..8e67bebbfa 100644 --- a/xlators/features/locks/src/Makefile.am +++ b/xlators/features/locks/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = locks.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -locks_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +locks_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) locks_la_SOURCES = common.c posix.c entrylk.c inodelk.c reservelk.c \ clear.c diff --git a/xlators/features/mac-compat/src/Makefile.am b/xlators/features/mac-compat/src/Makefile.am index c178a2542e..1a312991f6 100644 --- a/xlators/features/mac-compat/src/Makefile.am +++ b/xlators/features/mac-compat/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = mac-compat.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -mac_compat_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +mac_compat_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) mac_compat_la_SOURCES = mac-compat.c mac_compat_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/marker/src/Makefile.am b/xlators/features/marker/src/Makefile.am index d122c0bfc0..0465b02012 100644 --- a/xlators/features/marker/src/Makefile.am +++ b/xlators/features/marker/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = marker.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -marker_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +marker_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) marker_la_SOURCES = marker.c marker-quota.c marker-quota-helper.c marker-common.c marker_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/path-convertor/src/Makefile.am b/xlators/features/path-convertor/src/Makefile.am index 9b5c7f45d1..7090698687 100644 --- a/xlators/features/path-convertor/src/Makefile.am +++ b/xlators/features/path-convertor/src/Makefile.am @@ -2,7 +2,7 @@ xlator_LTLIBRARIES = path-converter.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features -path_converter_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +path_converter_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) path_converter_la_SOURCES = path.c path_converter_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/protect/src/Makefile.am b/xlators/features/protect/src/Makefile.am index bc0643d680..98499712fa 100644 --- a/xlators/features/protect/src/Makefile.am +++ b/xlators/features/protect/src/Makefile.am @@ -2,15 +2,15 @@ xlator_LTLIBRARIES = prot_dht.la prot_client.la prot_server.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -prot_dht_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +prot_dht_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) prot_dht_la_SOURCES = prot_dht.c prot_dht_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -prot_client_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +prot_client_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) prot_client_la_SOURCES = prot_client.c prot_client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -prot_server_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +prot_server_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) prot_server_la_SOURCES = prot_server.c prot_server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/quiesce/src/Makefile.am b/xlators/features/quiesce/src/Makefile.am index 862ca76f3e..6468669af2 100644 --- a/xlators/features/quiesce/src/Makefile.am +++ b/xlators/features/quiesce/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = quiesce.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -quiesce_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +quiesce_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) quiesce_la_SOURCES = quiesce.c quiesce_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/quota/src/Makefile.am b/xlators/features/quota/src/Makefile.am index a6d2c86bf5..a15135347a 100644 --- a/xlators/features/quota/src/Makefile.am +++ b/xlators/features/quota/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = quota.la quotad.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -quota_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +quota_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) quotad_la_LDFLAGS = -module -avoid-version -export-symbols $(top_srcdir)/xlators/features/quota/src/quotad.sym quota_la_SOURCES = quota.c quota-enforcer-client.c diff --git a/xlators/features/read-only/src/Makefile.am b/xlators/features/read-only/src/Makefile.am index a44fd36f03..5aad707934 100644 --- a/xlators/features/read-only/src/Makefile.am +++ b/xlators/features/read-only/src/Makefile.am @@ -4,12 +4,12 @@ xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features noinst_HEADERS = read-only.h read-only-mem-types.h read-only-common.h -read_only_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +read_only_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) read_only_la_SOURCES = read-only.c read-only-common.c read_only_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la -worm_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +worm_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) worm_la_SOURCES = read-only-common.c worm.c worm_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/shard/src/Makefile.am b/xlators/features/shard/src/Makefile.am index 3569eb69af..89173f1203 100644 --- a/xlators/features/shard/src/Makefile.am +++ b/xlators/features/shard/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = shard.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -shard_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +shard_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) shard_la_SOURCES = shard.c diff --git a/xlators/features/snapview-client/src/Makefile.am b/xlators/features/snapview-client/src/Makefile.am index 3b08e68509..72d8a2a197 100644 --- a/xlators/features/snapview-client/src/Makefile.am +++ b/xlators/features/snapview-client/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = snapview-client.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -snapview_client_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +snapview_client_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) snapview_client_la_SOURCES = snapview-client.c snapview_client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/snapview-server/src/Makefile.am b/xlators/features/snapview-server/src/Makefile.am index 004741ceda..6b588e5d23 100644 --- a/xlators/features/snapview-server/src/Makefile.am +++ b/xlators/features/snapview-server/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = snapview-server.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -snapview_server_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +snapview_server_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) snapview_server_la_SOURCES = snapview-server.c snapview-server-mgmt.c snapview-server-helpers.c snapview_server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la\ diff --git a/xlators/features/trash/src/Makefile.am b/xlators/features/trash/src/Makefile.am index dc216c366f..1304618cc6 100644 --- a/xlators/features/trash/src/Makefile.am +++ b/xlators/features/trash/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = trash.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -trash_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +trash_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) trash_la_SOURCES = trash.c trash_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/features/upcall/src/Makefile.am b/xlators/features/upcall/src/Makefile.am index a81c36940e..7f63e79228 100644 --- a/xlators/features/upcall/src/Makefile.am +++ b/xlators/features/upcall/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = upcall.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/features -upcall_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +upcall_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) upcall_la_SOURCES = upcall.c upcall-internal.c diff --git a/xlators/meta/src/Makefile.am b/xlators/meta/src/Makefile.am index 9cb55f97c6..df06760b40 100644 --- a/xlators/meta/src/Makefile.am +++ b/xlators/meta/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = meta.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator -meta_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +meta_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) meta_la_SOURCES = meta.c meta-helpers.c meta-defaults.c \ root-dir.c \ diff --git a/xlators/mgmt/glusterd/src/Makefile.am b/xlators/mgmt/glusterd/src/Makefile.am index 8a414d5bcc..d13144cfec 100644 --- a/xlators/mgmt/glusterd/src/Makefile.am +++ b/xlators/mgmt/glusterd/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = glusterd.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/mgmt glusterd_la_CPPFLAGS = $(AM_CPPFLAGS) "-DFILTERDIR=\"$(libdir)/glusterfs/$(PACKAGE_VERSION)/filter\"" -glusterd_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +glusterd_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) glusterd_la_SOURCES = glusterd.c glusterd-handler.c glusterd-sm.c \ glusterd-op-sm.c glusterd-utils.c glusterd-rpc-ops.c \ glusterd-store.c glusterd-handshake.c glusterd-pmap.c \ diff --git a/xlators/mount/fuse/src/Makefile.am b/xlators/mount/fuse/src/Makefile.am index 3caebe8103..2c0235e092 100644 --- a/xlators/mount/fuse/src/Makefile.am +++ b/xlators/mount/fuse/src/Makefile.am @@ -26,7 +26,7 @@ endif fuse_la_SOURCES = fuse-helpers.c fuse-resolve.c fuse-bridge.c \ $(CONTRIBDIR)/fuse-lib/misc.c $(mount_source) -fuse_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +fuse_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) fuse_la_LIBADD = $(GF_LDADD) @GF_FUSE_LDADD@ AM_CPPFLAGS = $(GF_CPPFLAGS) \ diff --git a/xlators/performance/io-cache/src/Makefile.am b/xlators/performance/io-cache/src/Makefile.am index 9fd312cee9..e6ce0bcd44 100644 --- a/xlators/performance/io-cache/src/Makefile.am +++ b/xlators/performance/io-cache/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = io-cache.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -io_cache_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +io_cache_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) io_cache_la_SOURCES = io-cache.c page.c ioc-inode.c io_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/io-threads/src/Makefile.am b/xlators/performance/io-threads/src/Makefile.am index 250c5abe5f..1d09eace2e 100644 --- a/xlators/performance/io-threads/src/Makefile.am +++ b/xlators/performance/io-threads/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = io-threads.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -io_threads_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +io_threads_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) io_threads_la_SOURCES = io-threads.c io_threads_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/md-cache/src/Makefile.am b/xlators/performance/md-cache/src/Makefile.am index ba8ce63d8e..95a640ffd2 100644 --- a/xlators/performance/md-cache/src/Makefile.am +++ b/xlators/performance/md-cache/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = md-cache.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -md_cache_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +md_cache_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) md_cache_la_SOURCES = md-cache.c md_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/open-behind/src/Makefile.am b/xlators/performance/open-behind/src/Makefile.am index a73bf3e280..58c3529bbe 100644 --- a/xlators/performance/open-behind/src/Makefile.am +++ b/xlators/performance/open-behind/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = open-behind.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -open_behind_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +open_behind_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) open_behind_la_SOURCES = open-behind.c open_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/quick-read/src/Makefile.am b/xlators/performance/quick-read/src/Makefile.am index 4f26e43b6c..af4ae7cbfc 100644 --- a/xlators/performance/quick-read/src/Makefile.am +++ b/xlators/performance/quick-read/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = quick-read.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -quick_read_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +quick_read_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) quick_read_la_SOURCES = quick-read.c quick_read_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/read-ahead/src/Makefile.am b/xlators/performance/read-ahead/src/Makefile.am index bfef8feeab..0b1878707f 100644 --- a/xlators/performance/read-ahead/src/Makefile.am +++ b/xlators/performance/read-ahead/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = read-ahead.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -read_ahead_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +read_ahead_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) read_ahead_la_SOURCES = read-ahead.c page.c read_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/readdir-ahead/src/Makefile.am b/xlators/performance/readdir-ahead/src/Makefile.am index 7423b93319..e54ab168a0 100644 --- a/xlators/performance/readdir-ahead/src/Makefile.am +++ b/xlators/performance/readdir-ahead/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = readdir-ahead.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -readdir_ahead_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +readdir_ahead_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) readdir_ahead_la_SOURCES = readdir-ahead.c readdir_ahead_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/symlink-cache/src/Makefile.am b/xlators/performance/symlink-cache/src/Makefile.am index 517894b9ce..cc36ea99b6 100644 --- a/xlators/performance/symlink-cache/src/Makefile.am +++ b/xlators/performance/symlink-cache/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = symlink-cache.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/performance -symlink_cache_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +symlink_cache_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) symlink_cache_la_SOURCES = symlink-cache.c symlink_cache_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/performance/write-behind/src/Makefile.am b/xlators/performance/write-behind/src/Makefile.am index c51c377c36..4de88eff90 100644 --- a/xlators/performance/write-behind/src/Makefile.am +++ b/xlators/performance/write-behind/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = write-behind.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/performance -write_behind_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +write_behind_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) write_behind_la_SOURCES = write-behind.c write_behind_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/playground/template/src/Makefile.am b/xlators/playground/template/src/Makefile.am index 74de03af23..ef88d4d48b 100644 --- a/xlators/playground/template/src/Makefile.am +++ b/xlators/playground/template/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = template.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/testing/features -template_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +template_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) template_la_SOURCES = template.c template_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la diff --git a/xlators/protocol/client/src/Makefile.am b/xlators/protocol/client/src/Makefile.am index b981c4c151..7dbcf2a833 100644 --- a/xlators/protocol/client/src/Makefile.am +++ b/xlators/protocol/client/src/Makefile.am @@ -2,7 +2,7 @@ xlator_LTLIBRARIES = client.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol -client_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +client_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) client_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \ diff --git a/xlators/protocol/server/src/Makefile.am b/xlators/protocol/server/src/Makefile.am index 688d0202bc..dbec61d6ca 100644 --- a/xlators/protocol/server/src/Makefile.am +++ b/xlators/protocol/server/src/Makefile.am @@ -1,7 +1,7 @@ xlator_LTLIBRARIES = server.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/protocol -server_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +server_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) server_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la \ $(top_builddir)/rpc/rpc-lib/src/libgfrpc.la \ diff --git a/xlators/storage/bd/src/Makefile.am b/xlators/storage/bd/src/Makefile.am index f0fbc24086..aad293e0c7 100644 --- a/xlators/storage/bd/src/Makefile.am +++ b/xlators/storage/bd/src/Makefile.am @@ -2,7 +2,7 @@ if ENABLE_BD_XLATOR xlator_LTLIBRARIES = bd.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage -bd_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +bd_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) LIBBD = -llvm2app -lrt bd_la_SOURCES = bd.c bd-helper.c bd-aio.c bd_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBBD) $(LIBAIO) diff --git a/xlators/storage/posix/src/Makefile.am b/xlators/storage/posix/src/Makefile.am index 6de572992d..4e3fd3dd09 100644 --- a/xlators/storage/posix/src/Makefile.am +++ b/xlators/storage/posix/src/Makefile.am @@ -2,7 +2,7 @@ xlator_LTLIBRARIES = posix.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/storage -posix_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +posix_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) posix_la_SOURCES = posix.c posix-helpers.c posix-handle.c posix-aio.c posix_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la $(LIBAIO) \ diff --git a/xlators/system/posix-acl/src/Makefile.am b/xlators/system/posix-acl/src/Makefile.am index 69e133e48d..5c2c716d2c 100644 --- a/xlators/system/posix-acl/src/Makefile.am +++ b/xlators/system/posix-acl/src/Makefile.am @@ -1,6 +1,6 @@ xlator_LTLIBRARIES = posix-acl.la xlatordir = $(libdir)/glusterfs/$(PACKAGE_VERSION)/xlator/system -posix_acl_la_LDFLAGS = $(GF_XLATOR_DEFAULT_LDFLAGS) +posix_acl_la_LDFLAGS = -module $(GF_XLATOR_DEFAULT_LDFLAGS) posix_acl_la_SOURCES = posix-acl.c posix-acl-xattr.c posix_acl_la_LIBADD = $(top_builddir)/libglusterfs/src/libglusterfs.la |