From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55978 invoked by alias); 12 Mar 2017 12:14:58 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 55958 invoked by uid 89); 12 Mar 2017 12:14:57 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=there!, josh, Josh, upgraded X-HELO: mx06.a.out.hosting.netstream.com Received: from mx06.a.out.hosting.netstream.com (HELO mx06.a.out.hosting.netstream.com) (80.238.249.7) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 12 Mar 2017 12:14:55 +0000 Received: from s8450.vdc.netstream.com (HELO smtp.business-exchange.ch) ([62.65.133.80]) by mx06.a.out.hosting.netstream.com with ESMTP; 12 Mar 2017 13:14:55 +0100 Received: from S0896.hosting.local (10.0.5.218) by s0897.hosting.local (10.0.5.220) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Sun, 12 Mar 2017 13:14:52 +0100 Received: from S0896.hosting.local ([fe80::2424:b627:4f78:a457]) by s0896.hosting.local ([fe80::2424:b627:4f78:a457%19]) with mapi id 15.00.1130.005; Sun, 12 Mar 2017 13:14:52 +0100 From: Etan Kissling To: Alexey Neyman CC: Josh Branning , "crossgcc@sourceware.org" Subject: Re: Building rpi armv6 toolchain on macOS Date: Sun, 12 Mar 2017 12:14:00 -0000 Message-ID: <4A1605A7-DE40-4035-A05F-F10D55F1BDB0@oberon.ch> References: <70FD9E5B-E9D1-43CF-84FF-B64AC54FA6C7@oberon.ch> <58C49061.6030807@gmail.com> <46e45cf1-06b7-cf1a-0613-82013de1a289@att.net> In-Reply-To: <46e45cf1-06b7-cf1a-0613-82013de1a289@att.net> x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted Content-Type: text/plain; charset="us-ascii" Content-ID: <2B1E47F687D4694F9DFE97574619227F@hosting.local> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00022.txt.bz2 Got me :-) With bundled patches and master, it runs through for me now as well, even w= ithout my original changes. The oldconfig was the only step I missed ^^ Thanks for pointing out my mist= ake there! > On 12 Mar 2017, at 02:04, Alexey Neyman wrote: >=20 > On 03/11/2017 04:03 PM, Josh Branning wrote: >> On 11/03/17 21:06, Etan Kissling wrote: >>> Thanks for the quick reply! >>>=20 >>> With the master build, I run into an error quite quickly (following ins= tructions from crosstool-ng.org). >>> [DEBUG] =3D=3D> Executing: 'mkdir' '-p' '/build' >>> [ALL ] mkdir: /build: Permission denied >>> - Full log: https://scriptreactor.com/rpi1-master-build.log >>>=20 >>> Any idea what's going on here? >>=20 >> Are you running crosstool-ng as root? And do you have permission to writ= e to the / directory? I'm guessing not. (If not, then I suggest changing th= e build directory instead of running as root.) > As the error states, he *is not* running it as root. Moreover, running as= root IS NOT RECOMMENDED - crosstool-ng is quite explicit about it. >=20 > The problem is that he took a config from 1.22 and tried to run it on mas= ter without upgrading it through the regular procedure for kconfig-based sy= stem ("oldconfig"). In master, build directory is set using a value of an a= uxiliary variable, CT_BUILD_TOP_DIR, that isn't set in the config unless it= is upgraded. >=20 > Regards, > Alexey.