[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#333766: libc6: SIGBUS in libm on hppa breaks qt-x11-free



On Thu, Oct 13, 2005 at 11:58:10PM -0600, Grant Grundler wrote:
> On Fri, Oct 14, 2005 at 12:02:04AM -0400, Daniel Jacobowitz wrote:
> ...
> > Just to clarify: if you fix the inline asm in glibc, then you don't
> > need to recompile any of the currently broken libraries or
> > applications.
> 
> We don't need to fix the inline asm - the kernel is required to
> handle the misaligned accesses and in fact *normally* does.
> 
> The following *short* thread and should explain what's going on
> with paer.debian.org:
> http://lists.parisc-linux.org/pipermail/parisc-linux/2005-May/026543.html
> 
Oh, it seems the Debian kernel does not have that enabled by default. I am 
using the one from unstable (2.6.12), paer.debian.org uses the same one, 
and sarti.debian.org still uses a 2.4 one. 

I have found a sysctl access named kernel.unaligned-trap, which is set
by default. If I clear this bit, the testcase I sent which include the
source code of feholdexcept works correctly with both gcc-3.4 and with 
gcc-4.0.

However if I use the feholdexcept from the glibc I still have a sigbus.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: