>>> libsigsegv 2.12 Downloading --2019-10-09 19:55:23-- http://ftpmirror.gnu.org/libsigsegv/libsigsegv-2.12.tar.gz Resolving ftpmirror.gnu.org (ftpmirror.gnu.org)... 209.51.188.200, 2001:470:142:5::200 Connecting to ftpmirror.gnu.org (ftpmirror.gnu.org)|209.51.188.200|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://gnu.spinellicreations.com/libsigsegv/libsigsegv-2.12.tar.gz [following] --2019-10-09 19:55:23-- http://gnu.spinellicreations.com/libsigsegv/libsigsegv-2.12.tar.gz Resolving gnu.spinellicreations.com (gnu.spinellicreations.com)... 98.118.131.16 Connecting to gnu.spinellicreations.com (gnu.spinellicreations.com)|98.118.131.16|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 451408 (441K) [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-1/output-1/build/.libsigsegv-2.12.tar.gz.nfE0TL/output' 0K .......... .......... .......... .......... .......... 11% 254K 2s 50K .......... .......... .......... .......... .......... 22% 508K 1s 100K .......... .......... .......... .......... .......... 34% 724K 1s 150K .......... .......... .......... .......... .......... 45% 1.23M 0s 200K .......... .......... .......... .......... .......... 56% 954K 0s 250K .......... .......... .......... .......... .......... 68% 1.33M 0s 300K .......... .......... .......... .......... .......... 79% 1.48M 0s 350K .......... .......... .......... .......... .......... 90% 1018K 0s 400K .......... .......... .......... .......... 100% 2.33M=0.6s 2019-10-09 19:55:24 (744 KB/s) - '/home/buildroot/autobuild/instance-1/output-1/build/.libsigsegv-2.12.tar.gz.nfE0TL/output' saved [451408/451408] libsigsegv-2.12.tar.gz: OK (sha256: 3ae1af359eebaa4ffc5896a1aee3568c052c99879316a1ab57f8fe1789c390b6) >>> libsigsegv 2.12 Extracting gzip -d -c /home/buildroot/autobuild/instance-1/dl/libsigsegv/libsigsegv-2.12.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12 -xf - >>> libsigsegv 2.12 Patching Applying 0001-Improve-support-for-Linux-RISC-V.patch using patch: patching file configure.ac patching file src/Makefile.am patching file src/fault-linux-riscv64.h Applying 0002-m4-stack-direction-RISC-V-stack-grows-downward.patch using patch: patching file m4/stack-direction.m4 Applying 0003-Improve-support-for-Linux-nds32.patch using patch: patching file configure.ac patching file src/Makefile.am patching file src/fault-linux-nds32.h Applying 0004-m4-stack-direction-NDS32-stack-grows-downward.patch using patch: patching file m4/stack-direction.m4 >>> libsigsegv 2.12 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libsigsegv 2.12 Configuring >>> libsigsegv 2.12 Autoreconfiguring libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. configure.ac:29: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:29: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:35: installing 'build-aux/compile' configure.ac:29: installing 'build-aux/missing' >>> libsigsegv 2.12 Patching libtool patching file /home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12/build-aux/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12/ && rm -rf config.cache && PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ar" AS="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-as" LD="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ld" NM="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-nm" CC="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc" GCC="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc" CPP="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-cpp" CXX="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-g++" FC="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gfortran" F77="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gfortran" RANLIB="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ranlib" READELF="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-readelf" STRIP="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-strip" OBJCOPY="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/autobuild/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-1/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/buildroot/autobuild/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no sv_cv_fault_posix=yes CONFIG_SITE=/dev/null ./configure --target=riscv64-buildroot-linux-musl --host=riscv64-buildroot-linux-musl --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls Build Tools:(B checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for riscv64-buildroot-linux-musl-strip... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-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 checking for riscv64-buildroot-linux-musl-gcc... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc option to accept ISO C89... none needed checking whether /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc... none checking how to run the C preprocessor... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-cpp checking build system type... x86_64-pc-linux-gnu checking host system type... riscv64-buildroot-linux-musl checking host platform... riscv64-buildroot-linux4.9.0-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ld checking if the linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-nm checking the name lister (/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-musl format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ld option to reload object files... -r checking for riscv64-buildroot-linux-musl-objdump... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for riscv64-buildroot-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-buildroot-linux-musl-ar... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ar checking for archiver @FILE support... @ checking for riscv64-buildroot-linux-musl-strip... (cached) /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-strip checking for riscv64-buildroot-linux-musl-ranlib... /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ranlib checking command to parse /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-nm output from /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for riscv64-buildroot-linux-musl-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no 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... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc static flag -static works... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc linker (/home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no Optional Platform Environment:(B checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for sysconf(_SC_PAGESIZE)... yes checking for PAGESIZE in limits.h... no checking for mmap with MAP_ANON... yes checking for mmap with MAP_ANONYMOUS... yes checking for mmap of /dev/zero... yes checking whether a fault handler according to POSIX works... (cached) yes checking whether a fault handler according to Linux/i386 works... no checking whether a fault handler according to old Linux/i386 works... guessing no checking whether a fault handler according to Linux/m68k works... no checking whether a fault handler according to Linux/PowerPC works... no checking whether a fault handler according to Linux/HPPA works... guessing no checking whether a fault handler according to BSD works... guessing no checking whether a fault handler according to IRIX works... no checking whether a fault handler according to HP-UX HPPA works... no checking whether a fault handler according to OSF/1 Alpha works... no checking whether a fault handler according to NetBSD Alpha works... no checking whether a fault handler according to AIX works... no checking whether a fault handler according to MacOSX/Darwin7 PowerPC works... no checking whether a fault handler according to MacOSX/Darwin5 PowerPC works... no checking whether a fault handler according to Hurd works... guessing no checking ucontext.h usability... yes checking ucontext.h presence... yes checking for ucontext.h... yes checking for the fault handler specifics... fault-linux-riscv64.h checking if the system supports catching SIGSEGV... yes checking for stack direction... grows down checking for prmap_t in sys/procfs.h... no checking for mquery... no checking for mincore... yes checking for getrlimit... yes checking for setrlimit... yes checking for sigaltstack... yes checking for stack_t... yes checking for working sigaltstack... guessing yes checking for correct stack_t interpretation... guessing yes checking whether a signal handler can be left through longjmp... guessing no checking whether a signal handler can be left through longjmp and sigaltstack... guessing no checking whether a signal handler can be left through longjmp and setcontext... guessing no checking whether a signal handler can be left through siglongjmp... guessing no checking whether a signal handler can be left through siglongjmp and sigaltstack... guessing no checking whether a signal handler can be left through siglongjmp and setcontext... guessing no checking if the system supports catching stack overflow... yes checking for uintptr_t... yes Build Parameters:(B checking whether to activate relocatable installation... no Output Substitution:(B checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/sigsegv.h config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls Now please type 'make(B' to compile. Good luck. >>> libsigsegv 2.12 Building PATH="/home/buildroot/autobuild/instance-1/output-1/host/bin:/home/buildroot/autobuild/instance-1/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12/ make[1]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12' /usr/bin/make TARGETSTACK=" all" all-recursive make[2]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12' Making all in src make[3]: Entering directory '/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12/src' /bin/bash ../libtool --tag=CC --mode=compile /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -c -o handler.lo handler.c libtool: compile: /home/buildroot/autobuild/instance-1/output-1/host/bin/riscv64-buildroot-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I. -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -c handler.c -fPIC -DPIC -o .libs/handler.o In file included from handler-unix.c:62, from handler.c:20: /home/buildroot/autobuild/instance-1/output-1/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ In file included from fault.h:37, from handler-unix.c:71, from handler.c:20: handler-unix.c: In function 'sigsegv_handler': fault-linux-riscv64.h:29:71: error: 'mcontext_t' {aka 'struct sigcontext'} has no member named '__gregs'; did you mean 'gregs'? #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.__gregs[REG_SP] ^~~~~~~ handler-unix.c:151:43: note: in expansion of macro 'SIGSEGV_FAULT_STACKPOINTER' uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER); ^~~~~~~~~~~~~~~~~~~~~~~~~~ fault-linux-riscv64.h:29:79: error: 'REG_SP' undeclared (first use in this function) #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.__gregs[REG_SP] ^~~~~~ handler-unix.c:151:43: note: in expansion of macro 'SIGSEGV_FAULT_STACKPOINTER' uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER); ^~~~~~~~~~~~~~~~~~~~~~~~~~ fault-linux-riscv64.h:29:79: note: each undeclared identifier is reported only once for each function it appears in #define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.__gregs[REG_SP] ^~~~~~ handler-unix.c:151:43: note: in expansion of macro 'SIGSEGV_FAULT_STACKPOINTER' uintptr_t old_sp = (uintptr_t) (SIGSEGV_FAULT_STACKPOINTER); ^~~~~~~~~~~~~~~~~~~~~~~~~~ Makefile:486: recipe for target 'handler.lo' failed make[3]: *** [handler.lo] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12/src' Makefile:427: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12' Makefile:359: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12' package/pkg-generic.mk:238: recipe for target '/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-1/output-1/build/libsigsegv-2.12/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-1/buildroot'