From owner-freebsd-current@FreeBSD.ORG Thu Jun 30 11:26:35 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF117106566B for ; Thu, 30 Jun 2011 11:26:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4D8D98FC0C for ; Thu, 30 Jun 2011 11:26:34 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=SJA03SmFjIOBaRUqQpAxZTuC3Mg0Qr8luS0qYjfHCY4= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=JEpRC5FsCwkA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=ChsiAOgWrHde61Gll_UA:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 146941523; Thu, 30 Jun 2011 13:26:33 +0200 From: Hans Petter Selasky To: Olivier Houchard Date: Thu, 30 Jun 2011 13:24:49 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201106301122.36155.hselasky@c2i.net> <20110630111348.GA111@ci0.org> In-Reply-To: <20110630111348.GA111@ci0.org> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106301324.49236.hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: Crossbuild failure on 8-stable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 30 Jun 2011 11:26:35 -0000 On Thursday 30 June 2011 13:13:48 Olivier Houchard wrote: > On Thu, Jun 30, 2011 at 11:22:36AM +0200, Hans Petter Selasky wrote: > > Hi, > > > > Trying to cross build ARM fails in the following way on 8-stable: > > > > 8.2-STABLE FreeBSD 8.2-STABLE #1: Wed Jun 29 13:09:23 UTC 2011 > > > > make toolchain TARGET=arm > > > > Is this perhaps also an issue in 9-current? > > > > Any clues? > > Hi Hans Peter, > > > Not sure if it is your problem, but I think it should be > make toolchain TARGET_ARCH=arm > Using "make toolchain TARGET_ARCH=arm" gives the same error code. Tracing down the issue: /usr/include/machine/endian.h #define __byte_swap_int_var(x) \ __extension__ ({ register __uint32_t __X = (x); \ __asm ("bswap %0" : "+r" (__X)); \ __X; }) r0 looks like an ARM register passed to a non-arm assembler. I'm going to try: "make toolchains" And see how that works out. --HPS