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

Bug#498008: libc6: fedisableexcept/feenableexcept in ARMEL causes a SIGILL using ECL



Package: libc6
Version: 2.7-13
Severity: normal


The bug can be reproduced using ecl (lisp). The maintainer of ecl tracked the problem down on my device to

"ECL breaks right after booting because in __sigsetjmp() the system 
queries an internal register for the capabilities of the CPU and it finds that it has a coprocessor. 
However, this same query happened before and it returned false.

I tracked it down to the lines in src/c/unixint.c that activate the detection 
of floating point overflow. These are lines which make calls to fedisableexcept/feenableexcept 
"

You can reproduce the bug by
apt-get install ecl

a sigill is seen during installation.

As I got information that it is working on armv4 and armv5 I give you the detailed cpu information
Nokia-N800-23-14:~# cat /proc/cpuinfo 
Processor	: ARMv6-compatible processor rev 2 (v6l)
BogoMIPS	: 164.36
Features	: swp half thumb fastmult vfp edsp java 
CPU implementer	: 0x41
CPU architecture: 6TEJ
CPU variant	: 0x0
CPU part	: 0xb36
CPU revision	: 2
Cache type	: write-back
Cache clean	: cp15 c7 ops
Cache lockdown	: format C
Cache format	: Harvard
I size		: 32768
I assoc		: 4
I line length	: 32
I sets		: 256
D size		: 32768
D assoc		: 4
D line length	: 32
D sets		: 256

Hardware	: Nokia N800
Revision	: 24202524
Serial		: 0000000000000000



-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: armel (armv6l)

Kernel: Linux 2.6.21-omap1
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libgcc1                       1:4.3.1-9  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
pn  glibc-doc                     <none>     (no description available)
ii  locales                       2.7-13     GNU C Library: National Language (

-- debconf information:
  glibc/upgrade: true
  glibc/restart-services:
  glibc/restart-failed:



Reply to: