Return-Path: Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C7091E00804 for ; Fri, 24 Jan 2014 02:21:42 -0800 (PST) Received: from [178.254.4.81] (helo=webmail.1blu.de) by ms-10.1blu.de with esmtpa (Exim 4.76) (envelope-from ) id 1W6dtJ-0005hf-ND for yocto@yoctoproject.org; Fri, 24 Jan 2014 11:21:37 +0100 MIME-Version: 1.0 Date: Fri, 24 Jan 2014 11:21:37 +0100 From: yoctolist@progserv.de To: Mail-Reply-To: Message-ID: X-Sender: yoctolist@progserv.de User-Agent: 1blu Webmail/0.7.1 X-Con-Id: 162057 X-Con-U: 0-2662527 X-Originating-IP: 178.254.4.81 Subject: Smart - "Illegal instruction" X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: yoctolist@progserv.de List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 10:21:45 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hello, I have a problem with "smart". Output: ----- snip --------- root@vld:~# smart Illegal instruction root@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