diff options
author | Matt Caswell <matt@openssl.org> | 2022-08-24 15:10:56 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-11-23 18:21:42 +0100 |
commit | 6bf9a6e59cb42f763f2c532915ce9d1acf5d6836 (patch) | |
tree | 70989666f772b3f4549556456acef90c483cbd9f | |
parent | 8ba5893e4a926e7bf6a106a7e5cdc0ab1fba8677 (diff) |
Drop the optimisation level for ppc64le cross-compile
The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.
We just drop the optimisation level on that platform.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19056)
(cherry picked from commit 200d9521a0d406a7d02778d1c6c5a5230caeecf5)
-rw-r--r-- | .github/workflows/cross-compiles.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/cross-compiles.yml b/.github/workflows/cross-compiles.yml index 6313818c7c..42ec6a0da7 100644 --- a/.github/workflows/cross-compiles.yml +++ b/.github/workflows/cross-compiles.yml @@ -80,7 +80,10 @@ jobs: }, { arch: powerpc64le-linux-gnu, libs: libc6-dev-ppc64el-cross, - target: linux-ppc64le + # The default compiler for this platform on Ubuntu 20.04 seems + # buggy and causes test failures. Dropping the optimisation level + # resolves it. + target: -O2 linux-ppc64le }, { arch: riscv64-linux-gnu, libs: libc6-dev-riscv64-cross, |