From patchwork Fri Oct 2 22:25:32 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Arsen_Arsenovi=C4=87?= X-Patchwork-Id: 145181 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 351C04B9DB4F for ; Fri, 2 Oct 2026 22:30:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 351C04B9DB4F Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=gl9Ka9ni X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm2-x10.google.com (mail-wm2-x10.google.com [IPv6:2a00:1450:4864:31::10]) by sourceware.org (Postfix) with ESMTPS id 599054BA9024 for ; Fri, 2 Oct 2026 22:29:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 599054BA9024 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=baylibre.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 599054BA9024 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:31::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1790980197; cv=none; b=tYXUE3f7F7UC3EQrFl+GIy1bfjKZWyzLbHBiTirkZtkhwUwm7zhFo5e3NpNY0Awn8fiikwP3rwgdrAC8H1r9ZvBdtqCkTrog85TP/J6u81D5U/nH1Q+vivijHwW3tA0duG/GkrKPapg2HkPUvQOVyt7fqjvFmB9D6R21lCwNkxg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1790980197; c=relaxed/simple; bh=8pvXPHyiZxv0jT436wPHQOW/7jOiNZ5JCb3chD5r7TA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=JvOxkXGe8eLc6TYtbgYUsNPZHSdxCFpqRgCFg1b4BX+4G1tXVXY31mEzD0xdHQBKQKhpYhMi/uKEu3ZIsWZeds+67PYBRsbwzb94ILEre9shmNv7PX7MbE1x8t0hfFJnzyR1b42Wb7IJ5aCyYGXdtlQ2flwEri2CUjIgR7VpvmQ= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, secure) header.d=baylibre.com header.i=@baylibre.com header.a=rsa-sha256 header.s=google header.b=gl9Ka9ni DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 599054BA9024 Received: by mail-wm2-x10.google.com with SMTP id 5b1f17b1804b1-49ffe281cb1so2012955e9.1 for ; Fri, 02 Oct 2026 15:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre.com; s=google; t=1790980195; x=1791584995; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=iVyyY9NPbs3D0P1/Ea19zBbzwyVzK2jY70kNh5HSTHs=; b=gl9Ka9niCvwkL+woboNMNEsBSX1GH/K5smfbudZw9q38MRV8ltxfff0lvSLZezyB6r 2OlSnm0EwyIpExubAtHvz/w1rssY2QhnXIr5o7yZ+mx8ujegImWl3mn8hCwvT4VQE8w1 wbZ5yenwpvMg/MAiKXiN6HKP8kIlaD8TA+bIPYTIcGBbIbwRXP7fSQFsGxqU5YZHBsDX TgtV+id0/eSJ6lYIqy6E4uHNX93vDAQmldfRDTUit814FdzdRaKc6Wv1sqsZrFOeVfha XnhBAtYyXHAi2+uA/dBHN7opxQf9oPkYkYgNtaSMzPGkxRVnjxnBZi1GXdyw9sYMWRAN AqEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790980195; x=1791584995; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=iVyyY9NPbs3D0P1/Ea19zBbzwyVzK2jY70kNh5HSTHs=; b=ViceHj9057nfsPQALr60Almc0kpzKYTs4mpaWnP2BNF05Ic8PG6xDDJ4QS/xsG6Y0K 9kxBck+pZOfqwVdhww4SZ8nZDGnKoy4PuXIG7+Ruk3g7C4iXtlWSejCymUwD+6tq66GF d3jirYo4uHjH2CXbhyBVmhfnav0J0cUZju+MpkIwW7ys2nJgtz383GsJDg+20836WdHb tv9PMMF7QTxISzREKasRmVFBpsTDT3hheCPJcu4DyppHfFmymkD5ajR8h2AhdqM1uHWS igiIYR1mTB8qTb7HPuD++BAT8gUvvwHuCAtXHT0jkTwv19inQEsgqtlgOdEjWyryrOBq k6pA== X-Gm-Message-State: AFuF++nk8plu4EFpkom8GaHGYWkI3KLgp1HWrDgLBkRIef1wAxTDSIrA c0LASr8p7ze2J2pIV5DxYxhjDhEgq29223nfxeDJui7JfxgRdfLO9iNdLnkUiYnxoQU= X-Gm-Gg: AYBFou3Dx+q2CF9zcVDhVFUUWLoxkEZ/csIyZsowMZwFtB6EBPXP4zY51L8FcNuDrep u/BJmRLFzaGkBMtkI+rW9PfguBBEa+ghSpc3fF3vjOyFc5Qca7YjsUXXxdt/VWXi4iUmBhSWS9O x3T6MZc0jKR8khX7I6qV779f6TgSFOCW1ti+SejqgyIiwsLxNfTjAUSlDeGogSgwht16AxTA2Qx luXFv+r/YWQd/F6yBobghP++Hh0+J7X5LCootCNLjmD/eDBkgTj+cVU2jxrFJBd2IruwDAojEbL mSgFz448AJ/A4uTYbGeseR2QuyWmRLybpElNxAY8U6augFfty4Tu4WYpTxyWHMWVa8Dhs1v9Qfa GC5zozQersLiJO1ygKeuZxcwx+YnGWPV5ZT9ulobGCR+alMfdsa0wFiPQqlci6GcE8lSZ29rbVX 4gNq2h284iCe9eNOc83uHpqBTtJjH2J4iB/Da5/GDWbYR6TmUS5MxT8C0ufyUVs/tK4G+ri0o= X-Received: by 2002:a05:600c:1907:b0:4a0:3b9:f16b with SMTP id 5b1f17b1804b1-4a027459456mr73395295e9.0.1790980194774; Fri, 02 Oct 2026 15:29:54 -0700 (PDT) Received: from localhost ([146.70.193.42]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-4a02752aeb3sm118649075e9.0.2026.10.02.15.29.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2026 15:29:54 -0700 (PDT) From: =?utf-8?q?Arsen_Arsenovi=C4=87?= To: Tamar Christina Cc: gcc-patches@gcc.gnu.org, =?utf-8?q?Arsen_Arsenovi=C4=87?= Subject: [PATCH] toplevel: disable D for gettext-runtime Date: Sat, 3 Oct 2026 00:25:32 +0200 Message-ID: <20261002222815.147218-1-aarsenovic@baylibre.com> X-Mailer: git-send-email 2.55.0 MIME-Version: 1.0 X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org Hi Tamar, I mentioned this today, and you mentioned it a while ago. Didn't give it a full test yet, but: ~/gcc/_b_gcc/gettext$ grep BUILDD config.status S["BUILDD"]="no" ... and: ~/gcc/_b_gcc/gettext/intl-d$ make make: Nothing to be done for 'all'. ... seem to indicate it had the right effect (the former is 'yes' w/o this patch). Please try it in the configuration where you saw the build fails. See ya tomorrow. ---------- >8 ---------- Added in a recent version of gettext, we don't use it but it risks inducing build failures. ChangeLog: * Makefile.def (host_modules gettext): Pass --disable-d via extra_configure_flags. * Makefile.in: Regenerate. --- Makefile.def | 2 +- Makefile.in | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Makefile.def b/Makefile.def index c31ee798bba..998a40ea015 100644 --- a/Makefile.def +++ b/Makefile.def @@ -80,7 +80,7 @@ host_modules= { module= gettext; bootstrap=true; no_install=true; // need it in some configurations, which is determined via nontrivial tests. // Always enabling pic seems to make sense for something tied to // user-facing output. - extra_configure_flags='--disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf'; + extra_configure_flags='--disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf'; missing= pdf; missing= html; missing= info; diff --git a/Makefile.in b/Makefile.in index 7fd91da3f2d..59221c216a7 100644 --- a/Makefile.in +++ b/Makefile.in @@ -19991,7 +19991,7 @@ configure-gettext: $$s/$$module_srcdir/configure \ --srcdir=$${topdir}/$$module_srcdir \ $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf \ + --target=${target_alias} --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf \ || exit 1 @endif gettext @@ -20027,7 +20027,7 @@ configure-stage1-gettext: --target=${target_alias} \ \ $(STAGE1_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stage2-gettext maybe-configure-stage2-gettext @@ -20061,7 +20061,7 @@ configure-stage2-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGE2_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stage3-gettext maybe-configure-stage3-gettext @@ -20095,7 +20095,7 @@ configure-stage3-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGE3_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stage4-gettext maybe-configure-stage4-gettext @@ -20129,7 +20129,7 @@ configure-stage4-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGE4_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stageprofile-gettext maybe-configure-stageprofile-gettext @@ -20163,7 +20163,7 @@ configure-stageprofile-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGEprofile_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stagetrain-gettext maybe-configure-stagetrain-gettext @@ -20197,7 +20197,7 @@ configure-stagetrain-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGEtrain_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stagefeedback-gettext maybe-configure-stagefeedback-gettext @@ -20231,7 +20231,7 @@ configure-stagefeedback-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGEfeedback_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stageautoprofile-gettext maybe-configure-stageautoprofile-gettext @@ -20265,7 +20265,7 @@ configure-stageautoprofile-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGEautoprofile_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap .PHONY: configure-stageautofeedback-gettext maybe-configure-stageautofeedback-gettext @@ -20299,7 +20299,7 @@ configure-stageautofeedback-gettext: --target=${target_alias} \ --with-build-libsubdir=$(HOST_SUBDIR) \ $(STAGEautofeedback_CONFIGURE_FLAGS) \ - --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf + --disable-d --disable-shared --disable-threads --disable-java --disable-csharp --with-pic --disable-libasprintf @endif gettext-bootstrap