Bug#294884: marked as done (asterisk: Illegal Instruction on VIA CPUs)
Debian Bug Tracking System
owner@bugs.debian.org
Fri, 01 Jul 2005 15:33:13 -0700
Your message dated Fri, 1 Jul 2005 23:28:38 +0100
with message-id <200507012328.38425.msp@debian.org>
and subject line Building correctly with dpkg-architecture
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Feb 2005 02:38:40 +0000
>From tzafrir.cohen@xorcom.com Fri Feb 11 18:38:40 2005
Return-path: <tzafrir.cohen@xorcom.com>
Received: from mtaout1.barak.net.il (mtaout1.barak.net.i) [212.150.49.171]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CznBA-00029C-00; Fri, 11 Feb 2005 18:38:40 -0800
Received: from boole.xorcom.com ([85.65.203.192])
by mtaout1.barak.net.il (Sun Java System Messaging Server 6.1 HotFix 0.02
(built Aug 25 2004)) with ESMTP id <0IBS00AUU2E55V81@mtaout1.barak.net.il> for
submit@bugs.debian.org; Sat, 12 Feb 2005 04:46:53 +0200 (IST)
Received: by boole.xorcom.com (Postfix, from userid 1000) id 07C25418C; Sat,
12 Feb 2005 04:39:09 +0200 (IST)
Date: Sat, 12 Feb 2005 04:39:08 +0200
From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
Subject: asterisk: Illegal Instruction on VIA CPUs
To: submit@bugs.debian.org
Message-id: <20050212023908.GZ20849@xorcom.com>
Organization: Xorcom*
MIME-version: 1.0
Content-type: multipart/mixed; boundary=iAL9S67WQOXgEPD9
Content-disposition: inline
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.3 required=4.0 tests=BAYES_00,HAS_PACKAGE,
ROUND_THE_WORLD_LOCAL autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
--iAL9S67WQOXgEPD9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: asterisk
Version: 1.0.5-1
Tags: patch
Asterisk exists with "Illegal Instriction" on VIA CPUs. This is because
I build packages on an i686 system and the makefile sets:
PROC=$(system uname -m)
The attached patch replaces i686 with i586. It should be applied after
the makefile patch.
What is the impact of this on the performance of Asterisk on different
i686 systems?
[Yet untested on latest unstable, as I don't have such a system]
--
Tzafrir Cohen icq#16849755 +972-50-7952406
tzafrir.cohen@xorcom.com http://xorcom.com
--iAL9S67WQOXgEPD9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="35_rapid-force-i586.dpatch"
#! /bin/sh /usr/share/dpatch/dpatch-run
## 35_rapid-force-i586.dpatch by <tzafrir@boole.in.xorcom.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad asterisk-1.0.5/Makefile /tmp/dpep.ec80Qy/asterisk-1.0.5/Makefile
--- asterisk-1.0.5/Makefile 2005-02-12 02:14:44.000000000 +0200
+++ /tmp/dpep.ec80Qy/asterisk-1.0.5/Makefile 2005-02-12 02:18:35.000000000 +0200
@@ -56,6 +56,10 @@
ifeq (${OSARCH},Linux)
PROC=$(shell uname -m)
+# Stop my builds from craching on Via machines with SIGILL
+ifeq ($(PROC),i686)
+ PROC=i586
+endif
ifeq ($(PROC),x86_64)
# You must have GCC 3.4 to use k8, otherwise use athlon
PROC=k8
--iAL9S67WQOXgEPD9--
---------------------------------------
Received: (at 294884-done) by bugs.debian.org; 1 Jul 2005 22:27:43 +0000
>From msp@debian.org Fri Jul 01 15:27:43 2005
Return-path: <msp@debian.org>
Received: from dsl-80-43-204-178.access.as9105.com (bristol.purcell.id.au) [80.43.204.178] (Debian-exim)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DoTz5-0003Tt-00; Fri, 01 Jul 2005 15:27:43 -0700
Received: from dell.purcell.id.au ([192.168.3.15] ident=Debian-exim)
by bristol.purcell.id.au with esmtp (Exim 4.51)
id 1DoTyq-00021d-Sm
for 294884-done@bugs.debian.org; Fri, 01 Jul 2005 23:27:40 +0100
Received: from mark by dell.purcell.id.au with local (Exim 4.51)
id 1DoTzz-0000ZA-5C
for 294884-done@bugs.debian.org; Fri, 01 Jul 2005 23:28:39 +0100
From: Mark Purcell <msp@debian.org>
To: 294884-done@bugs.debian.org
Date: Fri, 1 Jul 2005 23:28:38 +0100
User-Agent: KMail/1.8.1
Disposition-Notification-To: Mark Purcell <msp@debian.org>
MIME-Version: 1.0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200507012328.38425.msp@debian.org>
X-SA-Exim-Connect-IP: 192.168.3.15
X-SA-Exim-Rcpt-To: 294884-done@bugs.debian.org
X-SA-Exim-Mail-From: msp@debian.org
Subject: Building correctly with dpkg-architecture
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
Delivered-To: 294884-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Asterisk is build with PROC set to dpkg-architecture, thus builds with i386 on
via.
Closing this bug report.
Mark