Package: liboil0.3
Version: 0.3.10-1
Severity: grave
Tags: patch

All programs linked with liboil0.3 are causing a SIGILL on an IXP4xx
XScale CPU. This is due to the following code in liboil/liboilcpu.c:

   switch(arm_implementer) {
     case 0x69: /* Intel */
       /* assume that all Intel chips support CP14 timestamp */
       _oil_profile_stamp = oil_profile_stamp_xscale;

I don't know how to detect if an Intel CPU has support for CP14 
timestamp, therefore I suggests to disable this detection for now. Here
is the patch I used:

--- liboil-0.3.10.orig/liboil/liboilcpu.c
+++ liboil-0.3.10/liboil/liboilcpu.c
@@ -644,7 +644,7 @@
   switch(arm_implementer) {
     case 0x69: /* Intel */
       /* assume that all Intel chips support CP14 timestamp */
-      _oil_profile_stamp = oil_profile_stamp_xscale;
+      /* _oil_profile_stamp = oil_profile_stamp_xscale; */
       break;
     case 0x41: /* ARM */
       /* ARM chips are known to not have timestamping available from 

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: arm (armv5tel)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-ixp4xx
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages liboil0.3 depends on:
ii  libc6                        2.3.6.ds1-10 GNU C Library: Shared libraries

liboil0.3 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to