Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120608141001.GJ163@brightrain.aerifal.cx>
Date: Fri, 8 Jun 2012 10:10:01 -0400
From: Rich Felker <dalias@...ifal.cx>
To: musl@...ts.openwall.com
Subject: Re: bug? sysinfo() and getopt_long() misbehavior

On Thu, Jun 07, 2012 at 10:37:07PM -0700, Isaac Dunham wrote:
> > > Unfortunately I don't actually know how to fix these two.
> > 
> > I'm suspecting something is broken with respect to dynamic linking...
> > Are you using an old version of binutils? Did you remove or replace
> > -Bsymbolic-functions with something else?
> 
> Definitely not, I'd say--that doesn't just misbehave, it will die with
> a SIGILL before it gets to main().

Replacing -Bsymbolic-functions with -Bsymbolic to get it to "work" on
an old toolchain will prevent getopt and anything that shares global
vars between libc and the main program from working. That's what I
initially suspected.

Rich

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.