X-Envelope-From: notmuch-bounces@notmuchmail.org  Tue Jul 28 01:57:56 2026
Return-Path: <notmuch-bounces@notmuchmail.org>
X-Original-To: nmbug@yantan.tethera.net
Delivered-To: nmbug@yantan.tethera.net
Received: from yantan.tethera.net (localhost [127.0.0.1])
	by mail.notmuchmail.org (Postfix) with ESMTP id 3A4615F5BE;
	Tue, 28 Jul 2026 01:57:56 +0000 (UTC)
Received: from phubs.tethera.net (phubs.tethera.net [IPv6:2607:5300:60:3a9d::1])
	by mail.notmuchmail.org (Postfix) with ESMTPS id A469F5E51F
	for <notmuch@notmuchmail.org>; Tue, 28 Jul 2026 01:57:53 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net;
 i=@tethera.net; q=dns/txt; s=2024; t=1785203869; h=from : to : cc :
 subject : in-reply-to : references : date : message-id : mime-version
 : content-type : from;
 bh=BLZ8VTqyAz5d0OB843N3NGD+CMd8irxmQcwfcYiuHGQ=;
 b=NJ1G/0HgjHbTthKQhRHdbb++8I5YSi2xmCjPc7pVOHXjrIVbSxFN37NHrhTG1Og8p8EMr
 zSjamW7qSI7pqFNDWcxPpsDaR+XvSoU+E3oymB6BUDKAaXb70gMKx47+QjuH9d0PRoEdSXN
 zJ0GFfDofOE+wgRLvPiiJkHKgtQOX1Sj6FKc+fnqDtSz4H9vWcAfCBWtLplSOCjnCLjF4F5
 A8+LjMLS/g9K9pfE9Z9Z+wzc/DSRlogpJVXaL87Hj/+F8jMBMmmjBvmXcY3bpqRctIxyDXw
 khY6vbRVYh+8cPlBRac4m90kz6WeUnKK2Rz4rSTAlWsOBijLac2wYTNxwCjA==
Received: from tethera.net (fctnnbsc38w-142-162-23-52.dhcp-dynamic.fibreop.nb.bellaliant.net [142.162.23.52])
	by phubs.tethera.net (Postfix) with ESMTPS id C81B61800F7;
	Mon, 27 Jul 2026 22:57:49 -0300 (ADT)
Received: (nullmailer pid 426183 invoked by uid 1000);
	Tue, 28 Jul 2026 01:57:49 -0000
From: David Bremner <david@tethera.net>
To: Michael J Gruber <michaeljgruber+grubix+git@gmail.com>
Subject: Re: compilation issues with gcc-15 / gcc-16
In-Reply-To: <CAA19uiR+u2p4FpjA-Ub=dBKLGSVtULBMPs3F9i4dWwRcG12yhA@mail.gmail.com>
References: <87pl3e2nvl.fsf@tethera.net>
 <CAA19uiR+u2p4FpjA-Ub=dBKLGSVtULBMPs3F9i4dWwRcG12yhA@mail.gmail.com>
Date: Mon, 27 Jul 2026 22:57:49 -0300
Message-ID: <87tspjri3m.fsf@tethera.net>
MIME-Version: 1.0
Message-ID-Hash: POJQ3VHUFAYDKNGBXPBSGMAJ7R5FXICR
X-Message-ID-Hash: POJQ3VHUFAYDKNGBXPBSGMAJ7R5FXICR
X-MailFrom: david@tethera.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: notmuch@notmuchmail.org
X-Mailman-Version: 3.3.3
Precedence: list
List-Id: "Use and development of the notmuch mail system." <notmuch.notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Owner: <mailto:notmuch-owner@notmuchmail.org>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Subscribe: <mailto:notmuch-join@notmuchmail.org>
List-Unsubscribe: <mailto:notmuch-leave@notmuchmail.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

Michael J Gruber <michaeljgruber+grubix+git@gmail.com> writes:

> Am Sa., 2. Mai 2026 um 10:54 Uhr schrieb David Bremner <david@tethera.net>:
>>
>>
>> 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.

This seems to be fixed in Debian now too. Upstream gcc fixed the
optimization bug in gcc 15.3 and 16.2
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
