X-Envelope-From: notmuch-bounces@notmuchmail.org  Sat May  2 08:54:02 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 E2837604E2;
	Sat,  2 May 2026 08:54:01 +0000 (UTC)
Received: from phubs.tethera.net (phubs.tethera.net [IPv6:2607:5300:60:3a9d::1])
	by mail.notmuchmail.org (Postfix) with ESMTPS id D1BA15F870
	for <notmuch@notmuchmail.org>; Sat,  2 May 2026 08:53:57 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tethera.net;
 i=@tethera.net; q=dns/txt; s=2024; t=1777712034; h=from : to : subject
 : date : message-id : mime-version : content-type : from;
 bh=+NBkpyHgjcJdDfxC/3WP8orNcHOfErV80Pd2ZjQD6ag=;
 b=Q83bKvRTGWbAZ2YSOxDGKMDUngtDgGQuVeC1h0KBMh2NGp8FgaFJTfdmjSkcxd1hfhG86
 Jz+ljQwc4jaaaedJ8FmJSADiBWZUee5SiFcqGfuvgvABv/sFwOZjDHsuumqfdV6KeFNTg7j
 cdHL//j0KhVEKKkIykw/mUw9xlVHZtTsZkb1jFgLIip6x75ZD4aHQFvCaFXuvlEkSHgNByO
 fkXkxV3s7jYXz+tQC16+7aoxBbdXu0Wk8PxJyFxKh0emx8JJlhu7qPdlHumjeluQt1dvC5m
 jZA1HHVOdcyE6Gv7TtbhSNWRMK3yLSjeFz4Lqy1DvMZ1+TKBOG7WX6rZS34Q==
Received: from tethera.net (M111108027213.v4.enabler.ne.jp [111.108.27.213])
	by phubs.tethera.net (Postfix) with ESMTPS id 56BFB1800F7
	for <notmuch@notmuchmail.org>; Sat, 02 May 2026 05:53:54 -0300 (ADT)
Received: (nullmailer pid 102647 invoked by uid 1000);
	Sat, 02 May 2026 08:53:51 -0000
From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: compilation issues with gcc-15 / gcc-16
X-List-To: notmuch
Date: Sat, 02 May 2026 17:53:50 +0900
Message-ID: <87pl3e2nvl.fsf@tethera.net>
MIME-Version: 1.0
Message-ID-Hash: OFZB6ZJPLJRMBLWPTCAIB5SLCUBGMI43
X-Message-ID-Hash: OFZB6ZJPLJRMBLWPTCAIB5SLCUBGMI43
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
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


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

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org
