<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 6 March 2017 at 08:13, Andrew Shadura <span dir="ltr"><<a href="mailto:andrew.shadura@collabora.co.uk" target="_blank">andrew.shadura@collabora.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id="gmail-:q3" class="gmail-a3s gmail-aXjCH gmail-m15aa2af2920efb00">Build and install libgs library, which is a build dependency<br>
of a few other libraries, such as libspectre.<br>
<br>
We don't want to ship the executable binaries, only the library and its<br>
headers, hence oe_runmake install-so + rm -rf, not e.g. oe_libinstall.</div></blockquote></div><div class="gmail_extra"><br></div>This fails when security flags are enabled:</div><div class="gmail_extra"><br><div class="gmail_extra">| /data/poky-master/tmp/work/corei7-64-poky-linux/ghostscript/9.20-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/6.3.0/ld: ./soobj/ttfmain.o: relocation R_X86_64_PC32 against symbol `st_ttfInterpreter' can not be used when making a shared object; recompile with -fPIC</div><div class="gmail_extra">| /data/poky-master/tmp/work/corei7-64-poky-linux/ghostscript/9.20-r0/recipe-sysroot-native/usr/bin/x86_64-poky-linux/../../libexec/x86_64-poky-linux/gcc/x86_64-poky-linux/6.3.0/ld: final link failed: Bad value</div><div class="gmail_extra"><br></div><div class="gmail_extra">Ross</div></div></div>