https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: net-libs/mbedtls-2.28.9 fails tests. Discovered on: amd64 (internal ref: gcc15_tinderbox) System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Created attachment 914156 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Created attachment 914157 [details] 1-LastTest.log.xz 1-LastTest.log (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern: 81 - psa_crypto-suite (Failed) 93 - psa_crypto_op_fail.generated-suite (Failed) 101 - psa_crypto_storage_format.v0-suite (Failed) The following tests FAILED:
For now, we should pass -fzero-init-padding-bits=unions (with a test-flags-... check) until the upstream bug is fixed.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40ea68177623b1b912f6c6d9c97fb7e8232b6e6c commit 40ea68177623b1b912f6c6d9c97fb7e8232b6e6c Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-23 05:03:11 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-23 05:04:08 +0000 net-libs/mbedtls: fix tests with GCC 15 GCC 15 makes a change to union initialisation and exposes a bug in mbedtls. Build with the new -fzero-init-padding-bits=unions flag if supported to fix the testsuite until the upstream bug is fixed. Bug: https://github.com/Mbed-TLS/mbedtls/issues/9814 Closes: https://bugs.gentoo.org/946544 Signed-off-by: Sam James <sam@gentoo.org> .../mbedtls/{mbedtls-2.28.8.ebuild => mbedtls-2.28.8-r1.ebuild} | 9 ++++++++- .../mbedtls/{mbedtls-2.28.9.ebuild => mbedtls-2.28.9-r1.ebuild} | 9 ++++++++- .../mbedtls/{mbedtls-3.6.2.ebuild => mbedtls-3.6.2-r1.ebuild} | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-)