Bug 1402 - x32: valgrind fails to compile
Summary: x32: valgrind fails to compile
Status: RESOLVED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: Low minor
Target Milestone: Future
Assignee: sweeaun
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 3437
  Show dependency tree
 
Reported: 2011-08-25 14:16 UTC by Nitin Kamble
Modified: 2017-08-22 01:28 UTC (History)
13 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Kamble 2011-08-25 14:16:41 UTC
ERROR: Task 5365 (/home/nitin/prj/poky.git/meta/recipes-multimedia/gstreamer/gst-fluendo-mpegdemux_0.10.67.bb, do_configure) failed with exit code '1'
ERROR: Function 'do_configure' failed (see /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/temp/log.do_configure.7953 for further information)
ERROR: Logfile of failure stored in: /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/temp/log.do_configure.7953
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-32', 'ix86-common', 'x86_64-linux-gnux32', 'common']
| automake (GNU automake) 1.11.1
| Copyright (C) 2009 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| Written by Tom Tromey <tromey@redhat.com>
|        and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1.11
| NOTE: Executing autoreconf --verbose --install --force --exclude=autopoint -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/
| autoreconf: Entering directory `.'
| autoreconf: configure.in: not using Gettext
| autoreconf: running: aclocal -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 -I /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --force --warnings=cross
| aclocal: unknown warning category `cross'
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: configure.in: tracing
| configure.in:1471: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/autoconf/general.m4:2743: AC_RUN_IFELSE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:2026: AC_CACHE_VAL is expanded from...
| ../../lib/autoconf/general.m4:2047: AC_CACHE_CHECK is expanded from...
| configure.in:1471: the top level
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: configure.in: not using Libtool
| autoreconf: running: /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --force --warnings=cross
| configure.in:1471: warning: AC_RUN_IFELSE called without default to allow cross compiling
| ../../lib/autoconf/general.m4:2743: AC_RUN_IFELSE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:1463: AC_ARG_ENABLE is expanded from...
| ../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
| ../../lib/autoconf/general.m4:2026: AC_CACHE_VAL is expanded from...
| ../../lib/autoconf/general.m4:2047: AC_CACHE_CHECK is expanded from...
| configure.in:1471: the top level
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: running: /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/bin/autoheader --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.11 --include=/disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/aclocal-copy/ --force --warnings=cross
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: running: automake --foreign --add-missing --copy --force-missing --warnings=cross
| automake: unknown warning category `cross'
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: running: gnu-configize
| configure.in:1821: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1821: the top level
| configure.in:1856: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
| ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
| ../../lib/autoconf/general.m4:2656: _AC_LINK_IFELSE is expanded from...
| ../../lib/autoconf/general.m4:2673: AC_LINK_IFELSE is expanded from...
| configure.in:1856: the top level
| autoreconf: Leaving directory `.'
| NOTE: Running /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/valgrind-3.6.1/configure 		 --build=x86_64-linux   --host=x86_64-poky-linux-gnux32 		  --target=x86_64-poky-linux-gnux32 		  --prefix=/usr 		  --exec_prefix=/usr 		  --bindir=/usr/bin 		  --sbindir=/usr/sbin 		  --libexecdir=/usr/libexec 		  --datadir=/usr/share 		  --sysconfdir=/etc 		  --sharedstatedir=/com 		  --localstatedir=/var 		  --libdir=/usr/lib 		  --includedir=/usr/include 		  --oldincludedir=/usr/include 		  --infodir=/usr/share/info 		  --mandir=/usr/share/man 		  --disable-silent-rules 		  --with-libtool-sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 --enable-tls ...
| configure: WARNING: unrecognized options: --disable-silent-rules, --with-libtool-sysroot
| configure: loading site script /home/nitin/prj/poky.git/meta/site/endian-little
| configure: loading site script /home/nitin/prj/poky.git/meta/site/common-linux
| configure: loading site script /home/nitin/prj/poky.git/meta/site/common-glibc
| configure: loading site script /home/nitin/prj/poky.git/meta/site/ix86-common
| configure: loading site script /home/nitin/prj/poky.git/meta/site/common
| configure: loading site script /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64/usr/share/x86_64-poky-linux-gnux32_config_site.d/zlib_config
| configure: loading site script /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64/usr/share/x86_64-poky-linux-gnux32_config_site.d/ncurses_config
| configure: loading site script /disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64/usr/share/x86_64-poky-linux-gnux32_config_site.d/glibc_config
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for x86_64-poky-linux-gnux32-strip... x86_64-poky-linux-gnux32-strip
| checking for a thread-safe mkdir -p... /bin/mkdir -p
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking whether to enable maintainer-specific portions of Makefiles... no
| checking whether ln -s works... yes
| checking for x86_64-poky-linux-gnux32-gcc... ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64
| checking whether the C compiler works... yes
| checking for C compiler default output file name... a.out
| checking for suffix of executables...
| checking whether we are cross compiling... yes
| checking for suffix of object files... o
| checking whether we are using the GNU C compiler... yes
| checking whether ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 accepts -g... yes
| checking for ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 option to accept ISO C89... none needed
| checking for style of include used by make... GNU
| checking dependency style of ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64... gcc3
| checking whether ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 and cc understand -c and -o together... yes
| checking how to run the C preprocessor... x86_64-poky-linux-gnux32-gcc -E --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64   -mx32
| checking whether we are using the GNU C++ compiler... yes
| checking whether ccache x86_64-poky-linux-gnux32-g++   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64 accepts -g... yes
| checking dependency style of ccache x86_64-poky-linux-gnux32-g++   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64... gcc3
| checking for x86_64-poky-linux-gnux32-ranlib... x86_64-poky-linux-gnux32-ranlib
| checking for a sed that does not truncate output... /bin/sed
| checking for perl... /usr/bin/perl
| checking for gdb... /usr/bin/gdb
| checking dependency style of ccache x86_64-poky-linux-gnux32-gcc   -mx32  --sysroot=/disk0/pokybuild/build-multilib-x32-qemu/tmp/sysroots/qemux86-64... gcc3
| checking for diff -u... yes
| checking for a supported version of gcc... ok (86)
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... x86_64-poky-linux-gnux32
| checking for a supported CPU... ok (x86_64)
| checking for a 64-bit only build... no
| checking for a 32-bit only build... no
| checking for a supported OS... ok (linux-gnux32)
| checking for the kernel version... 3 family (3.1.0-0.rc2.git0.1.fc17.x86_64)
| checking for 32 bit build support... no
| checking for a supported CPU/OS combination... ok (amd64-linux)
| checking for use as an inner Valgrind... no
| checking for grep that handles long lines and -e... /bin/grep
| checking for egrep... /bin/grep -E
| checking for ANSI C header files... (cached) yes
| checking for sys/types.h... (cached) yes
| checking for sys/stat.h... (cached) yes
| checking for stdlib.h... (cached) yes
| checking for string.h... (cached) yes
| checking for memory.h... (cached) yes
| checking for strings.h... (cached) yes
| checking for inttypes.h... (cached) yes
| checking for stdint.h... (cached) yes
| checking for unistd.h... (cached) yes
| checking for features.h... (cached) yes
| checking the GLIBC_VERSION version... unsupported version 2.14
| configure: error: Valgrind requires glibc version 2.2 - 2.13
| ERROR: oe_runconf failed
| ERROR: Function 'do_configure' failed (see /disk0/pokybuild/build-multilib-x32-qemu/tmp/work/x86_64-x32-poky-linux-gnux32/valgrind-3.6.1-r1/temp/log.do_configure.7953 for further information)
NOTE: package valgrind-3.6.1-r1: task do_configure: Failed
Comment 1 Nitin Kamble 2011-12-01 10:39:54 UTC
as of 12/1
 still see the same issue, need valgrind which can work with eglibc 2.14.
Comment 2 Nitin Kamble 2011-12-15 13:47:23 UTC
I tried 3.7.0 version of valgrind, which does not have the eglibc issue. But still lot of assembly lines & and code needs to change to support x32. 
  Also x32 target valgrind needs x32 developer machine, which is still in the future. so we can reduce the priority for this.

Nitin
Comment 3 Nitin Kamble 2012-06-13 14:18:46 UTC
You can work with H J Ju for this bug.
Comment 4 Darren Hart 2012-09-14 14:14:51 UTC
Nitin or Radu, can you please retest?
Comment 5 Radu Moisan 2012-09-24 11:43:12 UTC
I need steps to reproduce. Nitin can you help?
Comment 6 Nitin Kamble 2012-09-24 17:10:44 UTC
This task is lot of work. I will ping HJ if he has any update on this.
Comment 7 Radu Moisan 2012-09-26 08:18:55 UTC
Any update Nitin?
Comment 8 Radu Moisan 2012-09-26 08:30:30 UTC
I can't get it to compile. I need instructions to get this build started.
Comment 9 Radu Moisan 2012-09-26 12:46:51 UTC
My setup is:

Build Configuration:
BB_VERSION        = "1.15.3"
TARGET_ARCH       = "x86_64"
TARGET_OS         = "linux-gnux32"
MACHINE           = "qemux86-64"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120926"
TUNE_FEATURES     = "mx32"
TARGET_FPU        = ""
meta              
meta-yocto        
meta-yocto-bsp    = "master:e8738b83b70eb794c5509ec7706bf64c68249af1"

Please correct me if not appropriate in some way.
Comment 10 Radu Moisan 2012-09-26 12:54:30 UTC
tried core-image-minimal and core-image-lsb but in both cases the build blows up when eglibc is compiled.
Comment 11 Nitin Kamble 2012-09-26 16:00:57 UTC
Radu,
  HJ Lu is on sabbatical now, so I could not get latest update from him on this, and AFAIK valgrind is not ported to x32 yet. To work on this task, you will need to understand the x32 ABI, the pdf is here: https://sites.google.com/site/x32abi/documents/x32-abi-1.0.pdf?attredirects=0&d=1 . And also you will need to understand valgrind source code. And as per the x32 EFI specifications you will need to add x32 support in valgrind. It is a not a quick task, and requires understanding of x32 EFI specifications, and inner-working of valgrind.

Nitin
Comment 12 Nitin Kamble 2012-09-26 16:01:45 UTC
(In reply to comment #10)
> tried core-image-minimal and core-image-lsb but in both cases the build
> blows up when eglibc is compiled.

Radu, Check with Saul, he was able to build x32 image lately.
- Nitin
Comment 13 Nitin Kamble 2012-09-27 00:31:58 UTC
Radu,
  Are you building with the meta-x32 layer? FYI That layer is not needed anymore as it is collapsed into poky layer.

Nitin
Comment 14 Song Liu 2012-10-01 19:44:14 UTC
Moved to 1.4 as this seems to be too much an effort for 1.3 stabilization.
Comment 15 Stoicescu Cornel 2013-02-27 15:37:06 UTC
@Nitin: Can you please provide Radu with the necessary steps to test this issue? Example: how did you get to that error output?

Thanks!
Comment 16 Saul Wold 2013-04-02 19:30:16 UTC
Here are the steps I took for this:

Add the requisite x32 enablers to your local.conf:

 DEFAULTTUNE = "x86-64-x32"
baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or 'lib'}"

bitbake valgrind

wait for it to fail!

I am getting a different failure than the configuration failure below, I am now seeing to get into the compile phase and fail with a missing file:

grind/3.8.1-r8/valgrind-3.8.1/coregrind/m_debugger.c:33:
| /srv/hdd/builds/x32/build/tmp/sysroots/qemux86-64/usr/include/gnu/stubs.h:10:27: fatal error: gnu/stubs-64.h: No such file or directory
Comment 17 Saul Wold 2013-07-22 14:50:54 UTC
Should have the information to reproduce the failure now.
Comment 18 Saul Wold 2017-03-20 16:49:22 UTC
Please verify this is still an issue
Comment 19 Christopher Larson 2017-03-20 17:36:35 UTC
Valgrind still does not seem to support x32:

| checking for diff -u... yes
| checking for a supported version of gcc... ok (6.2.0)
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... x86_64-oe-linux-gnux32
| checking for a supported CPU... ok (x86_64)
| checking for a 64-bit only build... no
| checking for a 32-bit only build... yes
| checking for a supported OS... ok (linux-gnux32)
| checking for the kernel version... 2.6 or later (3.13.0-24-generic)
| checking for 32 bit build support... no
| configure: error: --enable-only32bit was specified but system does not support 32 bit builds
| ERROR: Function failed: do_configure (log file is located at /data/kergoth/mel/yocto/memory-profiling/build/tmp-glibc/work/core2-64-x32-oe-linux-gnux32/valgrind/3.12.0-r0/temp/log.do_configure.18181)
ERROR: Task (/data/kergoth/mel/yocto/memory-profiling/oe-core/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb:do_configure) failed with exit code '1'

That said, I'm not sure adding support for it to the upstream project lies in our area of responsibility. We already have a COMPATIBLE_HOST so it's seen as unbuildable for x32. I'm inclined to say we close this as resolved wontfix until such time as upstream supports it, or someone inclined to add such support shows up.
Comment 20 sweeaun 2017-08-22 01:28:12 UTC
Adding change to disable x32 build for musl library build. Closed this bug as wontfix for now. 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d654f4934d9c877167c69216aabb80ff75beff40