Date: Sat, 02 Jun 2012 15:30:14 +0200 From: aep <aep@...s.org> To: <musl@...ts.openwall.com> 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/musl-gcc.specs.sh b/tools/musl-gcc.specs.sh index 5604685..9353706 100644 --- a/tools/musl-gcc.specs.sh +++ b/tools/musl-gcc.specs.sh @@ -25,7 +25,7 @@ libgcc.a%s %:if-exists(libgcc_eh.a%s) %rename link old_link *link: -%(old_link) -dynamic-linker $ldso -nostdlib +%(old_link) -dynamic-linker $ldso -nostdlib --hash-style=sysv *esp_link:
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.