Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Feb 2013 12:13:33 -0500
From:      "Isaac (.ike) Levy" <ike@blackskyresearch.net>
To:        freebsd-arm@freebsd.org
Subject:   make xdev failing for me
Message-ID:  <1359825242-6737780.11277733.fr12HDXlF001972@rs149.luxsci.com>

next in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1359825242-6737780.11277733.fr12HDXlF001972>