Recent ARM newlib and libgloss changes

Richard Earnshaw
Fri Jun 18 09:25:00 GMT 2004

On Thu, 2004-06-17 at 20:36, Jeff Johnston wrote:
> Richard Earnshaw wrote:
> > The recent changes to newlib and libgloss seem to have seriously broken
> > testing of gdb and libjava.
> > 
> > newlib is being built in 'compatibility' mode.  That is, without
> > --disable-newlib-supplied-syscalls.
> > 
> > The problem seems to be that despite this, gcc is picking up the version
> > of crt0.o that is built into libgloss, but that version does not contain
> > the correct code for setting up an RDI execution environment.
> > 
> > R.
> Oops.  I meant to add some configuration stuff into libgloss.  I just did so and 
> checked it in.  With the change, crt0.o won't be built nor installed unless 
> --disable-newlib-may-supply-syscalls is specified.
> Please try it out.
> -- Jeff J.

Hmm, forgot to mention that this patch showed up a further problem with
the libgloss code: there's no support for multilibs, so the thumb tests
were also failing more extensively (prior to your fix).


More information about the Newlib mailing list