Re: Bug#333766: libc6: SIGBUS in libm on hppa breaks qt-x11-free
- To: Grant Grundler <grundler@parisc-linux.org>, 333766@bugs.debian.org
- Cc: Randolph Chung <randolph@tausq.org>, Aurelien Jarno <aurelien@aurel32.net>, Stephen Gran <sgran@debian.org>, Steve Langasek <vorlon@debian.org>, debian-hppa@lists.debian.org
- Subject: Re: Bug#333766: libc6: SIGBUS in libm on hppa breaks qt-x11-free
- From: Daniel Jacobowitz <dan@debian.org>
- Date: Thu, 13 Oct 2005 23:23:04 -0400
- Message-id: <[🔎] 20051014032304.GA7685@nevyn.them.org>
- Mail-followup-to: Grant Grundler <grundler@parisc-linux.org>, 333766@bugs.debian.org, Randolph Chung <randolph@tausq.org>, Aurelien Jarno <aurelien@aurel32.net>, Stephen Gran <sgran@debian.org>, Steve Langasek <vorlon@debian.org>, debian-hppa@lists.debian.org
- In-reply-to: <[🔎] 20051014031721.GA3348@colo.lackof.org>
- References: <20051013163101.GA2127@tennyson.dodds.net> <[🔎] 434E98D3.7080602@aurel32.net> <[🔎] 20051013175251.GA2933@tennyson.dodds.net> <[🔎] 20051013220501.GB4871@www.lobefin.net> <[🔎] 434EDDC2.8010702@aurel32.net> <[🔎] 20051013233344.GA2037@nevyn.them.org> <[🔎] 434EFE74.3060800@tausq.org> <[🔎] 20051014005430.GA4478@nevyn.them.org> <[🔎] 20051014031721.GA3348@colo.lackof.org>
On Thu, Oct 13, 2005 at 09:17:21PM -0600, Grant Grundler wrote:
> On Thu, Oct 13, 2005 at 08:54:30PM -0400, Daniel Jacobowitz wrote:
> > > drow is right, as usual. our fenv_t needs to be defined with
> > > __attribute__((aligned(8))) or similar.
> >
> > I'd recommend "fixing" the asm instead: that's an ABI change and would
> > require heinous rebuilds.
>
> Sorry - I'm not following. The Application *Binary* Interface was
> providing 8 byte alignment with gcc 3.4, right?
> Why is it breaking the ABI if we tell gcc 4.0 to do the same?
No, the _type_ fenv_t is documented to have 4 byte alignment. In both.
In 3.4 you got lucky and it was usually placed at 8.
--
Daniel Jacobowitz
CodeSourcery, LLC
Reply to: