FS#41747 - [chromium] Chromium is compiled with SSE2 extensions (SIGILL)

Attached to Project: Arch Linux
Opened by Grzegorz Antoniak (antekone) - Friday, 29 August 2014, 07:07 GMT
Last edited by Doug Newgard (Scimmia) - Friday, 29 August 2014, 12:49 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Chromium seems to be compiled with SSE2 extensions enabled. Since the package is marked as i686-compatible, I consider this to be a bug, because i686 doesn't contain SSE2.

Additional info:

I've checked this first on this version:

(2:506)$ pacman -Qo chromium
/usr/bin/chromium jest własnością chromium 36.0.1985.143-1

Later, after Chromium update, this version has the same problem:

(2:509)$ pacman -Qo chromium
/usr/bin/chromium jest własnością chromium 37.0.2062.94-1

This is my CPU:
(2:504)$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm) XP 3200+
stepping : 0
cpu MHz : 2205.016
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 4411.78
clflush size : 32
cache_alignment : 32
address sizes : 34 bits physical, 32 bits virtual
power management: ts

Steps to reproduce:

1. Acquire an i686 CPU (i.e. AMD Athlon(tm) XP 3200+)

2. Run chromium.

Example:

(2:503)$ gdb -q /usr/lib/chromium/chromium
Reading symbols from /usr/lib/chromium/chromium...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/lib/chromium/chromium
[...]

Program received signal SIGILL, Illegal instruction.
0x80a6d5f4 in tcmalloc::SizeMap::Init() ()
(gdb) x/16i $eip
=> 0x80a6d5f4 <_ZN8tcmalloc7SizeMap4InitEv+52>: movsd -0x1156bc8(%ecx),%xmm0
0x80a6d5fc <_ZN8tcmalloc7SizeMap4InitEv+60>: movaps %xmm0,0x50(%esp)
0x80a6d601 <_ZN8tcmalloc7SizeMap4InitEv+65>: movsd -0x1156a10(%ecx),%xmm0
0x80a6d609 <_ZN8tcmalloc7SizeMap4InitEv+73>: movsd %xmm0,0x48(%esp)
0x80a6d60f <_ZN8tcmalloc7SizeMap4InitEv+79>: mov $0x8,%esi
This task depends upon

Closed by  Doug Newgard (Scimmia)
Friday, 29 August 2014, 12:49 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#40479 
Comment by Jan de Groot (JGC) - Friday, 29 August 2014, 08:54 GMT
SSE2 is a requirement for Chromium, we can't change much in that. Upstream has wrecked all non-SSE2 support: https://code.google.com/p/chromium/issues/detail?id=348761

Loading...