diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-08 20:41:35 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-12 15:08:31 +0100 |
commit | b28034878a5686870c13c2ee4f0c0c1c1ddc1902 (patch) | |
tree | bf6e4d74cef23de246578e88ea7e77bb295b7c8a /meta/recipes-support/rng-tools/rng-tools_5.bb | |
parent | 5c9acfbeaa67b3d85e7bb9fd46be445ea179c2fa (diff) | |
download | poky-b28034878a5686870c13c2ee4f0c0c1c1ddc1902.tar.gz |
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]
(From OE-Core rev: 5770cd5bee1c9ad3025435426361f0e407d43ef8)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/rng-tools/rng-tools_5.bb')
-rw-r--r-- | meta/recipes-support/rng-tools/rng-tools_5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-support/rng-tools/rng-tools_5.bb b/meta/recipes-support/rng-tools/rng-tools_5.bb index 9329e8ad31..e2acaba91a 100644 --- a/meta/recipes-support/rng-tools/rng-tools_5.bb +++ b/meta/recipes-support/rng-tools/rng-tools_5.bb | |||
@@ -7,6 +7,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gkernel/${BP}.tar.gz \ | |||
7 | file://0002-Add-argument-to-control-the-libargp-dependency.patch \ | 7 | file://0002-Add-argument-to-control-the-libargp-dependency.patch \ |
8 | file://underquote.patch \ | 8 | file://underquote.patch \ |
9 | file://uclibc-libuargp-configure.patch \ | 9 | file://uclibc-libuargp-configure.patch \ |
10 | file://rng-tools-5-fix-textrels-on-PIC-x86.patch \ | ||
10 | file://init \ | 11 | file://init \ |
11 | file://default" | 12 | file://default" |
12 | 13 | ||