From patchwork Tue Jan 21 00:32:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Drew Bliss X-Patchwork-Id: 312769 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 6FA5B2C009F for ; Tue, 21 Jan 2014 11:32:35 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=VZURiCW64XjcUGwNRvb8g94ABf6AX C7gDlvxCrXQg7Db1VbidmH8k/ilV78qfTIZJp+sio02iApRhXKRvogkpiBGDdW1O hyw4p9zAM1XZOFIYV8kVoQX79ZKBuPOHMLLzOysfPVSmtApRUU0iO70D50jf8E1z rjm358SaqTScEc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=WLgI17yrIWUleYIhg9nxYUU3/hg=; b=Ecd 1nNz1+U7dLhPvBMPyTeRe/wNpEvPZZiFk8KtD92MNYWDOJMu0ZZYLn6WyVzAiTh9 MKhEGiQnVnU6Ni9K0Ef3bwvll2CY0oggOAipq/Oi/Dk6t+kc6BOD9f9Z/Ky/wRhQ 7akEhn/SfHyHF3BeqAXw0l0+YVaobPdWmQrO+paw= Received: (qmail 5590 invoked by alias); 21 Jan 2014 00:32:28 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org Received: (qmail 5579 invoked by uid 89); 21 Jan 2014 00:32:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.1 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx3.valvesoftware.com Received: from mx3.valvesoftware.com (HELO mx3.valvesoftware.com) (208.64.203.145) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Jan 2014 00:32:26 +0000 Received: from mx3.valvesoftware.com (127.0.0.1) id hrn01k0171sj for ; Mon, 20 Jan 2014 16:32:25 -0800 (envelope-from ) Received: from mx3.valvesoftware.com ([172.16.1.53]) by mx3.valvesoftware.com (SonicWALL 7.4.4.8435) with ESMTP id 201401210032240023005; Mon, 20 Jan 2014 16:32:24 -0800 Received: from FEDEX1.valvesoftware.com (172.16.1.101) by exchange10.valvesoftware.com (172.16.1.53) with Microsoft SMTP Server (TLS) id 14.3.146.0; Mon, 20 Jan 2014 16:32:24 -0800 Received: from EXCHANGE10.valvesoftware.com ([fe80::995a:b010:5730:9af]) by fedex1.valvesoftware.com ([::1]) with mapi id 14.03.0169.001; Mon, 20 Jan 2014 16:32:24 -0800 From: Drew Bliss To: "'crossgcc@sourceware.org'" Subject: RE: crosstool-ng 1.19.0 fails to build i686-unknown-mingw32 Date: Tue, 21 Jan 2014 00:32:23 +0000 Message-ID: <081118858EAEC94C9E4EE628510B31CD13227DF1@exchange10.valvesoftware.com> References: <081118858EAEC94C9E4EE628510B31CD13227D62@exchange10.valvesoftware.com> In-Reply-To: x-exclaimer-md-config: 86b76815-e903-4403-b95d-5abb05264373 MIME-Version: 1.0 X-Mlf-Version: 7.4.4.8435 X-Mlf-UniqueId: o201401210032240023005 The x-tools directory appears to be cleaned up and recreated when running ct-ng build, so any manually created directory is gone by the time it gets to the point of needing it. Back in Aug 2012 the same issue was reported with 1.16 and a user said that this patch reordering steps fixed the problem. It doesn't appear to fix it with 1.19, plus the patch was considered undesirable since it breaks non-mingw builds. -----Original Message----- From: Ray Donnelly [mailto:mingw.android@gmail.com] Sent: Monday, January 20, 2014 4:19 PM To: Drew Bliss Cc: crossgcc@sourceware.org Subject: Re: crosstool-ng 1.19.0 fails to build i686-unknown-mingw32 mkdir -p .. of course! On Tue, Jan 21, 2014 at 12:18 AM, Ray Donnelly wrote: > As a workaround you can make the parent directory before commencing the build: > > mkdir > /home/user/x-tools/i686-unknown-mingw32/i686-unknown-mingw32/sysroot/m > ingw > > > On Mon, Jan 20, 2014 at 11:50 PM, Drew Bliss wrote: >> This is the same issue that Daniel Pauli mailed about in Mar 2013 but there didn't seem to be a reply. Does anybody know what the problem is here? >> >> From: Daniel Pauli >> To: crossgcc at sourceware dot org >> Date: Wed, 6 Mar 2013 19:47:25 +0100 >> Subject: crosstool-ng 1.18.0 fails to build i686-unknown-mingw32 for >> gcc 4.7.2 Hey there >> >> I'm trying to build the i686-unknown-mingw32 sample for gcc 4.7.2 but >> it fails at the following step: >> >> [ALL ] The directory that should contain system headers does not exist: >> [ALL ] /home/user/x-tools/i686-unknown-mingw32/i686-unknown-mingw32/sysroot/mingw/include >> [ERROR] make[2]: *** [stmp-fixinc] Error 1 >> [ALL ] rm gcc.pod >> [ALL ] make[2]: Leaving directory >> `/home/user/crosstool-ng-1.18.0/test/.build/i686-unknown-mingw32/build/build-cc-core-pass-1/gcc' >> [ERROR] make[1]: *** [all-gcc] Error 2 >> [ALL ] make[1]: Leaving directory >> `/home/user/crosstool-ng-1.18.0/test/.build/i686-unknown-mingw32/build/build-cc-core-pass-1' >> [ERROR] >> [ERROR] >> >> [ERROR] >> Build failed in step 'Installing pass-1 core C compiler' >> [ERROR] >> called in step '(top-level)' >> [ERROR] >> >> [ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257] >> [ERROR] >> called from: do_cc_core_backend[scripts/build/cc/gcc.sh@448] >> [ERROR] >> called from: do_cc_core_pass_1[scripts/build/cc/gcc.sh@101] >> [ERROR] >> called from: main[scripts/crosstool-NG.sh@632] >> >> >> -- >> For unsubscribe information see http://sourceware.org/lists.html#faq >> --- For unsubscribe information see http://sourceware.org/lists.html#faq --- a/lib/ct-ng.1.16.0/steps.mk 2012-08-06 14:55:00.848409671 +0200 +++ b/lib/ct-ng.1.16.0/steps.mk 2012-08-06 14:39:24.736900247 +0200 @@ -36,9 +36,9 @@ binutils_for_host \ elf2flt_for_host \ sstrip_for_host \ + libc_start_files \ cc_core_pass_1 \ kernel_headers \ - libc_start_files \ cc_core_pass_2 \ libc \ cc_for_build \