From 9e40974572452ebbb2688cda3fb712a2d10a91ef Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Tue, 21 Jun 2022 20:36:25 +0200 Subject: [PATCH] package/paxtest: disable on microblaze Disable paxtest on microblaze to avoid the following build failure: shlibtest.c:9:1: error: requested alignment '65536' exceeds object file maximum 32768 9 | char shbss[PAGE_SIZE_MAX] __pagealigned; | ^~~~ Updating second patch to set PAGE_SIZE_MAX to 32768 will raise another build failure: /tmp/cccMSYDr.s: Assembler messages: /tmp/cccMSYDr.s: Error: PC relative branch to label buf which is not in the instruction space Fixes: - http://autobuild.buildroot.org/results/aba489143b4017617f67c1012bba1f4687708380 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard (cherry picked from commit abfca98ea223397ed502640d6171845f331614a3) Signed-off-by: Peter Korsgaard --- package/paxtest/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/paxtest/Config.in b/package/paxtest/Config.in index 1e09820ba3..565c45cc19 100644 --- a/package/paxtest/Config.in +++ b/package/paxtest/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_PAXTEST bool "paxtest" + depends on !BR2_microblaze # No UCLIBC or MUSL because __NO_A_OUT_SUPPORT depends on BR2_TOOLCHAIN_USES_GLIBC help @@ -8,4 +9,5 @@ config BR2_PACKAGE_PAXTEST http://pax.grsecurity.net/docs comment "paxtest needs a glibc toolchain" + depends on !BR2_microblaze depends on !BR2_TOOLCHAIN_USES_GLIBC