From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mxout017.mail.hostpoint.ch (mxout017.mail.hostpoint.ch [IPv6:2a00:d70:0:e::317]) by sourceware.org (Postfix) with ESMTPS id BC2E53857829; Mon, 14 Mar 2022 09:57:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BC2E53857829 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vollmann.ch Authentication-Results: sourceware.org; spf=none smtp.mailfrom=vollmann.ch Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout017.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2 (FreeBSD)) (envelope-from ) id 1nThS0-000BEp-7R; Mon, 14 Mar 2022 10:57:16 +0100 Received: from [46.22.24.208] (helo=[192.168.26.4]) by asmtp013.mail.hostpoint.ch with esmtpa (Exim 4.95 (FreeBSD)) (envelope-from ) id 1nThS0-000NyD-2N; Mon, 14 Mar 2022 10:57:16 +0100 X-Authenticated-Sender-Id: mail-all@vollmann.ch Message-ID: <5794253e-e54c-e084-a352-05a457e3892f@vollmann.ch> Date: Mon, 14 Mar 2022 10:57:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.2 Subject: Re: [committed] libstdc++: Move closing brace outside #endif [PR104866] Content-Language: en-US From: Detlef Vollmann To: Jonathan Wakely Cc: libstdc++ , gcc Patches References: <20220310211107.1757824-1-jwakely@redhat.com> <4b5afc64-39f6-db5a-c6ba-144af10c698a@vollmann.ch> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, 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: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2022 09:57:21 -0000 On 3/11/22 20:24, Detlef Vollmann wrote: > On 3/11/22 18:59, Jonathan Wakely wrote: > >> Thanks. Now I'm getting a build failure because libtol wasn't created >> in the avr/libstdc++-v3 directory of the build tree, but I'll have to >> look into that next week. >> >> /bin/sh: ../libtool: No such file or directory > > Here's my configure call: > > $REPO_DIR/configure \ >     --prefix=$PREFIX \ >     --target=avr \ >     --enable-languages=c,c++ \ >     --with-dwarf2 \ >     --enable-multilib \ >     --enable-libstdcxx \ >     --disable-decimal-float \ >     --disable-libffi \ >     --disable-libgomp \ >     --disable-libmudflap \ >     --disable-libquadmath \ >     --disable-libssp \ >     --disable-libstdcxx-pch \ >     --disable-nls \ >     --without-included-gettext \ >     --disable-libstdcxx-verbose \ >     --disable-shared \ >     --disable-threads \ >     --disable-tls \ >     --disable-plugin \ >     --with-system-zlib \ >     --with-native-system-header-dir=$PREFIX/port/include \ >     --with-headers=yes \ >     --with-gnu-as \ >     --with-gnu-ld \ >     --with-avrlibc \ >     --with-build-time-tools=$PREFIX/lib/avr/bin > > --disable-threads is probably wrong, as I definitly have threads > (any ISR counts as thread).  I added it in the (wrong) assumption > that it would build support for std::thread... Just for completeness: for the previous steps building the toolchain I followed . Using binutils: 2.37 and AVR LibC 2.0.0 (from SVN). Detlef