]> code.ossystems Code Review - openembedded-core.git/commit
rng-tools: Fix textrels on 32bit x86
authorKhem Raj <raj.khem@gmail.com>
Fri, 9 Jun 2017 03:41:35 +0000 (20:41 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Jun 2017 14:04:12 +0000 (15:04 +0100)
commit5770cd5bee1c9ad3025435426361f0e407d43ef8
treec7a4a8fa2fe035024bb030dfd04ad3a9fd113989
parentba7e5f51327d9833776aa066f30c5e46606be374
rng-tools: Fix textrels on 32bit x86

When testing core-image-sato with hardening flags, it fails with
SIGSEGV in libc.so during relocation time

This is due to relocations in .text [textrel]
build QA points it out clearly during qemux86 build as well

AssertionError: 2 != 0 : Log: /mnt/a/oe/build/tmp/work/qemux86-bec-linux-musl/core-image-sato/1.0-r0/dmesg_output.log
-----------------------
Central error: [   19.043597] rngd[525]: segfault at 80098bb7 ip b77b14fc sp bfe9b380 error 7 in libc.so[b774c000+97000]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/rng-tools/rng-tools/rng-tools-5-fix-textrels-on-PIC-x86.patch [new file with mode: 0644]
meta/recipes-support/rng-tools/rng-tools_5.bb