From owner-freebsd-arm@freebsd.org Fri Feb 10 16:24:55 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDDBECD9C8A; Fri, 10 Feb 2017 16:24:55 +0000 (UTC) (envelope-from wolfgang.meyer@hob.de) Received: from hobex29.hob.de (hobex19.hob.de [212.185.199.31]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 869CF139A; Fri, 10 Feb 2017 16:24:54 +0000 (UTC) (envelope-from wolfgang.meyer@hob.de) Received: from HOBEX22.hob.de (172.22.1.22) by hobex19.hob.de (172.25.1.31) with Microsoft SMTP Server (TLS) id 14.2.347.0; Fri, 10 Feb 2017 17:24:29 +0100 Received: from HOBEX11.hob.de ([fe80::b99f:1c54:7122:49b4]) by HOBEX22.hob.de ([::1]) with mapi id 14.02.0387.000; Fri, 10 Feb 2017 17:24:47 +0100 From: "Meyer, Wolfgang" To: 'John Marino' , "'freebsd-arm@FreeBSD.org'" , "'freebsd-toolchain@FreeBSD.org'" Subject: RE: How to get a crosscompile toolchain for aarch64 for use in poudriere[?] Thread-Topic: How to get a crosscompile toolchain for aarch64 for use in poudriere[?] Thread-Index: AdKDrhWkwDVgm5wmQJOmHv89OT16WQAAOdkAAAKb3uA= Date: Fri, 10 Feb 2017 16:24:46 +0000 Message-ID: References: In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.24.71.140] old-x-esetresult: clean, is OK old-x-esetid: 46BD7B394506373217FE21 x-esetresult: clean, is OK x-esetid: 46BD7B394506373217FE21 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2017 16:24:56 -0000 > > Hello, > > > > I am gaining experience in building packages for aarch64 on an amd64 ho= st > using poudriere and it works (most of the time) quite well but it is real= ly slow. > > > > In order to accelerate the build I wanted to crosscompile within > > poudriere using the instructions provided in > > http://phaq.phunsites.net/2015/10/11/freebsd-on-armv6-cross-compile- > pe > > rformance-optimization-for-poudriere/comment-page-1/ > > and getting it to work with aarch64. > > I don't know if this will help, but I created a proper [1] cross-compiler= for > aarch64 last week: > http://www.freshports.org/lang/gnatcross-aarch64/ > > John > > [1] By proper, I mean based on FreeBSD/ARM64 sysroot (currently only > Release 11.0 available) > Thanks, I will look at it next week. Is there a documentation on how the to= olchain was created, or is it basically along the lines of normal gcc-based= toolchain creation? Although I somehow would prefer if I can manage to bas= e my cross-compile toolchain on the base system toolchain. Regards, Wolfgang ________________________________ Follow HOB: - HOB: http://www.hob.de/redirect/hob.html - Xing: http://www.hob.de/redirect/xing.html - LinkedIn: http://www.hob.de/redirect/linkedin.html - HOBLink Mobile: http://www.hob.de/redirect/hoblinkmobile.html - Facebook: http://www.hob.de/redirect/facebook.html - Twitter: http://www.hob.de/redirect/twitter.html - YouTube: http://www.hob.de/redirect/youtube.html - E-Mail: http://www.hob.de/redirect/mail.html HOB GmbH & Co. KG Schwadermuehlstr. 3 D-90556 Cadolzburg Geschaeftsfuehrung: Klaus Brandstaetter, Zoran Adamovic AG Fuerth, HRA 5180 Steuer-Nr. 218/163/00107 USt-ID-Nr. DE 132747002 Komplementaerin HOB electronic Beteiligungs GmbH AG Fuerth, HRB 3416