]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Cross compiles CI: Disable stringop-overflow warning on s390x and m68k
authorTomas Mraz <tomas@openssl.org>
Thu, 8 Dec 2022 11:28:51 +0000 (12:28 +0100)
committerPauli <pauli@openssl.org>
Thu, 8 Dec 2022 22:20:11 +0000 (09:20 +1100)
These warnings trigger on false positives on these platforms
with recent compiler update.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19860)

.github/workflows/cross-compiles.yml

index 42ec6a0da785bf4069afb05a3272aa44aa3797e9..81f60b232ec781878646c77ea654f56949fdd91b 100644 (file)
@@ -58,7 +58,7 @@ jobs:
           }, {
             arch: m68k-linux-gnu,
             libs: libc6-dev-m68k-cross,
-            target: -static -m68040 linux-latomic,
+            target: -static -m68040 linux-latomic -Wno-stringop-overflow,
             fips: no,
             tests: -test_includes -test_store -test_x509_store
           }, {
@@ -91,7 +91,7 @@ jobs:
           }, {
             arch: s390x-linux-gnu,
             libs: libc6-dev-s390x-cross,
-            target: linux64-s390x
+            target: linux64-s390x -Wno-stringop-overflow
           }, {
             arch: sh4-linux-gnu,
             libs: libc6-dev-sh4-cross,
@@ -110,7 +110,7 @@ jobs:
           }, {
             arch: m68k-linux-gnu,
             libs: libc6-dev-m68k-cross,
-            target: -mcfv4e linux-latomic,
+            target: -mcfv4e linux-latomic -Wno-stringop-overflow,
             tests: none
           }, {
             arch: mips-linux-gnu,