From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/950 Path: news.gmane.org!not-for-mail From: aep Newsgroups: gmane.linux.lib.musl.general Subject: Re: hm, libc crashes loading libc Date: Sat, 02 Jun 2012 23:18:39 +0200 Message-ID: <42eed1667cf9974c1a0ae96295a8b11c@exys.org> References: <9ab5e7d10a265901c54f6f71443a26f4@exys.org> <20120602040322.GP163@brightrain.aerifal.cx> <20120602203225.GQ163@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338671749 25312 80.91.229.3 (2 Jun 2012 21:15:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 2 Jun 2012 21:15:49 +0000 (UTC) To: Original-X-From: musl-return-951-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 02 23:15:48 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 1Savfn-0004Op-SV for gllmg-musl@plane.gmane.org; Sat, 02 Jun 2012 23:15:48 +0200 Original-Received: (qmail 9480 invoked by uid 550); 2 Jun 2012 21:15:47 -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 9472 invoked from network); 2 Jun 2012 21:15:47 -0000 In-Reply-To: <20120602203225.GQ163@brightrain.aerifal.cx> X-Sender: aep@exys.org User-Agent: Roundcube Webmail/0.5.4 Xref: news.gmane.org gmane.linux.lib.musl.general:950 Archived-At: On Sat, 2 Jun 2012 16:32:25 -0400, Rich Felker wrote: > On Sat, Jun 02, 2012 at 03:30:14PM +0200, aep wrote: >> 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... does hash-style=gnu add any benefit for the target audience? I am noticing no speed difference for my small C program, but maybe it becomes interesting when C++ is added to the game.