Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2013 18:20:29 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Isaac (.ike) Levy <ike@blackskyresearch.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: make xdev failing for me
Message-ID:  <FBE091CD-C020-48CB-ADB5-A7D61BD5C580@bsdimp.com>
In-Reply-To: <1359825242-6737780.11277733.fr12HDXlF001972@rs149.luxsci.com>
References:  <1359825242-6737780.11277733.fr12HDXlF001972@rs149.luxsci.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Feb 2, 2013, at 10:13 AM, Isaac (.ike) Levy wrote:

> Hi All,
>=20
> 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:
>=20
> # make xdev XDEV=3Darm XDEV_ARCH=3Darm
>=20
> Breaking output below.
> I pulled the clang bits from /etc/make.conf, but it appears to be =
using clang to build the xdev bits?
>=20
> (I don't believe it's relevant, but I built the host using clang, =
(amd64), and the boot disk is zfs.)
>=20
> --
> Should I file a PR, or am I down a known-silly path?

Please file a PR. This should just work. It did last time I did it. I'll =
look at it after I get back from a mini-vacation I'm on...

Warner

> Thanks!
>=20
> Best,
> .ike
>=20
>=20
>=20
> --
> 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
>=20
> Stop in /usr/src/lib/csu/arm.
> *** [lib/csu/arm__L] Error code 1
>=20
> Stop in /usr/src.
> *** [libraries] Error code 1
>=20
> Stop in /usr/src.
> *** [_xi-libraries] Error code 1
>=20
> Stop in /usr/src.
> *** [xdev] Error code 1
>=20
> Stop in /usr/src.
> root@host:/usr/src #=20
>=20
>=20
>=20
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?FBE091CD-C020-48CB-ADB5-A7D61BD5C580>