x86_64-unknown-haiku checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking machine/endian.h usability... /Work/buildtools/gcc/missing: Unknown `--is-lightweight' option Try `/Work/buildtools/gcc/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for x86_64-unknown-haiku-strip... /Work/generated.x86_64/cross-tools-x86_64/x86_64-unknown-haiku/bin/strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: error: source directory already configured; run "make distclean" there first no checking machine/endian.h presence... make[1]: *** [configure-target-libatomic] Error 1 make[1]: *** Waiting for unfinished jobs.... no checking for machine/endian.h... no checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking nan.h usability... no checking nan.h presence... no checking for nan.h... no checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/isa_defs.h usability... no checking sys/isa_defs.h presence... no checking for sys/isa_defs.h... no checking sys/machine.h usability... no checking sys/machine.h presence... no checking for sys/machine.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for wchar.h... (cached) yes checking for wctype.h... (cached) yes checking for nan.h... (cached) no checking for ieeefp.h... (cached) no checking for endian.h... (cached) yes checking for sys/isa_defs.h... (cached) no checking for machine/endian.h... (cached) no checking for machine/param.h... (cached) no checking for sys/machine.h... (cached) no checking for sys/types.h... (cached) yes checking for fp.h... (cached) no checking for float.h... (cached) yes checking for endian.h... (cached) yes checking for inttypes.h... (cached) yes checking for locale.h... (cached) yes checking for float.h... (cached) yes checking for stdint.h... (cached) yes looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes checking for uintptr_t... yes checking for int_least32_t... yes checking for int_fast32_t... yes checking for uint64_t... yes checking what to include in include/gstdint.h... stdint.h (already complete) checking for GNU c++filt... /boot/system/bin/x86/c++filt checking whether the target supports .symver directive... yes configure: versioning on shared library symbols is no checking for size_t as unsigned int... no checking for ptrdiff_t as int... no checking whether the target supports hidden visibility... yes configure: visibility supported: yes checking for rdrand support in assembler... yes checking whether it can be safely assumed that mutex_timedlock is available... yes checking for gthreads library... no checking for makeinfo... makeinfo --split-size=5000000 checking for modern makeinfo... yes checking for doxygen... no checking for dot... no checking for xsltproc... yes checking for xmllint... yes checking for docbook stylesheets for documentation creation... no checking for local stylesheet directory... no checking for epub3 stylesheets for documentation creation... no checking for dblatex... no checking for pdflatex... no configure: updating cache ./config.cache checking for gxx-include-dir... no checking for --enable-version-specific-runtime-libs... no checking for install location... ${prefix}/${target_alias}/include/c++/${gcc_version} configure: creating ./config.status config.status: creating Makefile config.status: creating scripts/testsuite_flags config.status: creating scripts/extract_symvers config.status: creating doc/xsl/customization.xsl config.status: creating include/Makefile Adding multilib support to include/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating libsupc++/Makefile Adding multilib support to libsupc++/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating python/Makefile Adding multilib support to python/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating src/Makefile Adding multilib support to src/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating src/c++98/Makefile Adding multilib support to src/c++98/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating src/c++11/Makefile Adding multilib support to src/c++11/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating doc/Makefile Adding multilib support to doc/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating po/Makefile Adding multilib support to po/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating testsuite/Makefile Adding multilib support to testsuite/Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: creating config.h config.status: executing default-1 commands Adding multilib support to Makefile in /Work/buildtools/gcc/libstdc++-v3 with_multisubdir=32 config.status: executing libtool commands config.status: executing include/gstdint.h commands config.status: executing generate-headers commands make[2]: Entering directory `/Work/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/32/libstdc++-v3/include' echo timestamp > stamp-pb echo timestamp > stamp-host echo 0 > stamp-namespace-version echo 1 > stamp-visibility echo 1 > stamp-extern-template sed -e '/^#pragma/b' \ -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \ -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \ -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \ -e 's,^#include "\(.*\)",#include ,g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr.h > x86_64-unknown-haiku/bits/gthr.h sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr-single.h > x86_64-unknown-haiku/bits/gthr-single.h sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \ -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \ -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr-posix.h > x86_64-unknown-haiku/bits/gthr-posix.h sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \ -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \ -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \ -e 's,^#include "\(.*\)",#include ,g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr-single.h > x86_64-unknown-haiku/bits/gthr-default.h make[2]: Leaving directory `/Work/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/32/libstdc++-v3/include' config.status: executing libtool commands config.status: executing include/gstdint.h commands config.status: executing generate-headers commands make[2]: Entering directory `/Work/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/libstdc++-v3/include' echo timestamp > stamp-pb echo timestamp > stamp-host echo 0 > stamp-namespace-version echo 1 > stamp-visibility echo 1 > stamp-extern-template sed -e '/^#pragma/b' \ -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \ -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \ -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \ -e 's,^#include "\(.*\)",#include ,g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr.h > x86_64-unknown-haiku/bits/gthr.h sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr-single.h > x86_64-unknown-haiku/bits/gthr-single.h sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \ -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \ -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr-posix.h > x86_64-unknown-haiku/bits/gthr-posix.h sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \ -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \ -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \ -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \ -e 's,^#include "\(.*\)",#include ,g' \ < /Work/buildtools/gcc/libstdc++-v3/../libgcc/gthr-single.h > x86_64-unknown-haiku/bits/gthr-default.h make[2]: Leaving directory `/Work/generated.x86_64/cross-tools-x86_64-build/gcc/x86_64-unknown-haiku/libstdc++-v3/include' make[1]: Leaving directory `/Work/generated.x86_64/cross-tools-x86_64-build/gcc' make: *** [all] Error 2 ERROR: Building gcc failed. /Work/generated.x86_64>