>>> Fetching sources... filename:'gcc-4.6.3.tar.bz2' url:'ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-4.6.3/gcc-4.6.3.tar.bz2' filename:'includes.patch' url:'includes.patch' filename:'libiberty.patch' url:'libiberty.patch' filename:'pex-helenos.c' url:'pex-helenos.c' filename:'gcc.specs' url:'gcc.specs' >>> Building... [hsct]: "tar" "xjf" "gcc-4.6.3.tar.bz2" >>> Patching sources... patching file gcc-4.6.3/include/filenames.h patching file gcc-4.6.3/libiberty/configure patching file gcc-4.6.3/libiberty/Makefile.in [hsct]: "sed" "s/\(static search_line_fast_type search_line_fast\);/\1 = search_line_acc_char;/" "-i" "gcc-4.6.3/libcpp/lex.c" [hsct]: "sed" "/fopen/s#w+b#wb+#" "-i" "gcc-4.6.3/gcc/toplev.c" >>> Fixing unwind.h... [hsct]: "mkdir" "-p" "include" [hsct]: "cp" "gcc-4.6.3/gcc/unwind-generic.h" "include/unwind.h" [hsct]: "sed" "s/STMP_FIXINC=stmp-fixinc/STMP_FIXINC=/" "-i" "gcc-4.6.3/gcc/configure" >>> Providing our pex implementation... [hsct]: "cp" "pex-helenos.c" "gcc-4.6.3/libiberty/" [hsct]: "sed" "s/@pexecute@/pex-helenos/" "s/pex-msdos/pex-helenos/g" "-i" "gcc-4.6.3/libiberty/Makefile.in" >>> Building... [hsct]: "mkdir" "-p" "build" [hsct]: "../gcc-4.6.3/configure" "--build=x86_64-pc-linux-gnu" "--host=riscv64-helenos" "CC=riscv64-helenos-cc" "CXX=riscv64-helenos-cxx" "AR=riscv64-helenos-ar" "AS=riscv64-helenos-as" "CPP=riscv64-helenos-cpp" "NM=riscv64-helenos-nm" "OBJDUMP=riscv64-helenos-objdump" "OBJCOPY=riscv64-helenos-objcopy" "STRIP=riscv64-helenos-strip" "RANLIB=riscv64-helenos-ranlib" "--target=riscv64-linux-gnu" "--program-prefix=" "--disable-werror" "--without-ppl" "--without-cloog" "--disable-mudflap" "--disable-libmudflap" "--disable-libgomp" "--disable-gomp" "--with-system-zlib" "--without-headers" "--disable-shared" "--enable-languages=c" "--disable-checking" "--disable-lto" "--disable-threads" "--disable-nls" "--disable-libssp" "--disable-libquadmath" "--enable-decimal-float=dpd" "--disable-multilib" "--disable-multiarch" "--disable-libstdcxx-pch" "--disable-libunwind-exceptions" "--with-gnu-as" "--with-gnu-ld" "CC_FOR_TARGET=riscv64-helenos-cc" "CXX_FOR_TARGET=riscv64-helenos-cxx" "GCC_FOR_TARGET=riscv64-helenos-cc" "AR_FOR_TARGET=riscv64-helenos-ar" "AS_FOR_TARGET=riscv64-helenos-as" "LD_FOR_TARGET=riscv64-helenos-ld" "NM_FOR_TARGET=riscv64-helenos-nm" "OBJDUMP_FOR_TARGET=riscv64-helenos-objdump" "RANLIB_FOR_TARGET=riscv64-helenos-ranlib" "STRIP_FOR_TARGET=riscv64-helenos-strip" checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-helenos checking target system type... riscv64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for riscv64-helenos-gcc... riscv64-helenos-cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether riscv64-helenos-cc accepts -g... yes checking for riscv64-helenos-cc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether riscv64-helenos-cxx accepts -g... yes checking for riscv64-helenos-gnatbind... no checking for gnatbind... no checking for riscv64-helenos-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes *** This configuration is not supported in the following subdirectories: zlib target-libquadmath gnattools target-libada target-libstdc++-v3 target-libgfortran target-libgo target-libffi target-zlib target-libjava target-libobjc target-libgomp target-libmudflap target-libssp target-boehm-gc (Any other directories should still work fine.) checking for default BUILD_CONFIG... checking for bison... bison -y checking for bison... bison checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for expect... no checking for runtest... no checking for ar... (cached) riscv64-helenos-ar checking for riscv64-helenos-ar... (cached) riscv64-helenos-ar checking for as... (cached) riscv64-helenos-as checking for riscv64-helenos-as... (cached) riscv64-helenos-as checking for riscv64-helenos-dlltool... no checking for ld... (cached) /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin/ld checking for riscv64-helenos-ld... (cached) /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin/ld checking for riscv64-helenos-lipo... no checking for nm... (cached) riscv64-helenos-nm checking for riscv64-helenos-nm... (cached) riscv64-helenos-nm checking for ranlib... (cached) riscv64-helenos-ranlib checking for riscv64-helenos-ranlib... (cached) riscv64-helenos-ranlib checking for strip... (cached) riscv64-helenos-strip checking for riscv64-helenos-strip... (cached) riscv64-helenos-strip checking for riscv64-helenos-windres... no checking for riscv64-helenos-windmc... no checking for objcopy... (cached) riscv64-helenos-objcopy checking for riscv64-helenos-objcopy... (cached) riscv64-helenos-objcopy checking for objdump... (cached) riscv64-helenos-objdump checking for riscv64-helenos-objdump... (cached) riscv64-helenos-objdump checking for cc... (cached) riscv64-helenos-cc checking for gcc... (cached) riscv64-helenos-cc checking for c++... (cached) riscv64-helenos-cxx checking for g++... (cached) riscv64-helenos-cxx checking for cxx... (cached) riscv64-helenos-cxx checking for gxx... (cached) riscv64-helenos-cxx checking for gcc... (cached) riscv64-helenos-cc checking for riscv64-linux-gnu-gcj... no checking for riscv64-linux-gnu-gfortran... no checking for riscv64-linux-gnu-gccgo... no checking for riscv64-linux-gnu-dlltool... no checking for riscv64-linux-gnu-lipo... no checking for riscv64-linux-gnu-windres... no checking for riscv64-linux-gnu-windmc... no checking where to find the target ar... pre-installed in /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin checking where to find the target as... pre-installed in /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin checking where to find the target cc... pre-installed checking where to find the target c++... pre-installed checking where to find the target c++ for libstdc++... pre-installed checking where to find the target dlltool... pre-installed checking where to find the target gcc... pre-installed checking where to find the target gcj... pre-installed checking where to find the target gfortran... pre-installed checking where to find the target gccgo... pre-installed checking where to find the target ld... pre-installed in /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin checking where to find the target lipo... pre-installed checking where to find the target nm... pre-installed in /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin checking where to find the target objdump... pre-installed in /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin checking where to find the target ranlib... pre-installed in /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin checking where to find the target strip... pre-installed in /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin checking where to find the target windres... pre-installed checking where to find the target windmc... pre-installed checking whether to enable maintainer-specific portions of Makefiles... no checking whether -fkeep-inline-functions is supported... yes configure: creating ./config.status config.status: creating Makefile [hsct]: "make" "all-gcc" "-j1" "STATIC_ONLY=y" mkdir -p -- ./intl Configuring in ./intl configure: creating cache ./config.cache checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether NLS is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for riscv64-helenos-gcc... riscv64-helenos-cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether riscv64-helenos-cc accepts -g... yes checking for riscv64-helenos-cc option to accept ISO C89... none needed checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-helenos checking for riscv64-helenos-ranlib... riscv64-helenos-ranlib checking for library containing strerror... none required checking how to run the C preprocessor... riscv64-helenos-cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... no checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... no checking whether we are using the GNU C Library 2.1 or newer... no checking whether integer division by zero raises SIGFPE... guessing no checking for inttypes.h... yes checking for stdint.h... yes checking for unsigned long long... yes checking for inttypes.h... yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by GCC... /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin/ld checking if the linker (/var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... no checking nl_types.h presence... no checking for nl_types.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking sys/param.h usability... no checking sys/param.h presence... no checking for sys/param.h... no checking for feof_unlocked... no checking for fgets_unlocked... no checking for getc_unlocked... yes checking for getcwd... yes checking for getegid... no checking for geteuid... no checking for getgid... yes checking for getuid... yes checking for mempcpy... no checking for munmap... yes checking for putenv... yes checking for setenv... no checking for setlocale... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... no checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for __fsetlocking... no checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... no checking for LC_MESSAGES... yes checking for bison... bison checking version of bison... 3.7.6, ok checking whether NLS is requested... no checking whether to use NLS... no checking for aclocal... no checking for autoconf... no checking for autoheader... no configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.intl config.status: creating config.h config.status: executing default-1 commands mkdir -p -- ./gcc Configuring in ./gcc configure: creating cache ./config.cache checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-unknown-helenos checking target system type... riscv64-unknown-linux-gnu checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no checking whether a default linker was specified... no checking whether a default assembler was specified... no checking for riscv64-helenos-gcc... riscv64-helenos-cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether riscv64-helenos-cc accepts -g... yes checking for riscv64-helenos-cc option to accept ISO C89... none needed checking whether riscv64-helenos-cc and cc understand -c and -o together... yes checking whether we are using the GNU C++ compiler... yes checking whether riscv64-helenos-cxx accepts -g... yes checking for riscv64-helenos-gnatbind... no checking for gnatbind... no checking for riscv64-helenos-gnatmake... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to run the C preprocessor... riscv64-helenos-cc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... no checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking how to run the C preprocessor... riscv64-helenos-cc -E checking for inline... inline checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking size of void *... 8 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking for long long... yes checking size of long long... 8 checking for __int64... no checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for long long int... yes checking for intmax_t... yes checking for intptr_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for unsigned long long int... yes checking for uintmax_t... yes checking for uintptr_t... yes checking whether riscv64-helenos-cc supports -W... yes checking whether riscv64-helenos-cc supports -Wall... yes checking whether riscv64-helenos-cc supports -Wwrite-strings... yes checking whether riscv64-helenos-cc supports -Wcast-qual... yes checking whether riscv64-helenos-cc supports -Wstrict-prototypes... yes checking whether riscv64-helenos-cc supports -Wmissing-prototypes... yes checking whether riscv64-helenos-cc supports -Wmissing-format-attribute... yes checking whether riscv64-helenos-cc supports -Wold-style-definition... yes checking whether riscv64-helenos-cc supports -Wc++-compat... yes checking whether riscv64-helenos-cc supports -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings... yes checking valgrind.h usability... no checking valgrind.h presence... no checking for valgrind.h... no configure: WARNING: fixed-point is not supported for this target, ignored checking whether make sets $(MAKE)... yes checking for gawk... gawk checking whether ln -s works... yes checking whether ln works... yes checking for riscv64-helenos-ranlib... riscv64-helenos-ranlib checking for a BSD compatible install... /usr/bin/install -c checking for cmp's capabilities... gnucompare checking for mktemp... yes checking for makeinfo... makeinfo checking for modern makeinfo... yes checking for recent Pod::Man... yes checking for flex... flex checking for bison... bison checking for nm... riscv64-helenos-nm checking for ar... riscv64-helenos-ar checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for limits.h... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for time.h... yes checking for iconv.h... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... no checking for sys/time.h... yes checking for sys/mman.h... yes checking for sys/resource.h... no checking for sys/param.h... no checking for sys/times.h... no checking for sys/stat.h... (cached) yes checking for direct.h... no checking for malloc.h... yes checking for langinfo.h... no checking for ldfcn.h... no checking for locale.h... yes checking for wchar.h... yes checking for thread.h... no checking for pthread.h... yes checking for CHAR_BIT... yes checking whether byte ordering is bigendian... no checking how to run the C++ preprocessor... riscv64-helenos-cxx -E checking for unordered_map... no checking for tr1/unordered_map... no checking for ext/hash_map... no checking for collect2 libraries... none required checking for library containing exc_resume... no checking for library containing ldexp... -lm checking for inttypes.h... yes checking for times... no checking for clock... yes checking for kill... yes checking for getrlimit... no checking for setrlimit... no checking for atoll... yes checking for atoq... no checking for sysconf... yes checking for strsignal... yes checking for getrusage... no checking for nl_langinfo... no checking for gettimeofday... yes checking for mbstowcs... no checking for wcswidth... no checking for mmap... yes checking for setlocale... yes checking for clearerr_unlocked... no checking for feof_unlocked... no checking for ferror_unlocked... no checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... no checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking for ssize_t... yes checking for caddr_t... no checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for pid_t... yes checking for vfork.h... no checking for fork... yes checking for vfork... no checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for ld used by GCC... /var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin/ld checking if the linker (/var/helenos/cross/lib/gcc/riscv64-helenos/13.2.0/../../../../riscv64-helenos/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking how to link with libiconv... -liconv checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for LC_MESSAGES... yes checking for nl_langinfo and CODESET... no checking whether getenv is declared... yes checking whether atol is declared... yes checking whether asprintf is declared... yes checking whether sbrk is declared... no checking whether abort is declared... yes checking whether atof is declared... yes checking whether getcwd is declared... yes checking whether getwd is declared... no checking whether strsignal is declared... yes checking whether strstr is declared... yes checking whether strverscmp is declared... no checking whether errno is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether vasprintf is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether calloc is declared... yes checking whether free is declared... yes checking whether basename is declared... no checking whether getopt is declared... yes checking whether clock is declared... yes checking whether getpagesize is declared... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... no checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... yes checking whether getc_unlocked is declared... yes checking whether putchar_unlocked is declared... yes checking whether putc_unlocked is declared... yes checking whether getrlimit is declared... no checking whether setrlimit is declared... no checking whether getrusage is declared... no checking whether ldgetname is declared... no checking whether times is declared... no checking whether sigaltstack is declared... no checking for struct tms... no checking for clock_t... yes checking for .preinit_array/.init_array/.fini_array support... no checking if mkdir takes one argument... no *** Configuration riscv64-unknown-linux-gnu not supported make: *** [Makefile:5197: configure-gcc] Error 1 [hsct]: Error: Build failed!