ybd requires kernel support for namespaces when linux-user-chroot is present
Created by: nowster
Builds fail with "clone: Invalid argument", eg. for stage1-binutils:
# # case "$MORPH_ARCH" in
mips64*) ARCH_FLAGS="--with-arch=octeon2" ;;
esac
./configure --prefix="$PREFIX" --disable-nls --disable-werror \
$ARCH_FLAGS \
--build=$(sh config.guess) \
--host=$(sh config.guess) \
--target=$TARGET_STAGE1 \
--with-sysroot=/nonexistentdir --with-lib-path="=$PREFIX/lib:=$PREFIX/lib64"
CCACHE_DIR=/tmp/ccache
CCACHE_EXTRAFILES=
DEFINITIONS_REF=HEAD (No tag found)
DESTDIR=/src/tmp/tmpUBbJXd/stage1-binutils.inst
HOME=/tmp
LC_ALL=C
LOGNAME=tomjon
MORPH_ARCH=mips64b
PATH=/src/tmp/tmpUBbJXd/usr/lib/ccache:/usr/bin:/bin:/usr/sbin:/sbin
PREFIX=/tools
SHELL=/bin/sh
TARGET=mips64b-baserock-linux-gnu
TARGET_STAGE1=mips64b-bootstrap-linux-gnu
TERM=dumb
TZ=UTC
USER=tomjon
USERNAME=tomjon
YBD_REF=HEAD 15-13-51-g45e676d (15-13 + 51 commits)
sh -c 'case "$MORPH_ARCH" in
mips64*) ARCH_FLAGS="--with-arch=octeon2" ;;
esac
./configure --prefix="$PREFIX" --disable-nls --disable-werror \
$ARCH_FLAGS \
--build=$(sh config.guess) \
--host=$(sh config.guess) \
--target=$TARGET_STAGE1 \
--with-sysroot=/nonexistentdir --with-lib-path="=$PREFIX/lib:=$PREFIX/lib64"
'
clone: Invalid argument