jjb: lttng-modules: add patch for v4.5 to v4.8 with gcc 11 on armhf
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 29 Aug 2023 18:40:33 +0000 (14:40 -0400)
committerMichael Jeanson <mjeanson@efficios.com>
Tue, 29 Aug 2023 18:40:37 +0000 (14:40 -0400)
Change-Id: Ibc4f42825b7157880606053a6c9b0a08bc7de70e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
scripts/lttng-modules/param-build.sh

index eee5a57992c264bc3396581df3b5fbe0fc2c3cde..13f4aaf91878255a70970f937224b569a9042794 100644 (file)
@@ -453,6 +453,18 @@ EOF
         fi
     fi
 
+    if { vergte "${kversion}" "4.5"; } && { verlt "${kversion}" "4.8"; } ; then
+       # Kernels between v4.5 and v4.8 built with gcc >= 8 on arm will hit an
+       # assembler error :
+        #
+        #  kernel/.tmp_fork.s: Assembler messages:
+        #  kernel/.tmp_fork.s:1790: Error: .err encountered
+       #
+       # @see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85745
+        #
+        patch_linux_kernel 9f73bd8bb445e0cbe4bcef6d4cfc788f1e184007
+    fi
+
     # Newer binutils don't accept 3 operand 'cmp' instructions on ppc64
     # Convert them to 'cmpw' which was previously done silently
     if verlt "$kversion" "4.9"; then
This page took 0.023382 seconds and 4 git commands to generate.