From owner-freebsd-current@freebsd.org Fri Sep 23 21:54:20 2016 Return-Path: Delivered-To: freebsd-current@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 AA525BE664C for ; Fri, 23 Sep 2016 21:54:20 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from forward2h.cmail.yandex.net (forward2h.cmail.yandex.net [IPv6:2a02:6b8:0:f35::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C167C36; Fri, 23 Sep 2016 21:54:20 +0000 (UTC) (envelope-from bsam@passap.ru) Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::115]) by forward2h.cmail.yandex.net (Yandex) with ESMTP id D631820684; Sat, 24 Sep 2016 00:54:07 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 246688C0D72; Sat, 24 Sep 2016 00:54:06 +0300 (MSK) Received: by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id wtaw256Lue-s6YiVNj3; Sat, 24 Sep 2016 00:54:06 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: should aarch64 cross-build work at amd64? To: Glen Barber References: <85ef2f0d-a91b-5af2-eae1-b10edf194807@passap.ru> <20160923213905.GH33382@FreeBSD.org> <48389fc9-6223-92b0-7c1f-7b22a9225e73@passap.ru> Cc: freebsd-current@freebsd.org From: Boris Samorodov Message-ID: <8a303787-ad31-2211-2e2a-59c691205964@passap.ru> Date: Sat, 24 Sep 2016 00:54:05 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <48389fc9-6223-92b0-7c1f-7b22a9225e73@passap.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2016 21:54:20 -0000 24.09.2016 00:44, Boris Samorodov пишет: > 24.09.2016 00:39, Glen Barber пишет: >> On Sat, Sep 24, 2016 at 12:35:30AM +0300, Boris Samorodov wrote: >>> make[1]: /poudriere/jails/HEAD-aarch64/usr/src/Makefile.inc1 line 177: >>> In-tree binutils does not support the aarch64 architecture. Install the >>> aarch64-binutils port or package or set CROSS_BINUTILS_PREFIX. >> >> These lines are relevant. > > Ops. Thank you. The error when aarch64-binutils are installed: ----- % sudo poudriere jail -c -j HEAD-aarch64 -a arm.aarch64 -v head -m svn+https -J 8 [00:00:00] ====>> Cross-building ports for arm.aarch64 on amd64 requires QEMU [00:00:00] ====>> Creating HEAD-aarch64 fs... done [00:00:01] ====>> Checking out the sources from svn... done [00:03:41] ====>> Starting make buildworld with 8 jobs --- buildworld --- make[1]: "/poudriere/jails/HEAD-aarch64/usr/src/Makefile.inc1" line 146: SYSTEM_COMPILER: Determined that CC=cc matches the source tree. Not bootstrapping a cross-compiler. make[1]: "/poudriere/jails/HEAD-aarch64/usr/src/Makefile.inc1" line 371: Unknown target aarch64:arm. *** [buildworld] Error code 1 ----- -- WBR, bsam