|
|
Message-ID: <20190415130737.GF26605@port70.net>
Date: Mon, 15 Apr 2019 15:07:37 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: Sami Farin <hvtaifwkbgefbaei@...il.com>, musl@...ts.openwall.com
Subject: Re: musl-1.1.22 -static segfaults in __init_tls
* Sami Farin <hvtaifwkbgefbaei@...il.com> [2019-04-15 12:59:17 +0200]:
> Fedora 29 Linux, gcc-8.3.1-2.fc29, x86_64 kernel 4.19.33.
>
> $ cat musl_crash.c; musl-gcc musl_crash.c -static; ./a.out
> int main(int argc, char* argv[]) {
> return 0;
> }
>
> Segmentation fault
this is likely a broken binutils
if the ldflag
-Wl,--build-id
or
-Wl,-z,noseparate-code
fixes it then it's
https://sourceware.org/bugzilla/show_bug.cgi?id=23428
report it to fedora as it affects anything static linked.
(even with glibc if all non-executable load sections are
turned off such as the note section for build-id)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.