From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5069 invoked by alias); 25 Oct 2014 08:08:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 5059 invoked by uid 89); 25 Oct 2014 08:08:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sat, 25 Oct 2014 08:08:27 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id CDB06AC8D; Sat, 25 Oct 2014 08:08:23 +0000 (UTC) User-Agent: K-9 Mail for Android In-Reply-To: <201410241647.s9OGlAUU020641@ignucius.se.axis.com> References: <201410241647.s9OGlAUU020641@ignucius.se.axis.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: PATCH: fix breakage from "[PATCH] Fix genmatch linking" From: Richard Biener Date: Sat, 25 Oct 2014 08:57:00 -0000 To: Hans-Peter Nilsson CC: gcc-patches@gcc.gnu.org,jakub@redhat.com Message-ID: X-SW-Source: 2014-10/txt/msg02625.txt.bz2 On October 24, 2014 6:47:10 PM CEST, Hans-Peter Nilsson wrote: >> From: Richard Biener >> Date: Fri, 24 Oct 2014 09:56:51 +0200 >> On Fri, 24 Oct 2014, Hans-Peter Nilsson wrote: >> > Still, I don't understand exactly how your patch >> > introduces build-subdirectories where there were none before. >> > Maybe that "+all-gcc: maybe-all-build-libcpp" was wrong and >> > should be different? >> >> No, we do need a build-libcpp to build gcc/build/genmatch. >> Not sure how you got around without a build-libiberty as other >> gen* programs surely require that. > >Regular cross-configurations got around fine as they used the >"host"-build libiberty, which for crosses seemed to differ from >"build"-builds(!) only in that they're built at the objdir top >instead of objdir/build-. Crosses *could* still use >the host libraries, but whatever; we're avoiding a >cross-or-native-conditional now. I haven't given >canadian-crosses any thought, maybe they were broken before. Most definitely. I wonder why we don't use the same trick with regular bootstrap. There I see build- variants of libiberty used for stage1. Richard. >brgds, H-P