mailing list of musl libc
 help / color / mirror / code / Atom feed
* A question about pure static linking with libdl
@ 2017-05-16  7:40 John Hu
  2017-05-16 10:30 ` Szabolcs Nagy
  0 siblings, 1 reply; 7+ messages in thread
From: John Hu @ 2017-05-16  7:40 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Dear musl developers,

Recently I have an experiment about whether full static-linked ld.gold with
plugin function enabled can use its --plugin option to dynamically load
plugins such as LLVMgold.so. I use "./configure --enable --enable-plugins
--disable-werror LDFLAGS="-static" "  to generate a full statically linked
ld.gold which does not have any dynamic library dependency, then I exec
"./ld.gold --plugin LLVMgold.so" but an error occurs that "could not load
plugin library: Dynamic loading not supported". I doubt this is a bug
because it is claimed that musl supports full static linking but I am not
sure about that. BTW, my experiment environment is Alpine 3.5.

Now I send this email again because I want this email to be replied
according to "If you are not subscribed and want to receive a reply, please
mention in your email that you want to be Cc'd." in the website.

[-- Attachment #2: Type: text/html, Size: 1237 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* A question about pure static linking with libdl
@ 2017-05-16  6:46 John Hu
  0 siblings, 0 replies; 7+ messages in thread
From: John Hu @ 2017-05-16  6:46 UTC (permalink / raw)
  To: musl

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

Dear musl developers,

Recently I have an experiment about whether full static-linked ld.gold with
plugin function enabled can use its --plugin option to dynamically load
plugins such as LLVMgold.so. I use "./configure --enable --enable-plugins
--disable-werror LDFLAGS="-static" "  to generate a full statically linked
ld.gold which does not have any dynamic library dependency, then I exec
"./ld.gold --plugin LLVMgold.so" but an error occurs that "could not load
plugin library: Dynamic loading not supported". I doubt this is a bug
because it is claimed that musl supports full static linking but I am not
sure about that. BTW, my experiment environment is Alpine 3.5.

[-- Attachment #2: Type: text/html, Size: 762 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-06-10 19:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-16  7:40 A question about pure static linking with libdl John Hu
2017-05-16 10:30 ` Szabolcs Nagy
2017-05-17  4:28   ` John Hu
2017-06-10 11:19   ` Jon Chesterfield
2017-06-10 16:37     ` Szabolcs Nagy
2017-06-10 19:54       ` Rich Felker
  -- strict thread matches above, loose matches on Subject: below --
2017-05-16  6:46 John Hu

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).