data-stack grow event ................................................ : ok data-stack data_stack_get_used_size() ................................ : ok data-stack t_get_bytes_available() ................................... : ok data-stack grow in event ............................................. : ok data-stack buffer growth ............................................. : ok test-data-stack.c:191: Assert failed: a == b data-stack buffer interruption ....................................... : FAILED data-stack buffer with reallocs ...................................... : ok data-stack realloc ................................................... : ok ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_test-20240910-192132 UNMASKED: Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense. /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15 Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson. /etc/portage/package.unmask/50unstable:<dev-build/meson-9999 Requested by sam /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-15 * clang/llvm (if any): clang version 19.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/19/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/19 19.1.0 Python 3.12.6 Available Ruby profiles: [1] ruby31 (with Rubygems) [2] ruby32 (with Rubygems) [3] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21] 2) Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.23.1 linux/amd64 HEAD of ::gentoo commit 5040abdb11993e3b98fc307d011e01068c75b3de Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Sep 19 11:49:10 2024 +0000 2024-09-19 11:49:10 UTC emerge -qpvO =net-mail/dovecot-2.3.21.1 [ebuild N ] net-mail/dovecot-2.3.21.1 USE="pam -argon2 -caps -doc -kerberos -ldap -lua -lucene -lz4 -managesieve -mysql -postgres -rpc (-selinux) -sieve -solr -sqlite -static-libs -stemmer -suid -systemd -tcpd -textcat -unwind -zstd" LUA_SINGLE_TARGET="lua5-1 -lua5-3"
Created attachment 903356 [details] emerge-info.txt
Created attachment 903357 [details] emerge-history.txt.xz
Created attachment 903358 [details] environment
Created attachment 903359 [details] etc.clang.tar.xz
Created attachment 903360 [details] etc.portage.tar.xz
Created attachment 903361 [details] logs.tar.xz
Created attachment 903362 [details] net-mail:dovecot-2.3.21.1:20240919-123634.log.xz
Created attachment 903363 [details] qlist-info.txt.xz
Created attachment 903364 [details] temp.tar.xz
https://github.com/dovecot/core/commit/992a1726a41b42fa47204565ff17f7c635fcb421#diff-2ab6702cfaece1b12667261b923fd6aa9825371473736cfdd27c8db41c38d658R36 The test is bogus, I think. t_malloc is marked with __attribute__((malloc)) so its result is assumed not to alias anything, so a == b has to be false. It started with r15-580-gf3e5f4c58591f5 in GCC 15.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f6ee19d3cd09c9013d194536215efcbae04c057 commit 3f6ee19d3cd09c9013d194536215efcbae04c057 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-12-28 13:44:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-12-28 13:47:06 +0000 net-mail/dovecot: test fixes, hardening tweak * Fix tests with GCC 15 (upstream PR#229, bug #939857). The test had a bogus assertion which was exposed by GCC 15. * Fix tests with LTO (upstream PR#230). I was convinced that I'd backported these fixes already but apparently not. This one fixes a real problem where dovecot would be miscompiled because of strict aliasing violations in the md4+md5 code. Thanks to parona for the help with (re-)testing it and confirming the fixes. * Pass --disable-hardening because it just copies the defaults even on vanilla profiles these days. For hardened, it actually makes things less safe because it does -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 which overrides the default of -D_FORTIFY_SOURCE=3 there. Closes: https://bugs.gentoo.org/939857 Signed-off-by: Sam James <sam@gentoo.org> net-mail/dovecot/dovecot-2.3.21.1-r1.ebuild | 309 +++++++++++++++++++++ .../files/dovecot-2.3.21.1-gcc15-test.patch | 30 ++ .../dovecot/files/dovecot-2.3.21.1-lto-tests.patch | 86 ++++++ 3 files changed, 425 insertions(+)