|
Bugzilla – Full Text Bug Listing |
| Summary: | Asterisk does not run. | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | First Name Last Name <sinderbox+novell> |
| Component: | Other | Assignee: | Reinhard Max <max> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | ||
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
First Name Last Name
2006-02-07 00:06:26 UTC
So the program crashes on an AMD-K6-3? Just to be clear about that. Technically speaking, I do not know if it crashes, or if it does not run. It is an incompatible binary. If you try to run it the error comes instantly. server:/ # asterisk Illegal instruction server:/ If it's the system or asterisk printing that error, it's is beyond my knowledge. Same problem with beta4 asterisk-1.2.3-2 Compiling myself fom SRPM and problem gone. Yes this means that the program was compiled for an incompatible architecture and contains a cpu-instruction (opcode) which cannot be understood by the CPU. Of course the program is terminated then. Let's ask the asterisk maintainer. IIRC K6-2 and K6-3 only support a subset of the MMX extension and Asterisk happens to use some of the instructions that are not supported. When recompiling from the source RPM on such a machine, the build system detects the CPU and builds with MMX disabled. OTOH, I thought I had patched away this autodetection and forced Asterisk to build without MMX in any case. I need to investigate this... There are new RPMs under ftp://ftp.suse.com/pub/projects/asterisk/10.1-beta3 . Please try them and let me know if they run out of the box on the K6-3. http://ftp.suse.com/pub/projects/asterisk/10.1-beta3/i386/asterisk-1.2.3-3.i586.rpm runs without glitches. Was simply solved by disabling mmx? No, the modules that have support for MMX (e.g. the GSM codec) had it disabled already. But Asterisk compiled some source files with -march=i686 when it found to be built on a 686 machine, and that results in binaries that contain instructions which are not available on an i586 CPU. I've removed that check, so that only i586 code is generated, regardless of the CPU we are compiling on. |