Patchwork [V2,0/2] fix native package compile error with gcc 4.3.4 on x86 host

mail settings
Submitter Hongxu Jia
Date Feb. 21, 2013, 6:23 a.m.
Message ID <>
Download mbox
Permalink /patch/44963/
State New
Headers show


git:// hongxu/glib-2.0-native


Hongxu Jia - Feb. 21, 2013, 6:23 a.m.
Change from V1: rebase to commit f9b894eaba94763a8ec790f8635f58b4e7e05381

Add an option `-march' to BUILD_CFLAGS, GCC 4.3.4 on x86 host needs this
option to let the atomic operations ("lock free") be available while it
is used 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 c7b23ab68aafc04d9830ef318015912e5d4f0672: update ownership of recipes (2013-02-17 22:33:30 +0000)

are available in the git repository at:

  git:// hongxu/glib-2.0-native

Hongxu Jia (2):
  glib-2.0-native:fix do_configure failed with gcc 4.3.4 on x86 host
  qemu-native:fix do_compile failed with gcc 4.3.4 on x86 host

 meta/recipes-core/glib-2.0/ |    5 +++++
 meta/recipes-devtools/qemu/           |    5 +++++
 2 files changed, 10 insertions(+)