mailing list of musl libc
 help / color / mirror / code / Atom feed
* Static PIE with musl and clang
@ 2017-03-05  1:47 Paul Sturm
  2017-03-05  2:44 ` Rich Felker
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Sturm @ 2017-03-05  1:47 UTC (permalink / raw)
  To: musl

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

Has anyone managed to build static PIE with musl and clang, preferably linking with lld? 

I see that this has been done using GCC and rcrt1.o, but I cannot find a combination of command line parameters that will successfully link and execute with clang. 

I am using clang 4.0.0RC2 and musl 1.1.16. I have also tried to use binutils ld instead of llvm lld to no avail. 

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

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

end of thread, other threads:[~2017-05-16  9:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-05  1:47 Static PIE with musl and clang Paul Sturm
2017-03-05  2:44 ` Rich Felker
2017-03-05  3:41   ` Paul Sturm
2017-03-05 12:21     ` Szabolcs Nagy
2017-05-15 19:24       ` Paul Sturm
2017-05-16  9:02         ` Szabolcs Nagy

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).