[laminar] Executing cfg/jobs/crosstoolng-loongarch64-unknown-linux-gnu.run ++ id -u ++ id -g ++ echo crosstoolng-loongarch64-unknown-linux-gnu ++ cut -f 1 -d - + docker run --rm --interactive --volume /var/cache/git:/var/cache/git --volume /var/cache/laminar:/var/cache/laminar --volume /var/lib/laminar/cfg/scripts:/var/lib/laminar/cfg/scripts --volume /var/lib/laminar/cfg/patches:/var/lib/laminar/cfg/patches --volume /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6:/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 --env rev= --env JOB=crosstoolng-loongarch64-unknown-linux-gnu --env COMPILER_SUITE= --security-opt apparmor=unconfined --net=host --user 998:998 --workdir /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 crosstoolng /bin/bash + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts + BUILD_REPO=/var/cache/git/crosstoolng ++ basename /var/cache/git/crosstoolng .git + BUILD_REPO_DIR=crosstoolng ++ echo crosstoolng-loongarch64-unknown-linux-gnu ++ sed -e 's/^crosstoolng-//' + BUILD_ARCH=loongarch64-unknown-linux-gnu + BUILD_REV= + '[' -z '' ']' + BUILD_REV=master + . /var/lib/laminar/cfg/scripts/evaluate_patches.inc + ORIG_WORKDIR=/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 + set + export BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=([0]="0") BASH_ARGV=() BASH_CMDS=() BASH_LINENO=() BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=() BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.15(1)-release' BUILD_ARCH=loongarch64-unknown-linux-gnu BUILD_REPO=/var/cache/git/crosstoolng BUILD_REPO_DIR=crosstoolng BUILD_REV=master COMPILER_SUITE= DIRSTACK=() EUID=998 GROUPS=() HOME=/home/foo HOSTNAME=lili HOSTTYPE=x86_64 IFS=$' \t\n' JOB=crosstoolng-loongarch64-unknown-linux-gnu MACHTYPE=x86_64-pc-linux-gnu OPTERR=1 OPTIND=1 ORIG_WORKDIR=/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 OSTYPE=linux-gnu PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts PIPESTATUS=([0]="0") PPID=0 PS4='+ ' PWD=/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:xtrace SHLVL=1 TERM=dumb UID=998 _= rev= apply_patches () { local this_arg; local this_path; local this_prefix; local this_patch; while [ "${#}" -gt 0 ]; do this_arg="${1}"; shift; this_path="$(echo "${this_arg}" | cut -f 1 -d :)"; this_prefix="$(echo "${this_arg}" | cut -f 2 -d :)"; pushd "${this_path}"; for this_patch in "/var/lib/laminar/cfg/patches/${this_prefix}--"*.patch; do if [ -r "${this_patch}" ]; then patch -p1 < "${this_patch}"; fi; done; popd; done } declare -x COMPILER_SUITE="" declare -x HOME="/home/foo" declare -x HOSTNAME="lili" declare -x JOB="crosstoolng-loongarch64-unknown-linux-gnu" declare -x OLDPWD declare -x PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/laminar/cfg/scripts" declare -x PWD="/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6" declare -x SHLVL="1" declare -x rev="" + echo 'inet4_only = on' + pushd /tmp /tmp /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 + rm -rf crosstoolng + git clone --shared /var/cache/git/crosstoolng Cloning into 'crosstoolng'... done. + pushd crosstoolng + git checkout master /tmp/crosstoolng /tmp /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 Already on 'master' Your branch is up to date with 'origin/master'. + apply_patches .:generic-crosstoolng .:crosstoolng-loongarch64-unknown-linux-gnu + local this_arg + local this_path + local this_prefix + local this_patch + '[' 2 -gt 0 ']' + this_arg=.:generic-crosstoolng + shift ++ echo .:generic-crosstoolng ++ cut -f 1 -d : + this_path=. ++ echo .:generic-crosstoolng ++ cut -f 2 -d : + this_prefix=generic-crosstoolng + pushd . /tmp/crosstoolng /tmp/crosstoolng /tmp /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 + for this_patch in "/var/lib/laminar/cfg/patches/${this_prefix}--"*.patch + '[' -r '/var/lib/laminar/cfg/patches/generic-crosstoolng--*.patch' ']' + popd /tmp/crosstoolng /tmp /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 + '[' 1 -gt 0 ']' + this_arg=.:crosstoolng-loongarch64-unknown-linux-gnu + shift ++ echo .:crosstoolng-loongarch64-unknown-linux-gnu ++ cut -f 1 -d : + this_path=. ++ echo .:crosstoolng-loongarch64-unknown-linux-gnu ++ cut -f 2 -d : /tmp/crosstoolng /tmp/crosstoolng /tmp /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 + this_prefix=crosstoolng-loongarch64-unknown-linux-gnu + pushd . + for this_patch in "/var/lib/laminar/cfg/patches/${this_prefix}--"*.patch + '[' -r '/var/lib/laminar/cfg/patches/crosstoolng-loongarch64-unknown-linux-gnu--*.patch' ']' + popd /tmp/crosstoolng /tmp /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 + '[' 0 -gt 0 ']' + git show commit 1adc236e69a2a6d4d84a48336c652ca081fad429 Merge: 89671bf2 17dfb51f Author: Bryan Hundven Date: Thu Mar 30 23:53:04 2023 -0700 Merge pull request #1928 from cpackham/updates Updates to strace and linux + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + git diff ++ git rev-parse HEAD + REV_ID=1adc236e69a2a6d4d84a48336c652ca081fad429 ++ grep CT_HOST samples/loongarch64-unknown-linux-gnu/crosstool.config ++ cut -f 2 -d '"' + CT_HOST_SETTING= + '[' -n '' ']' + ./bootstrap INFO :: *** Generating package version descriptions INFO :: Master packages: autoconf automake avr-libc binutils bison cloog dtc duma elf2flt expat gcc gdb gettext glibc gmp gnuprumcu isl libelf libiconv libtool linux ltrace m4 make mingw-w64 moxiebox mpc mpfr musl ncurses newlib-nano newlib picolibc strace uClibc-ng zlib zstd INFO :: Generating 'config/versions/autoconf.in' INFO :: Generating 'config/versions/automake.in' INFO :: Generating 'config/versions/avr-libc.in' INFO :: Generating 'config/versions/binutils.in' INFO :: Generating 'config/versions/bison.in' INFO :: Generating 'config/versions/cloog.in' INFO :: Generating 'config/versions/dtc.in' INFO :: Generating 'config/versions/duma.in' INFO :: Generating 'config/versions/elf2flt.in' INFO :: Generating 'config/versions/expat.in' INFO :: Generating 'config/versions/gcc.in' INFO :: Generating 'config/versions/gdb.in' INFO :: Generating 'config/versions/gettext.in' INFO :: Generating 'config/versions/glibc.in' INFO :: Generating 'config/versions/gmp.in' INFO :: Generating 'config/versions/gnuprumcu.in' INFO :: Generating 'config/versions/isl.in' INFO :: Generating 'config/versions/libelf.in' INFO :: Generating 'config/versions/libiconv.in' INFO :: Generating 'config/versions/libtool.in' INFO :: Generating 'config/versions/linux.in' INFO :: Generating 'config/versions/ltrace.in' INFO :: Generating 'config/versions/m4.in' INFO :: Generating 'config/versions/make.in' INFO :: Generating 'config/versions/mingw-w64.in' INFO :: Generating 'config/versions/moxiebox.in' INFO :: Generating 'config/versions/mpc.in' INFO :: Generating 'config/versions/mpfr.in' INFO :: Generating 'config/versions/musl.in' INFO :: Generating 'config/versions/ncurses.in' INFO :: Generating 'config/versions/newlib-nano.in' INFO :: Generating 'config/versions/newlib.in' INFO :: Generating 'config/versions/picolibc.in' INFO :: Generating 'config/versions/strace.in' INFO :: Generating 'config/versions/uClibc-ng.in' INFO :: Generating 'config/versions/zlib.in' INFO :: Generating 'config/versions/zstd.in' INFO :: *** Generating menu/choice selections INFO :: Generating arch.in (choice) INFO :: Generating kernel.in (choice) INFO :: Generating cc.in (choice) INFO :: Generating binutils.in (choice) INFO :: Generating libc.in (choice) INFO :: Generating debug.in (menu) INFO :: Generating comp_tools.in (menu) INFO :: Generating comp_libs.in (menu) INFO :: *** Gathering the list of data files to install INFO :: *** Running autoreconf INFO :: *** Done! + ./configure --enable-local checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking whether ln -s works... yes checking whether install takes --strip-program option... yes checking for ggrep... no checking for grep... grep checking for absolute path to grep... /usr/bin/grep checking for gegrep... no checking for egrep... egrep checking for absolute path to egrep... /usr/bin/egrep checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sed... /usr/bin/sed checking for GNU sed >= 4.0... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for g++... g++ checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking whether yytext is a pointer... yes checking for bison... bison -y checking if bison is the parser generator... yes checking whether g++ supports C++11 features by default... yes checking if gcc can static link... yes checking for ranlib... ranlib checking for gobjcopy... no checking for objcopy... objcopy checking for absolute path to objcopy... /usr/bin/objcopy checking for gobjdump... no checking for objdump... objdump checking for absolute path to objdump... /usr/bin/objdump checking for greadelf... no checking for readelf... readelf checking for absolute path to readelf... /usr/bin/readelf checking for flex... flex checking for makeinfo... makeinfo checking for cut... cut checking for readlink... readlink checking for tar... tar checking for gzip... gzip checking for bzip2... bzip2 checking for xz... xz checking for unzip... unzip checking for help2man... help2man checking for file... file checking for which... which checking for lzip... no checking for wget... wget checking for curl... curl checking for meson... no checking for ninja... no checking for rsync... no checking whether to use getconf or sysctl to count CPUs... getconf _NPROCESSORS_ONLN checking for gpatch... no checking for patch... patch checking for absolute path to patch... /usr/bin/patch checking whether patch supports --no-backup-if-mismatch... yes checking for bash... /usr/bin/bash checking for GNU bash >= 3.1... yes checking for absolute path to gawk... /usr/bin/gawk checking for GNU awk... yes checking for make... /usr/bin/gmake checking for GNU make >= 3.81... yes checking for GNU make >= 4.0... yes checking for libtool... /usr/bin/libtool checking for GNU libtool >= 2.4... yes checking for libtoolize... /usr/bin/libtoolize checking for GNU libtoolize >= 2.4... yes checking for GNU autoconf >= 2.71... yes checking for autoreconf... /usr/bin/autoreconf checking for GNU autoreconf >= 2.71... yes checking for GNU automake >= 1.16... yes checking for m4... /usr/bin/m4 checking for GNU m4 >= 1.4.12... yes checking for python build information... checking for python3.12... no checking for python3.11... python3.11 checking for main in -lpython3.11... yes results of the Python check: Binary: python3.11 Library: python3.11 Include Dir: /usr/include/python3.11 checking for python version greater than 3.4... yes: 3.11 checking for bison... /usr/bin/bison checking for bison >= 2.7... yes checking for bison >= 3.0.4... yes checking for dtc... no checking for cvs... no checking for svn... svn checking for git... git checking for gmd5sum... no checking for md5sum... /usr/bin/md5sum checking for gsha1sum... no checking for sha1sum... /usr/bin/sha1sum checking for gsha256sum... no checking for sha256sum... /usr/bin/sha256sum checking for gsha512sum... no checking for sha512sum... /usr/bin/sha512sum checking for inline... inline checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for ELF binary format... yes checking for the common suffixes of directories in the library search path... lib,lib,lib64 checking whether NLS is requested... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyPreferredLanguages... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ncursesw via pkg-config... yes checking for working ncursesw/curses.h... yes checking for working ncursesw.h... no checking for working ncurses.h... yes checking for Curses Panel library with ncursesw/panel.h... yes checking for Curses Menu library with ncursesw/menu.h... yes checking for build time... Mon Apr 24 04:12:00 2023 checking if the manual needs to be installed... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating paths.sh config.status: creating kconfig/Makefile config.status: creating config/configure.in config.status: creating config.h config.status: executing depfiles commands + make /usr/bin/gmake all-recursive gmake[1]: Entering directory '/tmp/crosstoolng' Making all in kconfig gmake[2]: Entering directory '/tmp/crosstoolng/kconfig' LEX lexer.lex.c YACC parser.tab.c /usr/bin/gmake all-am gmake[3]: Entering directory '/tmp/crosstoolng/kconfig' CC conf.o CC confdata.o CC expr.o CC symbol.o CC preprocess.o CC util.o CC parser.tab.o CC lexer.lex.o CCLD conf CC nconf-nconf.o CC nconf-nconf.gui.o CC nconf-confdata.o CC nconf-expr.o CC nconf-symbol.o CC nconf-preprocess.o CC nconf-util.o CC nconf-parser.tab.o CC nconf-lexer.lex.o CCLD nconf CC mconf.o CC lxdialog/checklist.o CC lxdialog/inputbox.o CC lxdialog/menubox.o CC lxdialog/textbox.o CC lxdialog/util.o CC lxdialog/yesno.o CCLD mconf gmake[3]: Leaving directory '/tmp/crosstoolng/kconfig' gmake[2]: Leaving directory '/tmp/crosstoolng/kconfig' gmake[2]: Entering directory '/tmp/crosstoolng' GEN ct-ng GEN bash-completion/ct-ng GEN docs/ct-ng.1 gmake[2]: Leaving directory '/tmp/crosstoolng' gmake[1]: Leaving directory '/tmp/crosstoolng' + ./ct-ng loongarch64-unknown-linux-gnu CONF loongarch64-unknown-linux-gnu # # configuration written to .config # *********************************************************** Initially reported by: Jiajie Chen URL: https://jia.je/ *********************************************************** WARNING! This sample may enable experimental features. Please be sure to review the configuration prior to building and using your toolchain! Now, you have been warned! *********************************************************** Now configured for "loongarch64-unknown-linux-gnu" + sed -i -e '/CT_LOG_PROGRESS_BAR/s/y$/n/' .config + ./ct-ng show-config [l..X] loongarch64-unknown-linux-gnu Languages : C,C++ OS : linux Binutils : binutils-2.40 Compiler : gcc-12.2.0 C library : glibc-2.37 Debug tools : gdb-13.1 Companion libs : expat-2.5.0 gettext-0.21 gmp-6.2.1 isl-0.25 libiconv-1.16 mpc-1.2.1 mpfr-4.1.0 ncurses-6.2 zlib-1.2.13 zstd-1.5.2 Companion tools : autoconf-2.71 automake-1.16.5 + ./ct-ng show-tuple loongarch64-unknown-linux-gnu + ./ct-ng V=2 build.1 /usr/bin/gmake -rf /tmp/crosstoolng/ct-ng build CT_JOBS=1 BUILD_NCPUS=`getconf _NPROCESSORS_ONLN 2>/dev/null || echo 0` \ /usr/bin/bash /tmp/crosstoolng/scripts/crosstool-NG.sh [ERROR] Invalid configuration. Run 'ct-ng menuconfig' and check which options select INVALID_CONFIGURATION. [ERROR] [ERROR] >> [ERROR] >> Build failed in step '(top-level)' [ERROR] >> [ERROR] >> Error happened in: CT_Abort[scripts/functions@488] [ERROR] >> called from: CT_TestAndAbort[scripts/functions@508] [ERROR] >> called from: main[scripts/crosstool-NG.sh@35] [ERROR] >> [ERROR] >> For more info on this error, look at the file: 'build.log' [ERROR] >> There is a list of known issues, some with workarounds, in: [ERROR] >> https://crosstool-ng.github.io/docs/known-issues/ [ERROR] >> [ERROR] >> NOTE: Your configuration includes features marked EXPERIMENTAL. [ERROR] >> Before submitting a bug report, try to reproduce it without enabling [ERROR] >> any experimental features. Otherwise, you'll need to debug it [ERROR] >> and present an explanation why it is a bug in crosstool-NG - or [ERROR] >> preferably, a fix. [ERROR] >> [ERROR] >> If you feel this is a bug in crosstool-NG, report it at: [ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/ [ERROR] >> [ERROR] >> Make sure your report includes all the information pertinent to this issue. [ERROR] >> Read the bug reporting guidelines here: [ERROR] >> http://crosstool-ng.github.io/support/ [ERROR] [ERROR] (elapsed: 28038492:28.03) gmake[1]: *** [/tmp/crosstoolng/ct-ng:261: build] Error 1 gmake: *** [ct-ng:265: build.1] Error 2 + cp -v build.log /var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6 'build.log' -> '/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6/build.log' + false [laminar] Executing cfg/after + export declare -x ARCHIVE="/var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6" declare -x CONTEXT="default" declare -x HOME="/nonexistent" declare -x INVOCATION_ID="9b02437f413b4689a9f1c5e694d46bc1" declare -x JOB="crosstoolng-loongarch64-unknown-linux-gnu" declare -x JOURNAL_STREAM="8:1789880356" declare -x LAMINAR_BASE_URL="http://toolchain.lug-owl.de/laminar/" declare -x LAMINAR_TITLE="toolchain.lug-owl.de" declare -x LANG="en_US.UTF-8" declare -x LANGUAGE="en_US:en" declare -x LAST_RESULT="failed" declare -x LOGNAME="laminar" declare -x OLDPWD declare -x PATH="/var/lib/laminar/cfg/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" declare -x PWD="/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/6" declare -x RESULT="failed" declare -x RUN="6" declare -x SHLVL="1" declare -x SYSTEMD_EXEC_PID="54097" declare -x USER="laminar" declare -x WORKSPACE="/var/lib/laminar/run/crosstoolng-loongarch64-unknown-linux-gnu/workspace" declare -x __LAMINAR_SETENV_PIPE="9" + VERBOSE= + find . -type f -name '*.sum' -exec cp --parent '{}' /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 ';' + find . -type f -name config.log -exec cp --parent '{}' /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 ';' + find . -type f -name config.h -exec cp --parent '{}' /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 ';' + find . -type f -name test-suite.log -exec cp --parent '{}' /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 ';' + find . -type f -name SYSTEM.def -exec cp --parent '{}' /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 ';' + '[' '!' -d logs ']' + find . -type f -name build-state.json -exec cp --parent '{}' /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 ';' + find . -type f -name versions.json -exec cp --parent '{}' /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 ';' + '[' '!' -r build.log ']' + cp build.log /var/lib/laminar/archive/crosstoolng-loongarch64-unknown-linux-gnu/6 + '[' failed = success -a failed '!=' failed ']' + '[' failed = failed -a failed '!=' failed ']' + printf '\nFinal status: %s.\n' failed Final status: failed.