Your message dated Sun, 15 Nov 2020 10:47:01 -0600
with message-id <11636185.O9o76ZdvQC@riemann>
and subject line Re: libgmp10: Pentium 1 Mobile CPU detected as MMX capable
resulting in illegal instruction crash.
has caused the Debian Bug report #896188,
regarding libgmp10: Pentium 1 Mobile CPU detected as MMX capable resulting in
illegal instruction crash.
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
896188: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896188
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libgmp10
Version: 2:6.0.0+dfsg-6
Severity: important
Tags: patch
Dear Maintainer,
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
Starting elinks and going to any https page resulted in illegal instruction
from libgmp.
Also wget -O /dev/null -o /dev/null https://google.com resulted in the
crash.
dmesg:
[79118.429854] traps: wget[1193] trap invalid opcode ip:b7ac1600
sp:bffdab94 error:0 in libgmp.so.10.2.0[b7a93000+8e000]
I assume that any other program calling libgmp functions which use MMX
would crash as well.
The issue is caused by wrong MMX detection where gmp assumes that MMX is
present.
* What exactly did you do (or not do) that was effective (or
ineffective)?
I have downloaded source package of gmp, applied one line patch in
mpn/x86/fat/fat.c, compiled it and installed.
* What was the outcome of this action?
No more crashes on my system
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
Since the Debian 8 is the last release supporting old 32bit hardware I
reccomend backporting a patch from the upstream.
The patch itself is a simple one to be found at
https://gmplib.org/repo/gmp/rev/cd5e58236267 [Fix old pentium recog.]
and also maybe https://gmplib.org/repo/gmp/rev/4117847f9e8b but i didnt
change config.guess during my test above.
My CPU is Mobile Pentium 75 - 200 and does not have MMX indeed.
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 7
model name : Mobile Pentium 75 - 200
stepping : 0
cpu MHz : 74.871
fdiv_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8 cpuid
bugs : f00f
bogomips : 149.74
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:
-- System Information:
Debian Release: 8.10
APT prefers oldstable
APT policy: (500, 'oldstable')
Architecture: i386 (i586)
Kernel: Linux 4.16.0-v1
Locale: LANG=sk_SK.UTF-8, LC_CTYPE=sk_SK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libgmp10 depends on:
ii libc6 2.19-18+deb8u10
ii multiarch-support 2.19-18+deb8u10
libgmp10 recommends no packages.
libgmp10 suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Fri, 20 Apr 2018 15:39:58 +0000 Martin Kopun <[email protected]>
wrote:
> Package: libgmp10
> Version: 2:6.0.0+dfsg-6
> The patch itself is a simple one to be found at
> https://gmplib.org/repo/gmp/rev/cd5e58236267 [Fix old pentium recog.]
Closing after verifying that this patch is part of 6.2.
-Steve
signature.asc
Description: This is a digitally signed message part.
--- End Message ---