gateway@a:~/work$ ./run-primecoind: line 1: 14844 Illegal instruction (core dumped) primecoind > /dev/null 2>&1
./run-primecoind: line 1: 14847 Illegal instruction (core dumped) primecoind > /dev/null 2>&1
./run-primecoind: line 1: 14850 Illegal instruction (core dumped) primecoind > /dev/null 2>&1
./run-primecoind: line 1: 14853 Illegal instruction (core dumped) primecoind > /dev/null 2>&1
./run-primecoind: line 1: 14856 Illegal instruction (core dumped) primecoind > /dev/null 2>&1
You can type killall run-primecoind to kill the script if you haven't already.
GCC is misdetecting your CPU and compiling wrong set of instructions into the binary. I removed the -march=native compiler flag from the instructions. I guess I'll have to leave it out if it's causing too many problems.
Ok ill try again, this is my cpu's
processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 45
model name : Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
stepping : 7
microcode : 0x70d
cpu MHz : 2600.072
cache size : 20480 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 10
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 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb pln pts dtherm
bogomips : 5200.14
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management: