From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TsrXx-0001mn-Eh for openembedded-core@lists.openembedded.org; Wed, 09 Jan 2013 10:02:12 +0100 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id r098kpjq020099 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 9 Jan 2013 00:46:51 -0800 (PST) Received: from pek-hjia-d1.corp.ad.wrs.com (128.224.162.131) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.318.4; Wed, 9 Jan 2013 00:46:49 -0800 From: Hongxu Jia To: Date: Wed, 9 Jan 2013 16:46:45 +0800 Message-ID: X-Mailer: git-send-email 1.7.10.4 MIME-Version: 1.0 Subject: [PATCH 0/2]native recipes:add option march to BUILD_CFLAGS X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2013 09:02:20 -0000 Content-Type: text/plain Add option -march to BUILD_CFLAGS in order to let the atomic operations ("lock free") be available while using old version GCC on x86 host to compile glib-2.0-native. It's a bad idea to modify bitbake.conf to add option -march to BUILD_CFLAGS, because it's global and its side effect is unknown, such as beecrypt-native do_compile will fail if we do that. So it's best to test most of the native recipes to have a check about the similar problem and fix them separately. The glib-2.0-native and qemu-native need to be fixed. [YOCTO #3563] The following changes since commit 7e1f8faad0c4b6f490c26f87acc698dd6e002b15: perl: Remove bashism from perl-tests.inc (2013-01-07 22:37:37 +0000) are available in the git repository at: git://git.pokylinux.org/poky-contrib hongxu/glib-2.0-native http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/glib-2.0-native Hongxu Jia (2): glib-2.0-native:add option march to BUILD_CFLAGS qemu-native:add option march to BUILD_CFLAGS meta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb | 7 ++++++- meta/recipes-devtools/qemu/qemu.inc | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) -- 1.7.10.4