Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2014 23:13:05 +0100
From:      Timo Buhrmester <fstd.lkml@gmail.com>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cross-building ARM world on amd64
Message-ID:  <20140112221305.GB2687@frozen.localdomain>
In-Reply-To: <20140112214258.GA2687@frozen.localdomain>
References:  <20140112185955.GA29733@frozen.localdomain> <CAFYkXjkh9Fs3pUmk29brKkm3p682%2BLXbx2uPTZ_xcXwLYq9=gg@mail.gmail.com> <0DC39714-91FA-4C27-AC0B-A8F52B1EAD38@freebsd.org> <20140112214258.GA2687@frozen.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
> I've uploaded the last 50 lines of the build output
Thinking again, for future reference it's probably more useful to inline th=
ose lines.
Here goes:

--8<--------------------

cc  -fpic -DPIC  -O -pipe  -I/usr/src/lib/libmd -std=3Dgnu99 -Qunused-argum=
ents -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautologic=
al-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function=
 -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -=
Wno-parentheses -c /usr/src/lib/libmd/sha512c.c -o sha512c.So
cc  -fpic -DPIC  -O -pipe  -I/usr/src/lib/libmd -std=3Dgnu99 -Qunused-argum=
ents -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tautologic=
al-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function=
 -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -=
Wno-parentheses -c sha512hl.c -o sha512hl.So
building shared library libmd.so.6
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libmd.a /usr/cros=
s/obj/arm.armv6/usr/src/tmp/usr/lib
sh /usr/src/tools/install.sh -s -o root -g wheel -m 444     libmd.so.6 /usr=
/cross/obj/arm.armv6/usr/src/tmp/lib
sh /usr/src/tools/install.sh -l s /usr/cross/obj/arm.armv6/usr/src/tmp/lib/=
libmd.so.6  /usr/cross/obj/arm.armv6/usr/src/tmp/usr/lib/libmd.so
sh /usr/src/tools/install.sh -C -o root -g wheel -m 444  /usr/src/lib/libmd=
/md4.h /usr/src/lib/libmd/md5.h /usr/src/lib/libmd/ripemd.h /usr/src/lib/li=
bmd/sha.h /usr/src/lib/libmd/sha256.h /usr/src/lib/libmd/sha512.h /usr/cros=
s/obj/arm.armv6/usr/src/tmp/usr/include
=3D=3D=3D> lib/ncurses/ncurses (obj,depend,all,install)
sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/curses.h=
=2Ein >curses.head  -e "/@BROKEN_LINKER@/s%%0%"  -e "/@HAVE_VSSCANF@/s%%1%"=
  -e "/@NCURSES_CH_T@/s%%chtype%"  -e "/@NCURSES_CONST@/s%%const%"  -e "/@N=
CURSES_EXT_COLORS@/s%%0%"  -e "/@NCURSES_EXT_FUNCS@/s%%1%"  -e "/@NCURSES_I=
NLINE@/s%%inline%"  -e "/@NCURSES_LIBUTF8@/s%%0%"  -e "/@NCURSES_MAJOR@/s%%=
5%"  -e "/@NCURSES_MBSTATE_T@/s%%0%"  -e "/@NCURSES_MINOR@/s%%7%"  -e "/@NC=
URSES_MOUSE_VERSION@/s%%1%"  -e "/@NCURSES_OK_WCHAR_T@/s%%%"  -e "/@NCURSES=
_OPAQUE@/s%%0%"  -e "/@NCURSES_PATCH@/s%%20081102%"  -e "/@NCURSES_SIZE_T@/=
s%%short%"  -e "/@NCURSES_TPARM_VARARGS@/s%%1%"  -e "/@NCURSES_WCHAR_T@/s%%=
0%"  -e "/@NCURSES_WCHAR_T@/s%%0%"  -e "/@NCURSES_WINT_T@/s%%0%"  -e "/@NEE=
D_WCHAR_H@/s%%0%"  -e "/@USE_CXX_BOOL@/s%%defined(__cplusplus)%"  -e "s%@cf=
_cv_1UL@%1UL%g"  -e "s%@cf_cv_builtin_bool@%1%g"  -e "s%@cf_cv_enable_lp64@=
%0%g"  -e "s%@cf_cv_enable_opaque@%NCURSES_OPAQUE%g"  -e "s%@cf_cv_enable_r=
eentrant@%0%g"  -e "s%@cf_cv_header_stdbool_h@%1%g"  -e "s%@cf_cv_type_of_b=
ool@%unsigned char%g"  -e "s%@cf_cv_typeof_chtype@%long%g"  -e "s%@cf_cv_ty=
peof_mmask_t@%long%g"  -e "s/ _WCHAR_T/ __wchar_t/g"  -e "s/ _WINT_T/ __win=
t_t/g"
cat curses.head > curses.h.new
AWK=3Dawk _POSIX2_VERSION=3D199209 sh /usr/src/lib/ncurses/ncurses/../../..=
/contrib/ncurses/include/MKkey_defs.sh  /usr/src/lib/ncurses/ncurses/../../=
=2E./contrib/ncurses/include/Caps >> curses.h.new
cat /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/curses.ta=
il >> curses.h.new
mv -f curses.h.new curses.h
sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/MKhashsize=
=2Esh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/Caps > =
hashsize.h
AWK=3Dawk sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/=
tinfo/MKkeys_list.sh  /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses=
/include/Caps | LC_ALL=3DC sort > keys.list
awk -f /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses/tinfo/=
MKnames.awk bigstrings=3D1 /usr/src/lib/ncurses/ncurses/../../../contrib/nc=
urses/include/Caps > names.c
AWK=3Dawk sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/=
MKncurses_def.sh  /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/inc=
lude/ncurses_defs > ncurses_def.h
sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/MKterm.h=
=2Eawk.in >MKterm.h.awk  -e "/@BROKEN_LINKER@/s%%0%"  -e "/@NCURSES_MAJOR@/=
s%%5%"  -e "/@NCURSES_MINOR@/s%%7%"  -e "/@NCURSES_CONST@/s%%const%"  -e "/=
@NCURSES_TPARM_VARARGS@/s%%1%"  -e "/@NCURSES_SBOOL@/s%%char%"  -e "/@NCURS=
ES_XNAMES@/s%%1%"  -e "/@HAVE_TERMIOS_H@/s%%1%"  -e "/@HAVE_TERMIO_H@/s%%0%=
"  -e "/@HAVE_TCGETATTR@/s%%1%"  -e "s%@cf_cv_enable_reentrant@%0%g"
awk -f MKterm.h.awk /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/i=
nclude/Caps > term.h.new
sh /usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/edit_cfg.s=
h /usr/src/lib/ncurses/ncurses/ncurses_cfg.h term.h.new
** edit: HAVE_TCGETATTR 1
** edit: HAVE_TERMIOS_H 1
** edit: HAVE_TERMIO_H 0
** edit: BROKEN_LINKER 0
mv -f term.h.new term.h
sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/termcap.=
h.in >termcap.h  -e "/@NCURSES_MAJOR@/s%%5%"  -e "/@NCURSES_MINOR@/s%%7%"  =
-e "/@NCURSES_CONST@/s%%const%"  -e "/@NCURSES_OSPEED@/s%%short%"
sed </usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/include/unctrl.h=
=2Ein >unctrl.h  -e "/@NCURSES_MAJOR@/s%%5%"  -e "/@NCURSES_MINOR@/s%%7%"
cc  -o make_keys -O -pipe  -I. -I/usr/cross/obj/usr/src/lib/ncurses/ncurses=
/../ncurses -I/usr/src/lib/ncurses/ncurses/../ncurses -I/usr/src/lib/ncurse=
s/ncurses/../ncurses -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurse=
s/include -I/usr/src/lib/ncurses/ncurses/../../../contrib/ncurses/ncurses -=
Wall -DNDEBUG -DHAVE_CONFIG_H -DFREEBSD_NATIVE -DTERMIOS -std=3Dgnu99 -Qunu=
sed-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused=
-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-un=
initialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-tau=
tological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-f=
unction -Wno-conversion /usr/src/lib/ncurses/ncurses/../../../contrib/ncurs=
es/ncurses/tinfo/make_keys.c
=2E/make_keys keys.list > init_keytry.h
=2E/make_keys: Exec format error
*** Error code 126

Stop.
make[4]: stopped in /usr/src/lib/ncurses/ncurses
*** Error code 1

Stop.
make[3]: stopped in /usr/src
*** Error code 1

Stop.
make[2]: stopped in /usr/src
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

--8<--------------------



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