[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-users] gpsd fails with Illegal instruction on old Intel CPU

From: Håkan Johansson
Subject: Re: [gpsd-users] gpsd fails with Illegal instruction on old Intel CPU
Date: Sat, 31 Dec 2011 11:41:47 +0100
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)

Probably the illegal instruction is

asm volatile("mfence");

in barrier() in gpsd.h (from gpsd.h-tail). That instruction does not exist on senior x86 CPUs. Where senior is something like age >= Pentium II/III. There was a discussion on the gpsd-dev mailing list end of March about this ("Restrict the barrier() function to x86 and x86_64").


On Sat, 31 Dec 2011, Klaus Klein wrote:

Am 30.12.2011 00:33, schrieb Klaus Klein:
Hi Folks,

I just installed gpsd 3.3-5 under Debian GNU/Linux wheezy/sid
(3.1.0-1-686-pae) on my old Dell Notebook.


Unfortunately the start of gpsd ends with an "Illegal instruction".


Anything I could do to fix this?

I hate to answer my own questions ...

Nevertheless, as described in the thread with the old AMD CPU, compiling with "scons debug=true shm_export=no" seems to fix the problem.

Is this a general issue with 'older' 32-bit CPUs?
Could/will  it be fixed in the near future?

I'll keep testing


reply via email to

[Prev in Thread] Current Thread [Next in Thread]