FS#29546 - [gnustep-base] Illegal instruction in i686
Attached to Project:
Community Packages
Opened by Kyle Keen (keenerd) - Friday, 20 April 2012, 21:42 GMT
Last edited by Balló György (City-busz) - Monday, 09 September 2013, 20:25 GMT
Opened by Kyle Keen (keenerd) - Friday, 20 April 2012, 21:42 GMT
Last edited by Balló György (City-busz) - Monday, 09 September 2013, 20:25 GMT
|
Details
Description:
It seems that the gnustep-base package is not built for i686. A package (cenon) using the gnustep libraries fails with "Illegal instruction". GDB indicates that the error occurs inside gnustep. Inspecting the disassembly finds a reference to the xmm0 register, part of SSE. Another oddity: The cpu is a P3 with SSE so in theory this bug should not cause a crash. Additional info: gnustep-base-1.24.0-2 (i686) http://kmkeen.com/tmp/cenon.gdb https://aur.archlinux.org/packages.php?ID=43645 Steps to reproduce: Build Cenon. Launch. Immediate failure of "Illegal instruction". |
This task depends upon
$ Cenon
Couldn't open file /proc/30931/cmdline when starting gnustep-base; No such file or directory
Your gnustep-base library is compiled for a kernel supporting the /proc filesystem, but it can't access it.
You should recompile or change your kernel.
We try to go on anyway; but the program will ignore any argument which were passed to it.
2012-05-17 14:54:21.498 Cenon[30931] Did not find correct version of backend (libgnustep-back-022.bundle), falling back to std (libgnustep-back.bundle).
2012-05-17 14:54:21.499 Cenon[30931] NSApplication.m:304 Assertion failed in initialize_gnustep_backend. Unable to find backend back
Cenon: Uncaught exception NSInternalInconsistencyException, reason: NSApplication.m:304 Assertion failed in initialize_gnustep_backend. Unable to find backend back
mount -o bind /proc "$chroot_path/proc"
mount -o bind /dev "$chroot_path/dev"
mount -o bind /sys "$chroot_path/sys"
FS#30103?This is all way over my head, but are you sure the problem isn't that it needs SSE2?
I have never been able to run anything built with gnustep on my machine. In fact, I always see errors like this during the build, do you?:
/bin/sh: line 2: 4676 Illegal instruction (core dumped) plmerge Cenon.app/Resources/Info-gnustep.plist "CenonInfo.plist"
Other programs which segfault on this machine tend to require sse2 (e.g. libcef).
https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/gnustep-make
Could someone confirm this assumption?