[openssl/openssl] 067fbc: Reduce optimization in hppa builds

Neil Horman noreply at github.com
Thu May 2 13:36:02 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 067fbc01b9e867b31c71091d62f0f9012dc9e41a
      https://github.com/openssl/openssl/commit/067fbc01b9e867b31c71091d62f0f9012dc9e41a
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M .github/workflows/cross-compiles.yml

  Log Message:
  -----------
  Reduce optimization in hppa builds

We're getting some odd errors in the lhash test on hppa.  Analysis shows
that the crash is happening randomly in various places, but always
occurs during an indexed load of register r11 or r23.  Root cause hasn't
been completely determined, but given that:

1) hppa is an unadopted platform
2) asan/ubsan/threadsan shows no issues with the affected code elsewhere
3) The hppa build does not have threading enabled
4) reducing the optimization level to 01 quashes the problem

The belief is that this is either a bug in gcc optimization, or an issue
in the qemu emulator we use to test.

Since this is causing CI failures, I'm proposing that we just lower the
optimization level of the build to -01 to avoid the problem, and address
it more throughly should an actual platform user encounter an error

Fixes #24272

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24318)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list