kraj / meta-musl

Provide musl as system C library for OpenEmbedded/Yocto
MIT License
22 stars 6 forks source link

coreutils not buildabale #13

Open zecke opened 9 years ago

zecke commented 9 years ago
| /home/hfreyther/images/poky/build/tmp/work/armv5e-poky-linux-musleabi/coreutils/8.24-r0/coreutils-8.24/src/sync.c: In function 'sync_arg':
| /home/hfreyther/images/poky/build/tmp/work/armv5e-poky-linux-musleabi/coreutils/8.24-r0/coreutils-8.24/src/sync.c:144:23: error: void value not ignored as it ought to be
|            sync_status = syncfs (fd);
|                        ^
| make[2]: *** [src/sync.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| arm-poky-linux-musleabi-ranlib lib/libcoreutils.a
| make[2]: Leaving directory `/home/hfreyther/images/poky/build/tmp/work/armv5e-poky-linux-musleabi/coreutils/8.24-r0/build'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/hfreyther/images/poky/build/tmp/work/armv5e-poky-linux-musleabi/coreutils/8.24-r0/build'
| make: *** [all] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/hfreyther/images/poky/build/tmp/work/armv5e-poky-linux-musleabi/coreutils/8.24-r0/temp/log.do_compile.6369)
ERROR: Task 1723 (/home/hfreyther/images/poky/meta/recipes-core/coreutils/coreutils_8.24.bb, do_compile) failed with exit code '1'
| make[2]: *** [src/sync.o] Error 1
kraj commented 9 years ago

We need to apply http://www.openwall.com/lists/musl/2015/07/09/5 to musl, I am chasing it upstream meanwhile can you try compiling musl with this in your local sandbox and report if it fixes build for you