Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 18 Jul 2018 22:24:07 +0200
From: Szabolcs Nagy <>
Subject: Re: Re: Segmentation fault in static binaries built with
 recent binutils

* Szabolcs Nagy <> [2018-07-18 22:19:28 +0200]:
> the difference between the two cases was --build-id
> --build-id=sha1 works, --build-id=none segfaults

as a work around you can add build-id to the musl-gcc.specs

diff --git a/tools/ b/tools/
index 294e24f7..9b4aa761 100644
--- a/tools/
+++ b/tools/
@@ -23,7 +23,7 @@ libgcc.a%s %:if-exists(libgcc_eh.a%s)
 %{shared|pie:crtendS.o%s;:crtend.o%s} $libdir/crtn.o
--dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic}
+--build-id -dynamic-linker $ldso -nostdlib %{shared:-shared} %{static:-static} %{rdynamic:-export-dynamic}

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.