mailing list of musl libc
 help / color / mirror / code / Atom feed
* Segmentation fault on statically linked programs
@ 2019-03-01 12:08 James Larrowe
  2019-03-01 12:23 ` James Larrowe
  0 siblings, 1 reply; 4+ messages in thread
From: James Larrowe @ 2019-03-01 12:08 UTC (permalink / raw)
  To: musl

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

Any statically linked musl program gives a segmentation fault when run.

Output of GDB debugger:

Starting program: /home/chronos/user/Downloads/tarballs/busybox-1.30.1/test

Program received signal SIGSEGV, Segmentation fault.
0x0000000000401566 in __init_tls ()
(gdb) bt
#0  0x0000000000401566 in __init_tls ()
#1  0x0000000000000000 in ?? ()


Minimal example:

int main(void) { return 0; }


Please CC me, I'm not subscribed to the list.

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

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

end of thread, other threads:[~2019-03-01 14:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-01 12:08 Segmentation fault on statically linked programs James Larrowe
2019-03-01 12:23 ` James Larrowe
2019-03-01 12:23   ` James Larrowe
2019-03-01 14:21     ` Rich Felker

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