Am Sa., 2. Mai 2026 um 10:54 Uhr schrieb David Bremner <[email protected]>: > > > I'm not sure if this is a problem with notmuch and gcc becoming stricter > / more ambitious, or a compiler bug, but today I learned that gcc-15 > 15.2.0-7 (an upstream snapshot) and gcc-16 both miscompile notmuch at > optimization level O2. A workaround seems to be to run configure as > > CFLAGS="-g -O1" ./configure > > I filed a Debian bug report at > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135526
FYI: I don't see this on Fedora with notmuch 0.40 and gcc-16.0.1-0.11.fc44 resp. gcc-15.2.1-7.fc43. CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' Regards Michael _______________________________________________ notmuch mailing list -- [email protected] To unsubscribe send an email to [email protected]
