From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id BDDAE3858C60 for ; Thu, 3 Mar 2022 11:44:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BDDAE3858C60 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=foss.arm.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=foss.arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 770231424; Thu, 3 Mar 2022 03:44:19 -0800 (PST) Received: from [10.57.20.251] (unknown [10.57.20.251]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F007B3F70D; Thu, 3 Mar 2022 03:44:18 -0800 (PST) Message-ID: Date: Thu, 3 Mar 2022 11:44:17 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] libgloss: add a little build system generation documentation Content-Language: en-GB To: Tamar Christina , "newlib@sourceware.org" References: <20220225044501.27831-1-vapier@gentoo.org> From: Richard Earnshaw In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3491.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2022 11:44:20 -0000 On 03/03/2022 04:22, Mike Frysinger wrote: > On 02 Mar 2022 13:10, Tamar Christina wrote: >> This commit seems to break the build: >> >> make[3]: Entering directory '/newlib/aarch64-none-elf/libgloss' >> MAKEINFO /src-newlib/libgloss/doc/porting.info >> /src-newlib/libgloss/doc/porting.texi:360: warning: node `Board support' is prev for `Build System Internals' in sectioning but not in menu >> /src-newlib/libgloss/doc/porting.texi:360: warning: node `Libgloss' is up for `Build System Internals' in sectioning but not in menu >> /src-newlib/libgloss/doc/porting.texi:87: node `Libgloss' lacks menu item for `Build System Internals' despite being its Up target >> make[3]: *** [Makefile:1233: /src-newlib/libgloss/doc/porting.info] Error 1 >> make[3]: Leaving directory '/newlib/aarch64-none-elf/libgloss' >> make[2]: *** [Makefile:1439: all-recursive] Error 1 > > builds fine for me w/texinfo-6.8. what version are you using ? I think it fails with 6.7, at least that's what I have on my machine, where that's the standard version in Ubuntu-20.04. > > current texinfo guidelines is to omit the 2nd+ args for @node. > wonder if that would fix the build for you. > -mike > > --- a/libgloss/doc/porting.texi > +++ b/libgloss/doc/porting.texi > @@ -311,7 +311,7 @@ > and uninstalled object tree. It also makes it easier to debug the other > tools using libgloss's test suites. > > -@node Board support, , Building libgloss, Libgloss > +@node Board support > @section Adding Support for a New Board > > This section explains how to add support for a new board to libgloss. R.