All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/paxtest: disable on microblaze
@ 2022-06-21 18:36 Fabrice Fontaine
  2022-06-25  6:40 ` Peter Korsgaard
  2022-07-22  6:16 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2022-06-21 18:36 UTC (permalink / raw)
  To: buildroot; +Cc: Matt Weber, Fabrice Fontaine

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 <fontaine.fabrice@gmail.com>
---
 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
-- 
2.35.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/paxtest: disable on microblaze
  2022-06-21 18:36 [Buildroot] [PATCH 1/1] package/paxtest: disable on microblaze Fabrice Fontaine
@ 2022-06-25  6:40 ` Peter Korsgaard
  2022-07-22  6:16 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-06-25  6:40 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Matt Weber, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > 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 <fontaine.fabrice@gmail.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/paxtest: disable on microblaze
  2022-06-21 18:36 [Buildroot] [PATCH 1/1] package/paxtest: disable on microblaze Fabrice Fontaine
  2022-06-25  6:40 ` Peter Korsgaard
@ 2022-07-22  6:16 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-07-22  6:16 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Matt Weber, buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > 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 <fontaine.fabrice@gmail.com>

Committed to 2022.05.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-22  6:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-21 18:36 [Buildroot] [PATCH 1/1] package/paxtest: disable on microblaze Fabrice Fontaine
2022-06-25  6:40 ` Peter Korsgaard
2022-07-22  6:16 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.