Skip to content

native recipes:add option march to BUILD_CFLAGS

Hongxu Jia openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2glib-2.0-native:add option march to BUILD_CFLAGSmeta/recipes-core/glib-2.0/glib-2.0_2.34.3.bb+6 -10 replies
2/2qemu-native:add option march to BUILD_CFLAGSmeta/recipes-devtools/qemu/qemu.inc+5 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2]native recipes:add option march to BUILD_CFLAGS

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(-)
Signature · 1 line
1.7.10.4