From owner-freebsd-arm@freebsd.org Fri Dec 4 16:31:20 2015 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 8EE66A410EE; Fri, 4 Dec 2015 16:31:20 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 44B5F153A; Fri, 4 Dec 2015 16:31:17 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from e-bsd.cs.huji.ac.il ([132.65.80.241] helo=outmail.cs.huji.ac.il ident=exim) by kabab.cs.huji.ac.il with esmtp id 1a4tGF-000C8n-Ps; Fri, 04 Dec 2015 18:31:07 +0200 Received: from [132.65.179.20] (helo=mbpro2.bs.cs.huji.ac.il) by outmail.cs.huji.ac.il with esmtpsa id 1a4tGF-0008PB-LT; Fri, 04 Dec 2015 18:31:07 +0200 From: Daniel Braniss Subject: cross compiling Message-Id: <4E33BE7E-5443-438A-A45C-04B4B90528F9@cs.huji.ac.il> Date: Fri, 4 Dec 2015 18:31:13 +0200 To: freebsd-arm , freebsd-hackers@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.1 \(3096.5\)) X-Mailer: Apple Mail (2.3096.5) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2015 16:31:20 -0000 Hi, I can cross compile for armv6 (raspberry Pi B), and I do get a working = version, and till about July, I was able to cross compile a module doing something like this: $ cd $SRC $ make kernel-toolchain TARGET_ARCH=3Darmv6 $ make buildenv TARGET_ARCH=3Darmv6 BUILDENV_SHELL=3D/usr/local/bin/shell $ cd $ make but today, after a fresh svn update of current, I get: Warning: Object directory not changed from original = /a/fr-05/vol/home/system/danny/src/FreeBSD/ARM/elc/sys/modules/mfrc cc -O -pipe -mfloat-abi=3Dsoftfp -DMFRC_DEBUG=3D8 -Werror -D_KERNEL = -DKLD_MODULE -nostdinc = -I/a/fr-05/vol/home/system/danny/src/FreeBSD/ARM/elc/sys/modules/mfrc/../.= . -I. -I@ -I@/contrib/altq -fno-common -ffreestanding -c = /a/fr-05/vol/home/system/danny/src/FreeBSD/ARM/elc/sys/modules/mfrc/../../= dev/mfrc/mfrc.c -o mfrc.o cc: error: argument unused during compilation: '-mfloat-abi=3Dsoftfp' *** Error code 1 so, what magic am I missing?