From: Michael Jeanson Date: Wed, 15 Dec 2021 15:33:01 +0000 (-0500) Subject: jjb: lttng-modules: disable objtool on kernel builds X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1d28ffcef8d032e238ea18c49de879460166c463;p=lttng-ci.git jjb: lttng-modules: disable objtool on kernel builds Signed-off-by: Michael Jeanson Change-Id: I21b9823fd4f53eca1dad54cc0a0939c898ad0001 --- diff --git a/scripts/lttng-modules/param-build.sh b/scripts/lttng-modules/param-build.sh index 66a4436..3a71365 100644 --- a/scripts/lttng-modules/param-build.sh +++ b/scripts/lttng-modules/param-build.sh @@ -280,6 +280,9 @@ build_linux_kernel() { scripts/config --enable CONFIG_EVENT_TRACING scripts/config --enable CONFIG_KRETPROBES + # FIXME: disable objtool on vmlinux, it OOMs on allyesconfig + sed -i 's/objtool_link vmlinux.o//' scripts/link-vmlinux.sh || true + # Debug #cat .config