From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/949 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: hm, libc crashes loading libc Date: Sat, 2 Jun 2012 16:32:25 -0400 Message-ID: <20120602203225.GQ163@brightrain.aerifal.cx> References: <9ab5e7d10a265901c54f6f71443a26f4@exys.org> <20120602040322.GP163@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1338669440 11092 80.91.229.3 (2 Jun 2012 20:37:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Jun 2012 20:37:20 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-950-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 02 22:37:20 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Sav4V-0002dt-H2 for gllmg-musl@plane.gmane.org; Sat, 02 Jun 2012 22:37:15 +0200 Original-Received: (qmail 27935 invoked by uid 550); 2 Jun 2012 20:37:15 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 27927 invoked from network); 2 Jun 2012 20:37:15 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:949 Archived-At: On Sat, Jun 02, 2012 at 03:30:14PM +0200, aep wrote: > 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. I can look into how much work it would be to add GNU hash support, or whether it's possible to support linear searching the symbol table when the hash table is missing... Rich