Received: from list by lists.gnu.org with archive (Exim 4.71) id 1gw5hx-0008ON-AG for mharc-grub-devel@gnu.org; Tue, 19 Feb 2019 08:45:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gw5hu-0008L3-V7 for grub-devel@gnu.org; Tue, 19 Feb 2019 08:45:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gw5ht-0006BO-IL for grub-devel@gnu.org; Tue, 19 Feb 2019 08:45:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:40716 helo=mx1.suse.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gw5hs-0005t2-UN for grub-devel@gnu.org; Tue, 19 Feb 2019 08:45:09 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D43E2ABD2; Tue, 19 Feb 2019 13:44:49 +0000 (UTC) Subject: Re: [PATCH v2] Add travis-ci config file To: Daniel Kiper Cc: grub-devel@gnu.org, Paul Menzel References: <20190214131228.32415-1-agraf@suse.de> <20190218185735.uqhmrf524pafkl2s@tomti.i.net-space.pl> <20190218190845.mmqloktqmaeorq36@tomti.i.net-space.pl> From: Alexander Graf Message-ID: Date: Tue, 19 Feb 2019 14:44:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20190218190845.mmqloktqmaeorq36@tomti.i.net-space.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 195.135.220.15 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 13:45:12 -0000 On 02/18/2019 08:08 PM, Daniel Kiper wrote: > On Mon, Feb 18, 2019 at 07:57:35PM +0100, Daniel Kiper wrote: >> On Thu, Feb 14, 2019 at 02:12:28PM +0100, Alexander Graf wrote: > [...] > >>> + - mkdir /tmp/cross >>> + # results in binaries like /tmp/cross/gcc-8.1.0-nolibc/ia64-linux/bin/ia64-linux-gcc >>> + - for i in $CROSS_TARGETS; do >>> + ( cd /tmp/cross; wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.1.0/x86_64-gcc-8.1.0-nolibc-$i.tar.xz | xzcat | tar x ); >> Should not we add e.g. -t 3 to wget command line? >> >> s/mirrors.edge.kernel.org/mirrors.kernel.org/? >> s/xzcat | tar x/tar xJ/ >> >> And should not we verify signatures of >> x86_64-gcc-8.1.0-nolibc-$i.tar.xz? >> >> And why we need "(...)", brackets here? > https://mirrors.edge.kernel.org/pub/tools/crosstool/ says: > These compilers are only functional for kernel builds, they cannot be > used to build userspace code. For complete toolchains, go to > https://toolchains.bootlin.com/ > > We build userspace code. So, maybe this is not the best fit for us. We do not build user space code for the cross target, only for the host. Pretty much the same as the kernel. Alex