On Fri, Jan 8, 2016 at 6:00 AM, Burton, Ross <ross.bur...@intel.com> wrote: > > On 8 January 2016 at 10:19, Khem Raj <raj.k...@gmail.com> wrote: >> >> This set of fixes let core-image-full-cmdline build with musl along with >> core-image-sato >> and core-image-weston > > > Hm, for some reason, this doesn't work for me.
I think x86 includes more packages than other arches in these images. full-cmdline image is pretty new it hasnt yet been tested on all architectures only qemuarm is where I got it to work. > > Lots and lots of "files installed but not packaged", all locales. eg > /usr/lib/locale/hu/LC_MESSAGES/glib20.mo in glib-2.0. > > systemd fails with this error, over and over: systemd does not work with musl. I have patches in my tree to fix the build but then it does not run :(. musl and systemd has different goals, right now I am not putting lot of efforts to bridge the gap. Patches are here https://github.com/kraj/systemd/commits/oe/master > > | > /data/poky-master/tmp/work/i586-poky-linux-musl/systemd/1_228+gitAUTOINC+dd050decb6-r0/git/src/basic/util.h:96:70: > error: unknown type name 'comparison_fn_t' > | static inline void qsort_safe(void *base, size_t nmemb, size_t size, > comparison_fn_t compar) { > > Also I presume you're not building with debugging tools enabled because > oprofile fails to build: > > | make[2]: Entering directory > '/data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/build/pe_profiling' > | i586-poky-linux-musl-g++ -m32 -march=i586 > --sysroot=/data/poky-master/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. > -I/data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/pe_profiling > -I.. -I > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/libutil > -I > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/libop > -I > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/libutil++ > -I > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/libperf_events > -I > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/libpe_utils > -I/data/poky-master/tmp/sysroots/qemux86/usr/include -W -Wall -fno-common > -ftemplate-depth-50 -O2 -pipe -g -feliminate-unused-debug-types > -fvisibility-inlines-hidden -c -o operf.o > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/pe_profiling/operf.cpp > | > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/pe_profiling/operf.cpp: > In function 'int __delete_old_previous_sample_data(const char*, const stat*, > int, FTW*)': > | > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/pe_profiling/operf.cpp:862:10: > error: 'FTW_STOP' was not declared in this scope > | return FTW_STOP; > | ^ > | > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/pe_profiling/operf.cpp:864:10: > error: 'FTW_CONTINUE' was not declared in this scope > | return FTW_CONTINUE; > | ^ > | > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/pe_profiling/operf.cpp: > In function 'void convert_sample_data()': > | > /data/poky-master/tmp/work/i586-poky-linux-musl/oprofile/1.1.0-r0/oprofile-1.1.0/pe_profiling/operf.cpp:899:41: > error: 'FTW_ACTIONRETVAL' was not declared in this scope > | int flags = FTW_DEPTH | FTW_ACTIONRETVAL; > | ^ > | Makefile:451: recipe for target 'operf.o' failed > > I presume this is another "link to fts" case. > > Ross -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core