[yocto] Smart - "Illegal instruction"

yoctolist at progserv.de yoctolist at progserv.de
Fri Jan 24 02:21:37 PST 2014


Hello,

I have a problem with "smart".

Output:
----- snip ---------
root at vld:~# smart
Illegal instruction
root at vld:~#
----- snap ---------

The coredump of that call brings the following result:
----- snip ---------
Core was generated by `python /usr/bin/smart'.
Program terminated with signal 4, Illegal instruction.
#0  strop_maketrans (self=0x0, args=0xb770d18c) at 
/usr/src/debug/python/2.7.3-r0.3/Python-2.7.3/Modules/stropmodule.c:928
928             c[i]=(unsigned char)i;
(gdb)
----- snap ---------

The problem arises on a system with the following processor:
----- snip ---------
Jan 22 09:50:16 vld kernel: smpboot: CPU0: Mobile AMD Sempron(tm) 
Processor 2100+ (fam: 0f, model: 6c, stepping: 02)
Jan 22 09:50:16 vld kernel: Performance Events: AMD PMU driver.
Jan 22 09:50:16 vld kernel: ... version:                0
Jan 22 09:50:16 vld kernel: ... bit width:              48
Jan 22 09:50:16 vld kernel: ... generic registers:      4
Jan 22 09:50:16 vld kernel: ... value mask:             
0000ffffffffffff
Jan 22 09:50:16 vld kernel: ... max period:             
00007fffffffffff
Jan 22 09:50:16 vld kernel: ... fixed-purpose events:   0
Jan 22 09:50:16 vld kernel: ... event mask:             
000000000000000f
Jan 22 09:50:16 vld kernel: Brought up 1 CPUs
----- snap ---------

On a system with an atom processor the problem does not arise.

I am building a "core-image-basic" with MACHINE "genericx86".

It seems to be a build problem of python, because also other python 
elements lead to “illegal instruction” (e.g. “import web”).
As far as testable, all other binaries run perfectly.

Questions:
where is the right place to make changes?
- python recipe?
- compiler recipe?

Do I have to define a new BSP?

Did anyone have a similar problem and could give me some advice?

Thanks in advance,

Siegfried




More information about the yocto mailing list