cross-building ARM world on amd64

Timo Buhrmester fstd.lkml at gmail.com
Mon Jan 13 05:20:17 UTC 2014


On Sun, Jan 12, 2014 at 06:09:21PM -0800, Tim Kientzle wrote:
> Can you search your /usr/obj to see if you have multiple
> copies of make_keys somewhere?
# find /usr/cross/obj -name make_keys -exec file {} \;
/usr/cross/obj/arm.armv6/usr/src/lib/ncurses/ncurses/make_keys: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000510), not stripped
/usr/cross/obj/arm.armv6/usr/src/lib/ncurses/ncursesw/make_keys: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0 (1000510), not stripped
/usr/cross/obj/usr/src/lib/ncurses/ncurses/make_keys: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for FreeBSD 11.0 (1100005), not stripped
(this is what i have after redoing the process from scratch as mentioned below)

> It might also be worth scrutinizing your environment;
> you may have some environment variables that are
> surprising the build process.
> Of course, getting a new /usr/src tree is always a
> worthwhile thing to try.
I checked out a fresh copy of HEAD, removed obj/ and tried again, this time as root in a 'clean' env (was toor before)
# env
USER=root
LOGNAME=root
HOME=/root
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
TERM=xterm
BLOCKSIZE=K
SHELL=/bin/csh
SSH_CLIENT=192.168.0.12 58550 22
SSH_CONNECTION=192.168.0.12 58550 192.168.0.4 22
SSH_TTY=/dev/pts/8
HOSTTYPE=FreeBSD
VENDOR=amd
OSTYPE=FreeBSD
MACHTYPE=x86_64
SHLVL=1
PWD=/root
GROUP=wheel
HOST=flap
REMOTEHOST=192.168.0.12
EDITOR=vi
PAGER=more

The process failed at the same step as before, I've uploaded the new build log regardless: http://penenen.de/build2.log.bz2


Best Regards,
Timo


More information about the freebsd-questions mailing list