This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: glibc 2.3.2 targeting arm-linux, failed to cross-compile.


On Thu, May 15, 2003 at 08:46:10PM +0300, Nick Patavalis wrote:
> On Wed, May 14, 2003 at 10:26:54AM -0400, Daniel Jacobowitz wrote:
> > > > Bizarrely, this is a problem with the way that glibc parses the way
> > > > gcc invokes ld.  It expects there to be an -EL switch, and there isn't.
> > > > 
> > > > I just remove the line from libc.so.  It doesn't actually need to have
> > > > an OUTPUT_FORMAT anyway.
> > > >
> > > 
> > > I assume I have to remove this line from "libpthread.so" also. From
> > > anywhere else that you might know? (I try to write a script to
> > > automatically build the whole mix)
> > 
> > Only those two.
> > 
> 
> Finaly, and thanks to your patches, I got glibc 2.3.2 to cross-compile
> (targeting arm-linux), and I installed it on a target SA1110-based
> system. Test binaries I have created seem to run. That is, until they
> issue the "connect" system call, at which point everything
> segfaults. The following test program, for example, crashes reliably:

Yes.  I recommend reading the archives of this list; you'll find
another patch I posted to fix this problem.  It was about a month ago
now.

> Has this glibc version been tried agains ARM targets? Is it considered
> stable? Just working?

Works For Me.  Later CVS snapshots don't build but I think Phil was
looking into it.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]