[OE-core] [PATCH v2] ghostscript: build and install libgs

Burton, Ross ross.burton at intel.com
Mon Mar 6 11:57:38 UTC 2017


On 6 March 2017 at 08:13, Andrew Shadura <andrew.shadura at collabora.co.uk>
wrote:

> Build and install libgs library, which is a build dependency
> of a few other libraries, such as libspectre.
>
> We don't want to ship the executable binaries, only the library and its
> headers, hence oe_runmake install-so + rm -rf, not e.g. oe_libinstall.
>

This fails when security flags are enabled:

|
/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
|
/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

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170306/64fac0b0/attachment-0002.html>


More information about the Openembedded-core mailing list