View previous topic :: View next topic |
Author |
Message |
aleiphoenix n00b
Joined: 03 Sep 2012 Posts: 27
|
Posted: Tue Oct 08, 2013 10:44 am Post subject: Illegal Instruction with Xeon E5-2630L |
|
|
Hi, I'm using gentoo on Linode VPS with a CPU which type is Xeon E5-2630L
I get the CFLGAS settings from
Code: |
echo "int main(){return 0;}" > test.c && cc -v -Q -march=native -O2 -pipe test.c -o test && ./test && rm test test.c
|
which output
Code: |
options passed: -v test.c -march=corei7-avx -mcx16 -msahf -mno-movbe
-maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop
-mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32
--param l1-cache-line-size=64 --param l2-cache-size=15360 -mtune=generic
-O2
|
but after re-emerged something (say nano), I got "Illegal Instruction".
Anyone tells me why corei7-avx not working with E5-2630L (nor "native") ?
Thanks.
I'm now using -march=core2
/proc/cpuinfo
Code: |
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz
stepping : 7
microcode : 0x70d
cpu MHz : 2000.058
cache size : 15360 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 40
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm constant_tsc rep_good nopl nonstop_tsc pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb pln pts dtherm
bogomips : 4000.11
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
|
|
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
aleiphoenix n00b
Joined: 03 Sep 2012 Posts: 27
|
Posted: Wed Oct 09, 2013 11:19 am Post subject: |
|
|
eyoung100 wrote: | Look at the Safe CFlags. The Closest You can get is:
Code: | vendor_id : GenuineIntel
cpu family : 6
model : 42 |
42 < 45 < 60. You cannot use 60
|
OK, this make sense.
Thanks! |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
yoshi314 l33t
Joined: 30 Dec 2004 Posts: 850 Location: PL
|
Posted: Thu Oct 10, 2013 10:39 am Post subject: |
|
|
Code: | gcc -march=native -E -v - </dev/null 2>&1 |
should post closest result. You don't need all the parameters it spits out, just look what cpu unit it suggests. _________________ ~amd64
shrink your /usr/portage with squashfs+aufs |
|
Back to top |
|
|
|