Fix for PPC uClibc build
Joakim Tjernlund
joakim.tjernlund at transmode.se
Thu Mar 9 08:29:28 UTC 2006
>
> On Sunday 05 March 2006 22:56, Brent Cook wrote:
> > For the past month or so, the powerpc build of uClibc has
> been broken for
> > me (I have been stuck on 20060113 for a while). Currently,
> the build dies
> > on brk.S on the libc_hidden_data_def(__curbrk) line,
> apparently because
> > __curbrk is not statically initialized.
>
> while i havent been having building troubles, i have been
> having segv troubles
> with my nightly ppc/uClibc tests ... your patch fixes that
>
> > The attached patch (cribbed from the alpha port) allows
> uClibc to build
> > without errors, but I haven't actually verified if this is correct
> > (chrooting on my Mac gives an 'Illegal instruction' error.)
>
> ive committed your proposed changes ... Joakim, please review
> as i lost our
> irc conversation the other day about this :/
> -mike
:), it works, but ..
powerpc is the only(OK alpha also) arch that uses assembler only. I
would rather
se that powerpc/brk.S was replaced by something like arm/brk.c since
global variables in assembler is a mess and hard to maintain.
Brent, want to give it a try?
Jocke
More information about the uClibc
mailing list