Created attachment 427944 [details] gdb backtrace dmalloc crashes on x86 when gcc optimizations are greater than -O0 due to a variable being optimized away. This doesn't seem to happen on amd64. I'm attaching a gdb log that includes the backtrace and demonstrates the missing variable.
Created attachment 427948 [details] emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5b72836640446142a12a312df01c1986cc4e0a commit 4c5b72836640446142a12a312df01c1986cc4e0a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-12-05 15:01:10 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-12-06 05:40:50 +0000 dev-libs/dmalloc: add 5.6.5 Bug: https://bugs.gentoo.org/577032 Closes: https://bugs.gentoo.org/758848 Closes: https://bugs.gentoo.org/899774 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/dmalloc/Manifest | 1 + dev-libs/dmalloc/dmalloc-5.6.5.ebuild | 73 +++++ .../dmalloc/files/dmalloc-5.6.5-Makefile.in.patch | 343 +++++++++++++++++++++ .../files/dmalloc-5.6.5-configure-c99.patch | 61 ++++ 4 files changed, 478 insertions(+)