mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-07-23 09:39:19 +08:00
Test with GCC 15
Non-regression for https://github.com/Mbed-TLS/mbedtls/issues/9814 Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
06af417cea
commit
579475d5d3
@ -73,6 +73,23 @@ support_test_gcc_latest_opt () {
|
||||
type "$GCC_LATEST" >/dev/null 2>/dev/null
|
||||
}
|
||||
|
||||
# Prepare for a non-regression for https://github.com/Mbed-TLS/mbedtls/issues/9814 :
|
||||
# test with GCC 15 (initially, a snapshot, since GCC 15 isn't released yet
|
||||
# at the time of writing).
|
||||
# Eventually, $GCC_LATEST will be GCC 15 or above, and we can remove this
|
||||
# separate component.
|
||||
# For the time being, we don't make $GCC_LATEST be GCC 15 on the CI
|
||||
# platform, because that would break branches where #9814 isn'f fixed yet.
|
||||
support_test_gcc15_opt () {
|
||||
test -x /usr/local/gcc-15/bin/gcc-15
|
||||
}
|
||||
component_test_gcc15_opt () {
|
||||
scripts/config.py full
|
||||
# Until https://github.com/Mbed-TLS/mbedtls/issues/9814 is fixed,
|
||||
# disable the new problematic optimization.
|
||||
test_build_opt 'full config' "/usr/local/gcc-15/bin/gcc-15 -fzero-init-padding-bits=unions" -O2
|
||||
}
|
||||
|
||||
component_test_gcc_earliest_opt () {
|
||||
scripts/config.py full
|
||||
test_build_opt 'full config' "$GCC_EARLIEST" -O2
|
||||
|
Loading…
x
Reference in New Issue
Block a user