All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/ltp-testsuite: remove 5.11 headers requirement for musl
@ 2023-04-17 19:14 Petr Vorel
  2023-04-17 19:39 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Vorel @ 2023-04-17 19:14 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Anders Roxell, Yann E . MORIN

From: Petr Vorel <petr.vorel@gmail.com>

5e1c238b72 ("package/ltp-testsuite: require 5.11 headers for musl")
added a 5.11 headers requirement for musl, which contains fix
a85cbe6159ff ("uapi: move constants from <linux/kernel.h> to <linux/const.h>").

This effectively disables LTP on all musl based toolchains from
toolchain-configs.csv:

      bootlin-armv7-musl [ 7/45]: SKIPPED
    bootlin-riscv64-musl [19/45]: SKIPPED
     bootlin-x86-64-musl [26/45]: SKIPPED
br-i386-pentium-mmx-musl [31/45]: SKIPPED

But these toolchains are based on 4.9.255 kernel headers, which have
backported fix as 834d8b96cd85 in 4.9.250 and LTP can be compiled with
them. Because there is currently no way to specify also older stable
releases with fix, it's better to remove this requirement. If people are
really using unfixed kernels we can reintroduce the workaround which was
removed in 5e1c238b72 or even ask upstream to carry it.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
---
Hi,

I'm sorry for not checking the build properly. v1 and v2 of LTP update
were without this because I did check them properly and saw that 5.11
version requirement for musl was not needed (thanks to Thomas, who in
the past after my asking for that had found a time and updated toolchains).

Kind regards,
Petr

 package/ltp-testsuite/Config.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/ltp-testsuite/Config.in b/package/ltp-testsuite/Config.in
index b42082e2cc..272c2ede37 100644
--- a/package/ltp-testsuite/Config.in
+++ b/package/ltp-testsuite/Config.in
@@ -12,7 +12,6 @@ config BR2_PACKAGE_LTP_TESTSUITE
 	bool "ltp-testsuite"
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
-	depends on !BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_11
 	depends on BR2_PACKAGE_LTP_TESTSUITE_ARCH_SUPPORTS
 	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
 	select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC
-- 
2.40.0

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

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

end of thread, other threads:[~2023-04-19 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-17 19:14 [Buildroot] [PATCH] package/ltp-testsuite: remove 5.11 headers requirement for musl Petr Vorel
2023-04-17 19:39 ` Yann E. MORIN
2023-04-19 22:27   ` Petr Vorel

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.