From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-November/009863.html | 84 ++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-November/009863.html (limited to 'zarb-ml/mageia-dev/2011-November/009863.html') diff --git a/zarb-ml/mageia-dev/2011-November/009863.html b/zarb-ml/mageia-dev/2011-November/009863.html new file mode 100644 index 000000000..f38ab4152 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-November/009863.html @@ -0,0 +1,84 @@ + + + + [Mageia-dev] %ldflags, a shared library (xchat-plugin) + + + + + + + + + +

[Mageia-dev] %ldflags, a shared library (xchat-plugin)

+ Guillaume Rousse + guillomovitch at gmail.com +
+ Mon Nov 28 09:38:06 CET 2011 +

+
+ +
Le 28/11/2011 05:42, Kamil Rytarowski a écrit :
+> So I've extracted the parameters for gcc from %ldflags and removed
+> -Wl,--no-undefined.
+> The current line is:
+> gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1
+> -Wl,--build-id -Wl,--enable-new-dtags -Wl,--export-dynamic -Wall -O1
+> -shared -fPIC -I. xchat-drakcowsay.c -o xchat-drakcowsay.so
+>
+> Is it right (for a shared library/ plugin)?
+As plugin symbols are resolved at runtime, you can't use 
+-Wl,--no-undefined to build them. This is explained here:
+http://wiki.mandriva.com/en/Underlinking
+-- 
+BOFH excuse #310:
+
+asynchronous inode failure
+
+ + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1