[Gc] Shared libraries maturity
Pavel Raiskup <[email protected]> Tue, 13 May 2014 14:11:10 +0200
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Organization | Red Hat |
| Message-ID | <[email protected]> |
Hello, in Fedora, we (after some time again..) plan to package libatomic_ops separately from gc. We plan packaging atomic_ops configured with --enable-shared option. Do you consider this as appropriate these days? Should not this be enabled by default already? Do we know about some existing problems? When I built the package locally, I noticed that AO_pause is undefined in libatomic_ops_gpl.so.X.X. We should probably make the libatomic_ops_gpl be dependant on libatomic_ops (this shouldn't be licence-braking). Patch attached. After that we can link just with '-latomic_ops_gpl'. Pavel _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc
0001-Make-the-libatomic_ops_gpl-dependant-on-libatomic_op.patch
(text/x-patch, 878 B)
From 257bc8494285cc6e05d5ec528e4f24438e19030e Mon Sep 17 00:00:00 2001 From: Pavel Raiskup <[email protected]> Date: Tue, 13 May 2014 13:46:23 +0200 Subject: [PATCH] Make the libatomic_ops_gpl dependant on libatomic_ops * Makefile.am (libatomic_ops_gpl_la_LIBADD): New dependency. --- src/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Makefile.am b/src/Makefile.am index 7d586e9..d2cf718 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,6 +12,7 @@ libatomic_ops_la_LDFLAGS = -version-info 1:3:0 -no-undefined libatomic_ops_gpl_la_SOURCES = atomic_ops_stack.c atomic_ops_malloc.c libatomic_ops_gpl_la_LDFLAGS = -version-info 1:3:0 -no-undefined +libatomic_ops_gpl_la_LIBADD = libatomic_ops.la EXTRA_DIST = Makefile.msft atomic_ops/sysdeps/README \ atomic_ops/generalize-arithm.template \ -- 1.9.0