From owner-freebsd-arm@FreeBSD.ORG Sat Feb 2 17:14:53 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 037A2D93 for ; Sat, 2 Feb 2013 17:14:53 +0000 (UTC) (envelope-from ike@blackskyresearch.net) Received: from rs149.luxsci.com (rs149.luxsci.com [64.49.224.181]) by mx1.freebsd.org (Postfix) with ESMTP id C27A7C10 for ; Sat, 2 Feb 2013 17:14:52 +0000 (UTC) Received: from rs149.luxsci.com (localhost.localdomain [127.0.0.1]) by rs149.luxsci.com (8.14.4/8.13.8) with ESMTP id r12HEjJk002548 for ; Sat, 2 Feb 2013 12:14:45 -0500 Received: (from root@localhost) by rs149.luxsci.com (8.14.4/8.13.8/Submit) id r12HE3kG002204 for freebsd-arm@freebsd.org; Sat, 2 Feb 2013 17:14:03 GMT Received: (from sender 74627) (rs149.luxsci.com [127.0.0.1]) by LuxSci SP; Sat, 02 Feb 2013 17:14:02 +0000 From: "Isaac (.ike) Levy" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: make xdev failing for me Date: Sat, 2 Feb 2013 12:13:33 -0500 To: freebsd-arm@freebsd.org X-Lux-Comment: Message r12HDXlF001972 sent by user #74627 Message-Id: <1359825242-6737780.11277733.fr12HDXlF001972@rs149.luxsci.com> X-Comment: LuxSci SP Message ID - 1359825242-6737780.11277733 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2013 17:14:53 -0000 Hi All, Been using Tim's scripts for a few months, I've just rebuilt a 10.x "build-mule" machine, and I'm snagged somewhere = new: # make xdev XDEV=3Darm XDEV_ARCH=3Darm Breaking output below. I pulled the clang bits from /etc/make.conf, but it appears to be using = clang to build the xdev bits? (I don't believe it's relevant, but I built the host using clang, = (amd64), and the boot disk is zfs.) -- Should I file a PR, or am I down a known-silly path? Thanks! Best, .ike -- root@host:/usr/src # svn up Updating '.': At revision 246254. root@host:/usr/src #=20 # make xdev XDEV=3Darm XDEV_ARCH=3Darm ... install -C -o root -g wheel -m 444 libcompiler_rt.a = /usr/arm-freebsd/usr/lib /usr/arm-freebsd/usr/lib/libgcc.a -> libcompiler_rt.a =3D=3D=3D> gnu/lib/csu (obj,depend,all,install) install -o root -g wheel -m 444 crtbegin.o = /usr/arm-freebsd/usr/lib/crtbegin.o install -o root -g wheel -m 444 crtend.o = /usr/arm-freebsd/usr/lib/crtend.o install -o root -g wheel -m 444 crtbeginT.o = /usr/arm-freebsd/usr/lib/crtbeginT.o install -o root -g wheel -m 444 crtbeginS.o = /usr/arm-freebsd/usr/lib/crtbeginS.o install -o root -g wheel -m 444 crtendS.o = /usr/arm-freebsd/usr/lib/crtendS.o =3D=3D=3D> lib/csu/arm (obj,depend,all,install) clang -c -o crt1.o crt1.s crt1.s:10:2: error: unknown use of instruction mnemonic without a size = suffix mov r5, r2 /* cleanup */ =20 ^ crt1.s:11:2: error: unknown use of instruction mnemonic without a size = suffix mov r4, r1 /* obj_main */ =20 ^ crt1.s:12:2: error: unknown use of instruction mnemonic without a size = suffix mov r3, r0 /* ps_strings */ =20 ^ crt1.s:14:13: error: expected ']' in brackets expression ldr r0, [sp, #0x0000] =20 ^ crt1.s:15:14: error: unknown token in expression add r1, sp, #0x0004 =20 ^ crt1.s:16:2: error: unknown use of instruction mnemonic without a size = suffix add r2, r1, r0, lsl #2 =20 ^ crt1.s:17:14: error: unknown token in expression add r2, r2, #0x0004 =20 ^ crt1.s:19:14: error: unknown token in expression bic sp, sp, #7 =20 ^ crt1.s:20:14: error: unknown token in expression sub sp, sp, #8 =20 ^ crt1.s:21:13: error: expected ']' in brackets expression str r5, [sp, #4] =20 ^ crt1.s:22:13: error: expected ']' in brackets expression str r4, [sp, #0] =20 ^ crt1.s:24:2: error: invalid instruction mnemonic 'b' b __start =20 ^ *** [crt1.o] Error code 1 Stop in /usr/src/lib/csu/arm. *** [lib/csu/arm__L] Error code 1 Stop in /usr/src. *** [libraries] Error code 1 Stop in /usr/src. *** [_xi-libraries] Error code 1 Stop in /usr/src. *** [xdev] Error code 1 Stop in /usr/src. root@host:/usr/src #=20