Skip to contentSkip to conversation

support/testing: TestGlxinfo: bump kernel version to 6.1.x

PATCH In review Romain Naour 3 participants 6 messages Jun 11, 2023 – Jul 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 support/testing: TestGlxinfo: bump kernel version to 6.1.x

The kernel 6.1.x is the latest LTS version.

---
 support/testing/tests/package/test_glxinfo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
support/testing/tests/package/test_glxinfo.py +1 -1
index 79be596635..c7d62a690b 100644
@@ -20,7 +20,7 @@ class TestGlxinfo(infra.basetest.BRTest):
         BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
         BR2_LINUX_KERNEL=y
         BR2_LINUX_KERNEL_CUSTOM_VERSION=y
-        BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
+        BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.26"
         BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
         BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/x86/linux.config"
         BR2_PACKAGE_MESA3D_DEMOS=y
Signature · 6 lines
2.40.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 support/testing: TestGlxinfo: bump the toolchain to x86 core2 Bootlin toolchain stable 2022.08-1

This new Bootlin toolchain stable 2022.08-1 is based on gcc 11.3.0, linux headers 4.9.327, glibc 2.35 and binutils 2.38.

Nowadays Bootlin toolchains are packaged in Buildroot and we can directly select them from BASIC_TOOLCHAIN_CONFIG and avoid setting the toolchain parameters (BR2_TOOLCHAIN_EXTERNAL_CUSTOM...).

---
 support/testing/tests/package/test_glxinfo.py | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)
support/testing/tests/package/test_glxinfo.py +2 -8
index c7d62a690b..6bedee5298 100644
@@ -10,14 +10,8 @@ class TestGlxinfo(infra.basetest.BRTest):
         """
         BR2_x86_core2=y
         BR2_TOOLCHAIN_EXTERNAL=y
-        BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
-        BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
-        BR2_TOOLCHAIN_EXTERNAL_URL="http://toolchains.bootlin.com/downloads/releases/toolchains/x86-core2/tarballs/x86-core2--glibc--bleeding-edge-2018.11-1.tar.bz2"
-        BR2_TOOLCHAIN_EXTERNAL_GCC_8=y
-        BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y
-        BR2_TOOLCHAIN_EXTERNAL_CXX=y
-        BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
-        BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
+        BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
+        BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE=y
         BR2_LINUX_KERNEL=y
         BR2_LINUX_KERNEL_CUSTOM_VERSION=y
         BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.26"
Signature · 6 lines
2.40.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Romain Naour

Hello Romain,

Quoted 6 lines · On Sun, 11 Jun 2023 13:57:47 +0200 Romain Naour <[email protected]> wrote:

The kernel 6.1.x is the latest LTS version.

---
 support/testing/tests/package/test_glxinfo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, I've applied both. However, did you notice that this GlxInfo test is currently broken? See
https://gitlab.com/buildroot.org/buildroot/-/jobs/4621046326. It fails at runtime because the glxinfo command cannot be found in the filesystem (I have not investigated further than that).

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Hello Thomas,

Le 12/07/2023 à 12:05, Thomas Petazzoni via buildroot a écrit :

Quoted 12 lines

Hello Romain,

Quoted 6 lines · On Sun, 11 Jun 2023 13:57:47 +0200 Romain Naour <[email protected]> wrote:

The kernel 6.1.x is the latest LTS version.

---
 support/testing/tests/package/test_glxinfo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines

Thanks, I've applied both. However, did you notice that this GlxInfo test is currently broken? See
https://gitlab.com/buildroot.org/buildroot/-/jobs/4621046326. It fails at runtime because the glxinfo command cannot be found in the filesystem (I have not investigated further than that).

This is something new, I'm wondering if it's related to the recent mesa3d-demo version bump to 9.0.0?

I'll take a look.

Best regards,
Romain

Quoted 4 lines

Best regards,

Thomas

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

Le 12/07/2023 à 14:52, Romain Naour a écrit :

Quoted 21 lines

Hello Thomas,

Le 12/07/2023 à 12:05, Thomas Petazzoni via buildroot a écrit :

Quoted 12 lines

Hello Romain,

Quoted 6 lines · On Sun, 11 Jun 2023 13:57:47 +0200 Romain Naour <[email protected]> wrote:

The kernel 6.1.x is the latest LTS version.

---
 support/testing/tests/package/test_glxinfo.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines

Thanks, I've applied both. However, did you notice that this GlxInfo test is currently broken? See
https://gitlab.com/buildroot.org/buildroot/-/jobs/4621046326. It fails at runtime because the glxinfo command cannot be found in the filesystem (I have not investigated further than that).

Quoted 4 lines

This is something new, I'm wondering if it's related to the recent mesa3d-demo version bump to 9.0.0?

I'll take a look.

Indeed, reverting the mesa3d-demos bump fixes the issue. The glut library seems not correctly detected by this new release.

mesa-demos 9.0.0

Run-time dependency glut found: NO (tried pkgconfig and cmake) Has header "GL/glut.h" : NO

mesa-demos 8.5.0

Run-time dependency glu found: YES 9.0.2

Best regards,
Romain

Quoted 10 lines

Best regards,
Romain

Quoted 4 lines

Best regards,

Thomas

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw
Quoted 11 lines · On Wed, 12 Jul 2023 16:09:38 +0200 Romain Naour <[email protected]> wrote:

Indeed, reverting the mesa3d-demos bump fixes the issue. The glut library seems not correctly detected by this new release.

mesa-demos 9.0.0

Run-time dependency glut found: NO (tried pkgconfig and cmake) Has header "GL/glut.h" : NO

mesa-demos 8.5.0

Run-time dependency glu found: YES 9.0.2

So it's a regression caused by commit 80304d9911f34f8a0173a4f37d52f93177478cc7 from Bernd. Bernd, could you have a look?

Thanks a lot!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot