From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 0D8223858C54; Tue, 4 Apr 2023 15:24:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D8223858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjiW8-00012Y-6F; Tue, 04 Apr 2023 11:24:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=9KB7CTi/KHse41Uh6OvlpGZLTGpEtJyGn+NrvICkJFI=; b=SCgsuHw3lQrs 28kADN6h3kTzVNLan7hYujjoPIcsv13YWA397th8KZxRJiiQnbSJCLPzQsX1O1GofpQDFxNO9UkOX LWUtHtbdMmqNUo2RE9/wH81qJE10xvXGO6392NPLVrDBnwLpaMdyF1BN4VQXMO/OQ2ReSzCLK0tC9 iKwCCBDbu0R+CleKzWcoOAhAViTZ/uJiLfhrcWNzZXdL+rNAajo1I96rNFI/YwSQkozj0u+SWf/MO hxqSHGFqmKwRFU3nlQTiNSiSfVW16WQJn8Hx9kWfkhQ/7UFrahVgQ4du9oxleHkQccRG1QKBfjyZD CFXskSrIKHsRAnXmPMfq1A==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjiW7-0000SR-Cc; Tue, 04 Apr 2023 11:24:15 -0400 Date: Tue, 04 Apr 2023 18:24:40 +0300 Message-Id: <83cz4ju0uf.fsf@gnu.org> From: Eli Zaretskii To: Enze Li Cc: binutils@sourceware.org, gdb-patches@sourceware.org, enze.li@gmx.com In-Reply-To: (message from Enze Li via Gdb-patches on Tue, 4 Apr 2023 23:07:13 +0800) Subject: Re: [PATCH] bfd: add version check to makeinfo References: X-Spam-Status: No, score=1.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Cc: gdb-patches@sourceware.org, > enze.li@gmx.com > Date: Tue, 4 Apr 2023 23:07:13 +0800 > From: Enze Li via Gdb-patches > > In this commit, > > commit 8bb23cdbb498ff645bb0937bc8c0cb89e9e5ebd8 > Date: Tue Feb 7 11:34:56 2023 -0700 > > Simplify @node use in BFD documentation > > we use a modern style available from makeinfo 5.0 or later. > > This patch adds a check for makeinfo that no documentation will be > generated if it is below the specified version. > > The motivation for this work comes from the fact that compiling GDB on > the latest version of NetBSD(9.3) produces the following errors because > it comes with makeinfo 4.8. This patch workaround this issus. Some people still use makeinfo 4.x because it's at least an order of magnitude faster than version 5 and later. For such simple problems, wouldn't it be better to add the missing sectioning commands, and let those users of makeinfo 4.x keep using it? Just asking.