glibc: Enable static PIE support
PATCH 1/1 glibc: Enable static PIE support
go programs when compiled with PIE fails otherwise on aarch64
--- meta/recipes-core/glibc/glibc_2.27.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc_2.27.bb +1 -0
@@ -81,6 +81,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --enable-bind-now \ --enable-stack-protector=strong \ --enable-stackguard-randomization \ + --enable-static-pie \ ${GLIBC_EXTRA_OECONF}" EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}"
Signature · 1 line
2.16.2
✗ patchtest: failure for glibc: Enable static PIE support
== Series Details ==
Series: glibc: Enable static PIE support
Revision: 1
URL : https://patchwork.openembedded.org/series/11152/
State : failure
== Summary ==
Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:
* Issue Series does not apply on top of target branch [test_series_merge_on_head]
Suggested fix Rebase your series on top of targeted branch
Targeted branch master (currently at b30153a157)
If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).
---
Guidelines: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest Test suite: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
Would this be the cause of glibc failing to build like this on PPC?
| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/glibc/2.27-r0/recipe-sysroot-native/usr/bin/powerpc-poky-linux.gcc-cross-initial-powerpc/../../libexec/powerpc-poky-linux.gcc-cross-initial-powerpc/gcc/powerpc-poky-linux/7.3.0/ld:
read-only segment has dynamic relocations.
The previous glibc run was all green, added this patch and it fails.
Ross
Quoted 29 lines · Khem Raj
go programs when compiled with PIE fails otherwise on aarch64
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/glibc/glibc_2.27.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-core/glibc/glibc_2.27.bb +1
-1@@ -81,6 +81,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --enable-bind-now \ --enable-stack-protector=strong \ --enable-stackguard-randomization \ + --enable-static-pie \ ${GLIBC_EXTRA_OECONF}" EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" --2.16.2
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 6 lines · Ross
Would this be the cause of glibc failing to build like this on PPC?
|
/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/build/tmp/work/ppc7400-poky-linux/glibc/2.27-r0/recipe-sysroot-native/usr/bin/powerpc-poky-linux.gcc-cross-initial-powerpc/../../libexec/powerpc-poky-linux.gcc-cross-initial-powerpc/gcc/powerpc-poky-linux/7.3.0/ld:
read-only segment has dynamic relocations.
yes, I think we need to enable this option only for x86/x86_64/aarch64 since they alone support static PIE and may be we should limit this to only with security_flags are enabled.
Quoted 36 lines
The previous glibc run was all green, added this patch and it fails.
Ross
Quoted 29 lines · Khem Raj
go programs when compiled with PIE fails otherwise on aarch64
Signed-off-by Khem Raj <[email protected]>--- meta/recipes-core/glibc/glibc_2.27.bb | 1 + 1 file changed, 1 insertion(+)meta/recipes-core/glibc/glibc_2.27.bb +1
-1@@ -81,6 +81,7 @@ EXTRA_OECONF = "--enable-kernel=${OLDEST_KERNEL} \ --enable-bind-now \ --enable-stack-protector=strong \ --enable-stackguard-randomization \ + --enable-static-pie \ ${GLIBC_EXTRA_OECONF}" EXTRA_OECONF += "${@get_libc_fpu_setting(bb, d)}" --2.16.2
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core