Subject: RE: structure alignment on arm in NetBSD? (resend without html)
To: Richard Earnshaw <rearnsha@arm.com>
From: Martin Fouts <mfouts@danger.com>
List: tech-toolchain
Date: 10/29/2007 12:10:38
=20

> -----Original Message-----
> From: tech-toolchain-owner@NetBSD.org=20
> [mailto:tech-toolchain-owner@NetBSD.org] On Behalf Of Richard Earnshaw
> Sent: Monday, October 29, 2007 10:18 AM
> To: Jason Thorpe
> Cc: Martin Fouts; Valeriy E. Ushakov; tech-toolchain@NetBSD.org
> Subject: Re: structure alignment on arm in NetBSD? (resend=20
> without html)
>=20
> On Wed, 2007-10-17 at 12:25 -0700, Jason Thorpe wrote:
> > On Oct 17, 2007, at 11:34 AM, Martin Fouts wrote:
> >=20
> > >> We have 3rd party vendors that would prefer to deliver=20
> binaries and
> > > prefer to use ARM's compilers. We are finding that when RVCT=20
> > > generates EABI code it is not compatible with NetBSD. Structure=20
> > > alignment turns out to be a significant problem for us.
> >=20
> > Correct.  NetBSD does not support the ARM EABI.  There are=20
> a variety=20
> > of reasons for this, and back when I worked on the ARM GCC,=20
> I seem to=20
> > recall that Richard Earnshaw even said that the EABI wasn't really=20
> > appropriate for NetBSD.
> >=20
>=20
> Nope, I do think I ever said that (the problem was that the=20
> EABI was still in development at the time we needed to freeze=20
> our ELF implementation).  In fact, I'd like to see NetBSD=20
> supporting the EABI now that it has stabilized.  We'll need=20
> to have some support in the kernel anyway in order to support=20
> more recent ARM/Linux binaries.

I've got some limited support from our library team and some limited
time of my own available. If someone would give us a roadmap on what
needs to be done to make EABI real, we could probably make some progress
on this, but I don't have the time to investigate what needs doing, just
now.