jjb: Correct param builds for linux 6.9-rc1
authorKienan Stewart <kstewart@efficios.com>
Tue, 26 Mar 2024 19:11:03 +0000 (15:11 -0400)
committerKienan Stewart <kstewart@efficios.com>
Wed, 27 Mar 2024 11:57:02 +0000 (07:57 -0400)
Change-Id: I04033db3ee27388d995e7009bc3a739c70f62af5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
scripts/lttng-modules/param-build.sh

index cf3689d5b615bb013ec532f718c608467d2885b5..ba93fd42148fb2165c9b4cee1e2a68e11e5453bf 100644 (file)
@@ -810,7 +810,7 @@ build_linux_kernel() {
     scripts/config --disable CONFIG_MICREL_PHY
 
 
-    # IGBVF won't build with recent gcc on 2.6.38.x
+    # IGBVF won't build with recent gcc on 2.6.38.2
     if { vergte "$kversion" "2.6.37" && verlt "$kversion" "2.6.38"; }; then
       scripts/config --disable CONFIG_IGBVF
     fi
@@ -832,6 +832,12 @@ build_linux_kernel() {
     scripts/config --enable CONFIG_EVENT_TRACING
     scripts/config --enable CONFIG_KRETPROBES
 
+    # Starting in linux 6.9-rc1, TRIM_UNUSED_SYMS seems to be true
+    # for out build configurations. In earlier versions the default
+    # was set depending on the value of `COMPILE_TEST`.
+    # See upstream commit d2d5cba5d92c4ed23caa86228a1bc31b07e90fe9.
+    scripts/config --disable CONFIG_TRIM_UNUSED_KSYMS
+
     if [ -n "${DEBUG}" ] ; then
         cat .config
     fi
This page took 0.023962 seconds and 4 git commands to generate.