]> code.ossystems Code Review - openembedded-core.git/commit
security_flags: Add entry for openssl
authorSaul Wold <sgw@linux.intel.com>
Tue, 3 Dec 2013 22:51:45 +0000 (14:51 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 4 Dec 2013 10:48:40 +0000 (10:48 +0000)
commit55e1c0e66fd16612016b3e415cbfa4e3051e5a8f
tree4b6af42cd948d867cab8114560d53b2c86637219
parent9b4bc93b7281d596b818533e013a13b3b69fea81
security_flags: Add entry for openssl

It seems we might be stumbling over an obscure linkage issues possibly
similar to http://marc.info/?l=openssl-dev&m=130132183118768&w=2

This issue appears for x86-64 systems with the PIE related compiler flags.

libcrypto.a(cryptlib.o): relocation R_X86_64_PC32 against symbol
`OPENSSL_showfatal' can not be used when making a shared object; recompile with -fPIC

The error suggests recompiling with -fPIC, but it is already compiled that
way.

Disable the PIE flags makes it work for now, I have posted to openssl ML

[YOCTO #5515]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/security_flags.inc