jjb: lttng-modules: add patch for v4.5 to v4.8 with gcc 11 on armhf
[lttng-ci.git] / 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.035522 seconds and 4 git commands to generate.