libopenblas-base crashes octave
When the libopenblas-base package is installed, using the plot function in octave causes a crash
For example, when running plot(1)
Octave reports
```
panic: Illegal instruction -- stopping myself...
attempting to save variables to 'octave-
save to 'octave-workspace' complete
Illegal instruction
```
Using GDB to debug, it reports
```
Program received signal SIGILL, Illegal instruction.
0x00007fffed1c3220 in dgemm_otcopy_
```
Getting more info
```
(gdb) info line *0x00007fffed1c3220
No line number information available for address 0x7fffed1c3220 <dgemm_
```
Disassembling the code,
```
(gdb) disassemble /r 0x00007fffed1c3
Dump of assembler code from 0x7fffed1c3200 to 0x7fffed1c3224:
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
0x00007fffed
=> 0x00007fffed1c3220 <dgemm_
0x00007fffed
End of assembler dump.
```
It seems the problem is with the FEMMS instruction. I am running this on an AMD Opteron 23xx, which should have the 3dnow! extensions, but I do not see it in cpuinfo
```
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 6
model name : AMD Opteron 23xx (Gen 3 Class Opteron)
stepping : 1
microcode : 0x1000065
cpu MHz : 2299.998
cache size : 512 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl extd_apicid pni cx16 x2apic popcnt hypervisor abm sse4a misalignsse 3dnowprefetch vmmcall
bugs : fxsave_leak sysret_ss_attrs
bogomips : 4599.99
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management:
```
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu openblas Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: