make xdev failing for me
Warner Losh
imp at bsdimp.com
Sun Feb 3 01:20:40 UTC 2013
On Feb 2, 2013, at 10:13 AM, Isaac (.ike) Levy wrote:
> 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=arm XDEV_ARCH=arm
>
> 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?
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!
>
> Best,
> .ike
>
>
>
> --
> root at host:/usr/src # svn up
> Updating '.':
> At revision 246254.
> root at host:/usr/src #
> # make xdev XDEV=arm XDEV_ARCH=arm
> ...
> 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
> ===> 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
> ===> 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 */
> ^
> crt1.s:11:2: error: unknown use of instruction mnemonic without a size suffix
> mov r4, r1 /* obj_main */
> ^
> crt1.s:12:2: error: unknown use of instruction mnemonic without a size suffix
> mov r3, r0 /* ps_strings */
> ^
> crt1.s:14:13: error: expected ']' in brackets expression
> ldr r0, [sp, #0x0000]
> ^
> crt1.s:15:14: error: unknown token in expression
> add r1, sp, #0x0004
> ^
> crt1.s:16:2: error: unknown use of instruction mnemonic without a size suffix
> add r2, r1, r0, lsl #2
> ^
> crt1.s:17:14: error: unknown token in expression
> add r2, r2, #0x0004
> ^
> crt1.s:19:14: error: unknown token in expression
> bic sp, sp, #7
> ^
> crt1.s:20:14: error: unknown token in expression
> sub sp, sp, #8
> ^
> crt1.s:21:13: error: expected ']' in brackets expression
> str r5, [sp, #4]
> ^
> crt1.s:22:13: error: expected ']' in brackets expression
> str r4, [sp, #0]
> ^
> crt1.s:24:2: error: invalid instruction mnemonic 'b'
> b __start
> ^
> *** [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 at host:/usr/src #
>
>
>
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"
More information about the freebsd-arm
mailing list