Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 02 Jun 2012 15:30:14 +0200
From: aep <>
To: <>
Subject: Re: hm, libc crashes  loading libc

On Sat, 2 Jun 2012 00:03:22 -0400, Rich Felker wrote:
> On Sat, Jun 02, 2012 at 12:18:55AM +0200, aep wrote:
>> hashtab=0x0 sounds wrong, but how did it become zero?

turns out the problem is that gcc 4.7.0 from archlinux adds 
--hash-style=gnu to ld, which musl cannot read.

this fixes it for me:

diff --git a/tools/ b/tools/
index 5604685..9353706 100644
--- a/tools/
+++ b/tools/
@@ -25,7 +25,7 @@ libgcc.a%s %:if-exists(libgcc_eh.a%s)
  %rename link old_link

-%(old_link) -dynamic-linker $ldso -nostdlib
+%(old_link) -dynamic-linker $ldso -nostdlib --hash-style=sysv


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.