X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-modules%2Fparam-build.sh;h=ba93fd42148fb2165c9b4cee1e2a68e11e5453bf;hb=4955549e270f70e6403bb44fb16016dade5e18c7;hp=cf3689d5b615bb013ec532f718c608467d2885b5;hpb=cb36638c299f66aad1dc6280f2796afffeb37c1e;p=lttng-ci.git diff --git a/scripts/lttng-modules/param-build.sh b/scripts/lttng-modules/param-build.sh index cf3689d..ba93fd4 100644 --- a/scripts/lttng-modules/param-build.sh +++ b/scripts/lttng-modules/param-build.sh @@ -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