<p dir="ltr"></p>
<p dir="ltr">On Jul 22, 2016 12:52 PM, "Burton, Ross" <<a href="mailto:ross.burton@intel.com">ross.burton@intel.com</a>> wrote:<br>
><br>
><br>
> On 22 July 2016 at 09:47, Robert Yang <<a href="mailto:liezhi.yang@windriver.com">liezhi.yang@windriver.com</a>> wrote:<br>
>><br>
>> Sorry, updated in the repo:<br>
>><br>
>> git://<a href="http://git.openembedded.org/openembedded-core-contrib">git.openembedded.org/openembedded-core-contrib</a> rbt/pu<br>
><br>
><br>
> And now I notice that its failing on musl:<br>
><br>
> | (cd elfshared; i586-poky-linux-musl-gcc -m32 -march=i586 --sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl/build/build/tmp/sysroots/qemux86 -o libcom_err.so.2.1 \<br>
> | -L../../../lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -fPIC -shared \<br>
> | -Wl,-soname,libcom_err.so.2 error_message.o et_name.o init_et.o com_err.o com_right.o )<br>
> | i586-poky-linux-musl-ar rc libcom_err.a error_message.o et_name.o init_et.o com_err.o com_right.o<br>
> | error_message.o: In function `init_debug':<br>
> | /usr/src/debug/e2fsprogs/1.43.1-r0/git/lib/et/error_message.c:260: undefined reference to `__stack_chk_fail_local'<br>
> | com_err.o: In function `default_com_err_proc':<br>
> | /usr/src/debug/e2fsprogs/1.43.1-r0/git/lib/et/com_err.c:63: undefined reference to `__stack_chk_fail_local'<br>
> | collect2: error: ld returned 1 exit status<br>
><br>
> I guess the hardening needs to be glibc specific? (CC'ing Khem for an opinion).</p>
<p dir="ltr">Musl work that have been done has been using hardening from day 1. So this should be fixed. Musl images work fine with pie<br>
><br>
> Ross<br></p>