From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from joooj.vinc17.net (joooj.vinc17.net [155.133.131.76]) by sourceware.org (Postfix) with ESMTPS id 15B6838582A7 for ; Mon, 4 Jul 2022 12:33:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 15B6838582A7 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=vinc17.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=vinc17.org Received: from smtp-zira.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by joooj.vinc17.net (Postfix) with ESMTPSA id BA771C0; Mon, 4 Jul 2022 14:33:31 +0200 (CEST) Received: by zira.vinc17.org (Postfix, from userid 1000) id 7FAD02800234; Mon, 4 Jul 2022 14:33:31 +0200 (CEST) Date: Mon, 4 Jul 2022 14:33:31 +0200 From: Vincent Lefevre To: gcc-help@gcc.gnu.org Subject: Re: build failure of old GCC: .../libstdc++.so.6: version `GLIBCXX_3.4.30' not found Message-ID: <20220704123331.GB1130636@zira.vinc17.org> Mail-Followup-To: gcc-help@gcc.gnu.org References: <20220704115755.GA1130636@zira.vinc17.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/2.2.6+24 (25743053) vl-149028 (2022-06-11) X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2022 12:33:34 -0000 On 2022-07-04 13:13:58 +0100, Jonathan Wakely via Gcc-help wrote: > On Mon, 4 Jul 2022 at 12:58, Vincent Lefevre wrote: > > > > On a Debian/unstable machine, I'm trying to build old GCC, such as > > one based on 0cc79337ad265aabccab63882a810f9dc509a9d0 (2021-04-20). > > I'm using > > > > ../gcc-trunk/configure --prefix=$HOME/opt/gcc-trunk \ > > --enable-multiarch \ > > --enable-languages=c \ > > --program-suffix=-test > > > > but "make" gives the following error: > > > > /usr/bin/msgfmt: /home/vlefevre/software/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/src/.libs/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /usr/lib/x86_64-linux-gnu/libicuuc.so.71) > > Something is setting LD_LIBRARY_PATH so that the newly-built > libstdc++.so is being used. Is the the same bug (or a similar one) as this one? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105688 (though the error doesn't occur at the same place). > Where in the build does it fail? I don't think LD_LIBRARY_PATH should > be set until running the testsuites. [...] make[5]: Entering directory '/home/vlefevre/software/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/po' msgfmt -o de.mo ../../../../gcc-trunk/libstdc++-v3/po/de.po [...] If I run "make" from this directory, I don't get any error. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)