__uclibc_mutex_unlock
Joakim Tjernlund
joakim.tjernlund at transmode.se
Tue Jan 9 08:19:04 PST 2007
> -----Original Message-----
> From: Atsushi Nemoto [mailto:anemo at mba.ocn.ne.jp]
> Sent: 09 January 2007 11:39
> To: Joakim Tjernlund
> Cc: uclibc at uclibc.org
> Subject: Re: __uclibc_mutex_unlock
>
> On Tue, 9 Jan 2007 09:57:39 +0100, "Joakim Tjernlund"
> <joakim.tjernlund at transmode.se> wrote:
> > > I had similar SEGV problem with statically linked program
> on mips and
> > > mips64, and your patch fixed both. Thanks!
> >
> > Good, mind trying with only this part applied?
>
> I tried and still got SEGV.
Thanks, then its the moving of weaks.c into __uClibc_main that
is important.
I don't understand why it is the unlock function that is
crashing, from my POV it should be a all or nothing situation.
Either all weaks are present or none and if none of the
weak functions are present, it should crash much earlier.
Is it possible for LD to just pull a few functions from a object
file like weaks.o? I figured that if LD need one function in a module,
all functions in that module is linked in?
Jocke
More information about the uClibc
mailing list