This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./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 --disable-nls --disable-static --enable-shared ## --------- ## ## Platform. ## ## --------- ## hostname = godzilla.lym.embecosm-corp.com uname -m = x86_64 uname -r = 4.18.0-25-generic uname -s = Linux uname -v = #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /home/mark/buildroot-test/instance-1/output/host/bin PATH: /home/mark/buildroot-test/instance-1/output/host/sbin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /snap/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2370: checking for a BSD-compatible install configure:2438: result: /usr/bin/install -c configure:2449: checking whether build environment is sane configure:2504: result: yes configure:2563: checking for riscv64-buildroot-linux-musl-strip configure:2590: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-strip configure:2655: checking for a thread-safe mkdir -p configure:2694: result: /bin/mkdir -p configure:2701: checking for gawk configure:2717: found /usr/bin/gawk configure:2728: result: gawk configure:2739: checking whether make sets $(MAKE) configure:2761: result: yes configure:2790: checking whether make supports nested variables configure:2807: result: yes configure:2947: checking for riscv64-buildroot-linux-musl-gcc configure:2974: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:3243: checking for C compiler version configure:3252: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc --version >&5 riscv64-buildroot-linux-musl-gcc.br_real (Buildroot 2019.08.1-00105-geabd84d77b) 8.3.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3263: $? = 0 configure:3252: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -v >&5 Using built-in specs. COLLECT_GCC=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc.br_real COLLECT_LTO_WRAPPER=/home/mark/buildroot-test/instance-1/output/host/libexec/gcc/riscv64-buildroot-linux-musl/8.3.0/lto-wrapper Target: riscv64-buildroot-linux-musl Configured with: ./configure --prefix=/home/mark/buildroot-test/instance-1/output/host --sysconfdir=/home/mark/buildroot-test/instance-1/output/host/etc --enable-static --target=riscv64-buildroot-linux-musl --with-sysroot=/home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot --enable-__cxa_atexit --with-gnu-ld --disable-libssp --disable-multilib --disable-decimal-float --with-gmp=/home/mark/buildroot-test/instance-1/output/host --with-mpc=/home/mark/buildroot-test/instance-1/output/host --with-mpfr=/home/mark/buildroot-test/instance-1/output/host --with-pkgversion='Buildroot 2019.08.1-00105-geabd84d77b' --with-bugurl=http://bugs.buildroot.net/ --disable-libmpx --disable-libquadmath --disable-libsanitizer --enable-tls --enable-threads --without-isl --without-cloog --with-arch=rv64imafd --with-abi=lp64 --enable-languages=c,c++ --with-build-time-tools=/home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/bin --enable-shared --disable-libgomp Thread model: posix gcc version 8.3.0 (Buildroot 2019.08.1-00105-geabd84d77b) configure:3263: $? = 0 configure:3252: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -V >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-V' riscv64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3263: $? = 1 configure:3252: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -qversion >&5 riscv64-buildroot-linux-musl-gcc.br_real: error: unrecognized command line option '-qversion'; did you mean '--version'? riscv64-buildroot-linux-musl-gcc.br_real: fatal error: no input files compilation terminated. configure:3263: $? = 1 configure:3283: checking whether the C compiler works configure:3305: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3309: $? = 0 configure:3357: result: yes configure:3360: checking for C compiler default output file name configure:3362: result: a.out configure:3368: checking for suffix of executables configure:3375: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3379: $? = 0 configure:3401: result: configure:3423: checking whether we are cross compiling configure:3461: result: yes configure:3466: checking for suffix of object files configure:3488: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3492: $? = 0 configure:3513: result: o configure:3517: checking whether we are using the GNU C compiler configure:3536: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3536: $? = 0 configure:3545: result: yes configure:3554: checking whether /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc accepts -g configure:3574: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3574: $? = 0 configure:3615: result: yes configure:3632: checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc option to accept ISO C89 configure:3695: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:3695: $? = 0 configure:3708: result: none needed configure:3733: checking whether /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc understands -c and -o together configure:3755: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:3758: $? = 0 configure:3755: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c conftest.c -o conftest2.o configure:3758: $? = 0 configure:3770: result: yes configure:3798: checking for style of include used by make configure:3826: result: GNU configure:3852: checking dependency style of /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:3963: result: none configure:3983: checking how to run the C preprocessor configure:4053: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp configure:4073: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:4073: $? = 0 configure:4087: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:4087: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | /* end confdefs.h. */ | #include configure:4120: checking build system type configure:4134: result: x86_64-pc-linux-gnu configure:4154: checking host system type configure:4167: result: riscv64-buildroot-linux-musl configure:4190: checking host platform configure:4215: result: riscv64-buildroot-linux4.18.0-musl configure:4270: checking how to print strings configure:4297: result: printf configure:4318: checking for a sed that does not truncate output configure:4382: result: /bin/sed configure:4400: checking for grep that handles long lines and -e configure:4458: result: /bin/grep configure:4463: checking for egrep configure:4525: result: /bin/grep -E configure:4530: checking for fgrep configure:4592: result: /bin/grep -F configure:4627: checking for ld used by /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc configure:4694: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld configure:4701: checking if the linker (/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld) is GNU ld configure:4716: result: yes configure:4728: checking for BSD- or MS-compatible name lister (nm) configure:4782: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm configure:4912: checking the name lister (/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm) interface configure:4919: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:4922: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm "conftest.o" configure:4925: output 0000000000000000 S some_variable configure:4932: result: BSD nm configure:4935: checking whether ln -s works configure:4939: result: yes configure:4947: checking the maximum length of command line arguments configure:5078: result: 1572864 configure:5126: checking how to convert x86_64-pc-linux-gnu file names to riscv64-buildroot-linux-musl format configure:5166: result: func_convert_file_noop configure:5173: checking how to convert x86_64-pc-linux-gnu file names to toolchain format configure:5193: result: func_convert_file_noop configure:5200: checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld option to reload object files configure:5207: result: -r configure:5241: checking for riscv64-buildroot-linux-musl-objdump configure:5268: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-objdump configure:5340: checking how to recognize dependent libraries configure:5540: result: pass_all configure:5585: checking for riscv64-buildroot-linux-musl-dlltool configure:5615: result: no configure:5625: checking for dlltool configure:5655: result: no configure:5685: checking how to associate runtime and link libraries configure:5712: result: printf %s\n configure:5729: checking for riscv64-buildroot-linux-musl-ar configure:5756: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar configure:5837: checking for archiver @FILE support configure:5854: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:5854: $? = 0 configure:5857: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar cru libconftest.a @conftest.lst >&5 configure:5860: $? = 0 configure:5865: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar cru libconftest.a @conftest.lst >&5 /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar: conftest.o: No such file or directory configure:5868: $? = 1 configure:5880: result: @ configure:5898: checking for riscv64-buildroot-linux-musl-strip configure:5925: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-strip configure:5997: checking for riscv64-buildroot-linux-musl-ranlib configure:6024: result: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ranlib configure:6166: checking command to parse /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm output from /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc object configure:6319: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:6322: $? = 0 configure:6326: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6329: $? = 0 configure:6395: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c conftstm.o >&5 configure:6398: $? = 0 configure:6436: result: ok configure:6483: checking for sysroot configure:6513: result: no configure:6520: checking for a working dd configure:6558: result: /bin/dd configure:6562: checking how to truncate binary pipes configure:6577: result: /bin/dd bs=4096 count=1 configure:6866: checking for riscv64-buildroot-linux-musl-mt configure:6896: result: no configure:6906: checking for mt configure:6922: found /bin/mt configure:6933: result: mt configure:6945: WARNING: using cross tools not prefixed with host triplet configure:6956: checking if mt is a manifest tool configure:6962: mt '-?' configure:6970: result: no configure:7643: checking for ANSI C header files configure:7663: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7663: $? = 0 configure:7747: result: yes configure:7760: checking for sys/types.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for sys/stat.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for stdlib.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for string.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for memory.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for strings.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for inttypes.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for stdint.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7760: checking for unistd.h configure:7760: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7760: $? = 0 configure:7760: result: yes configure:7774: checking for dlfcn.h configure:7774: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:7774: $? = 0 configure:7774: result: yes configure:8029: checking for objdir configure:8044: result: .libs configure:8304: checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions configure:8322: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:8326: $? = 0 configure:8339: result: no configure:8697: checking for /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc option to produce PIC configure:8704: result: -fPIC -DPIC configure:8712: checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works configure:8730: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -DPIC -DPIC conftest.c >&5 configure:8734: $? = 0 configure:8747: result: yes configure:8776: checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc static flag -static works configure:8804: result: yes configure:8819: checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o configure:8840: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o out/conftest2.o conftest.c >&5 configure:8844: $? = 0 configure:8866: result: yes configure:8874: checking if /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc supports -c -o file.o configure:8921: result: yes configure:8954: checking whether the /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc linker (/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld) supports shared libraries configure:10213: result: yes configure:10250: checking whether -lc should be explicitly linked in configure:10258: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:10261: $? = 0 configure:10276: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:10279: $? = 0 configure:10293: result: no configure:10453: checking dynamic linker characteristics configure:11034: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:11034: $? = 0 configure:11271: result: GNU/Linux ld.so configure:11393: checking how to hardcode library paths into programs configure:11418: result: immediate configure:11966: checking whether stripping libraries is possible configure:11971: result: yes configure:12006: checking if libtool supports shared libraries configure:12008: result: yes configure:12011: checking whether to build shared libraries configure:12036: result: yes configure:12039: checking whether to build static libraries configure:12043: result: no configure:12088: checking sys/signal.h usability configure:12088: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:56: /home/mark/buildroot-test/instance-1/output/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 ^~~~~~~ configure:12088: $? = 0 configure:12088: result: yes configure:12088: checking sys/signal.h presence configure:12088: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c In file included from conftest.c:23: /home/mark/buildroot-test/instance-1/output/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 ^~~~~~~ configure:12088: $? = 0 configure:12088: result: yes configure:12088: checking for sys/signal.h configure:12088: result: yes configure:12127: checking for unistd.h configure:12127: result: yes configure:12139: checking for getpagesize configure:12162: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12162: $? = 0 configure:12170: result: yes configure:12179: checking for sysconf(_SC_PAGESIZE) configure:12202: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12202: $? = 0 configure:12210: result: yes configure:12219: checking for PAGESIZE in limits.h configure:12237: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:33:12: error: 'PAGESIZE' undeclared (first use in this function) int pgsz = PAGESIZE; ^~~~~~~~ conftest.c:33:12: note: each undeclared identifier is reported only once for each function it appears in configure:12237: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | /* end confdefs.h. */ | | #include | int | main () | { | int pgsz = PAGESIZE; | ; | return 0; | } configure:12245: result: no configure:12263: checking for mmap with MAP_ANON configure:12324: result: yes configure:12333: checking for mmap with MAP_ANONYMOUS configure:12396: result: yes configure:12405: checking for mmap of /dev/zero configure:12479: result: yes configure:12503: checking whether a fault handler according to POSIX works configure:12659: result: yes configure:12667: checking whether a fault handler according to Linux/i386 works configure:12697: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:34: /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/asm/sigcontext.h:17:8: error: redefinition of 'struct sigcontext' struct sigcontext { ^~~~~~~~~~ In file included from /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/signal.h:48, from conftest.c:33: /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/signal.h:39:16: note: originally defined here typedef struct sigcontext { ^~~~~~~~~~ conftest.c: In function 'sigsegv_handler': conftest.c:37:37: error: 'struct sigcontext' has no member named 'cr2' void *fault_address = (void *) (sc.cr2); ^ configure:12697: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | #include | void sigsegv_handler (int sig, struct sigcontext sc) | { | void *fault_address = (void *) (sc.cr2); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:12824: result: no configure:12832: checking whether a fault handler according to old Linux/i386 works configure:12862: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:12862: $? = 0 configure:12989: result: guessing no configure:12997: checking whether a fault handler according to Linux/m68k works configure:13028: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:34: /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/asm/sigcontext.h:17:8: error: redefinition of 'struct sigcontext' struct sigcontext { ^~~~~~~~~~ In file included from /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/signal.h:48, from conftest.c:33: /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/signal.h:39:16: note: originally defined here typedef struct sigcontext { ^~~~~~~~~~ In file included from conftest.c:35: ./src/fault-linux-m68k-old.c: In function 'get_fault_addr': ./src/fault-linux-m68k-old.c:22:20: error: 'struct sigcontext' has no member named 'sc_formatvec' int format = (scp->sc_formatvec >> 12) & 0xf; ^~ configure:13028: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | #include | #include "./src/fault-linux-m68k-old.c" | void sigsegv_handler (int sig, int code, struct sigcontext *scp) | { | void *fault_address = (void *) (get_fault_addr (scp)); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:13156: result: no configure:13164: checking whether a fault handler according to Linux/PowerPC works configure:13194: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:34: /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/asm/sigcontext.h:17:8: error: redefinition of 'struct sigcontext' struct sigcontext { ^~~~~~~~~~ In file included from /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/signal.h:48, from conftest.c:33: /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/bits/signal.h:39:16: note: originally defined here typedef struct sigcontext { ^~~~~~~~~~ conftest.c: In function 'sigsegv_handler': conftest.c:37:40: error: 'struct sigcontext' has no member named 'regs'; did you mean 'sc_regs'? void *fault_address = (void *) (scp->regs->dar); ^~~~ sc_regs configure:13194: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | #include | void sigsegv_handler (int sig, struct sigcontext *scp) | { | void *fault_address = (void *) (scp->regs->dar); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:13321: result: no configure:13329: checking whether a fault handler according to Linux/HPPA works configure:13360: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13360: $? = 0 configure:13485: result: guessing no configure:13493: checking whether a fault handler according to BSD works configure:13523: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:13523: $? = 0 configure:13650: result: guessing no configure:13658: checking whether a fault handler according to IRIX works configure:13688: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'sigsegv_handler': conftest.c:37:54: error: 'struct sigcontext' has no member named 'sc_badvaddr' void *fault_address = (void *) ((unsigned long) scp->sc_badvaddr); ^~ configure:13688: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | | void sigsegv_handler (int sig, int code, struct sigcontext *scp) | { | void *fault_address = (void *) ((unsigned long) scp->sc_badvaddr); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:13815: result: no configure:13823: checking whether a fault handler according to HP-UX HPPA works configure:13858: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'sigsegv_handler': conftest.c:40:48: error: 'struct sigcontext' has no member named 'sc_sl' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~ conftest.c:35:33: note: in definition of macro 'USE_64BIT_REGS' #define USE_64BIT_REGS(mc) (((mc).ss_flags & SS_WIDEREGS) && ((mc).ss_flags & SS_NARROWISINVALID)) ^~ conftest.c:40:35: note: in expansion of macro 'GET_CR21' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~~~~~~~ conftest.c:35:48: error: 'SS_WIDEREGS' undeclared (first use in this function) #define USE_64BIT_REGS(mc) (((mc).ss_flags & SS_WIDEREGS) && ((mc).ss_flags & SS_NARROWISINVALID)) ^~~~~~~~~~~ conftest.c:36:25: note: in expansion of macro 'USE_64BIT_REGS' #define GET_CR21(mc) (USE_64BIT_REGS(mc) ? (mc).ss_wide.ss_64.ss_cr21 : (mc).ss_narrow.ss_cr21) ^~~~~~~~~~~~~~ conftest.c:40:35: note: in expansion of macro 'GET_CR21' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~~~~~~~ conftest.c:35:48: note: each undeclared identifier is reported only once for each function it appears in #define USE_64BIT_REGS(mc) (((mc).ss_flags & SS_WIDEREGS) && ((mc).ss_flags & SS_NARROWISINVALID)) ^~~~~~~~~~~ conftest.c:36:25: note: in expansion of macro 'USE_64BIT_REGS' #define GET_CR21(mc) (USE_64BIT_REGS(mc) ? (mc).ss_wide.ss_64.ss_cr21 : (mc).ss_narrow.ss_cr21) ^~~~~~~~~~~~~~ conftest.c:40:35: note: in expansion of macro 'GET_CR21' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~~~~~~~ conftest.c:40:48: error: 'struct sigcontext' has no member named 'sc_sl' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~ conftest.c:35:66: note: in definition of macro 'USE_64BIT_REGS' #define USE_64BIT_REGS(mc) (((mc).ss_flags & SS_WIDEREGS) && ((mc).ss_flags & SS_NARROWISINVALID)) ^~ conftest.c:40:35: note: in expansion of macro 'GET_CR21' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~~~~~~~ conftest.c:35:81: error: 'SS_NARROWISINVALID' undeclared (first use in this function) #define USE_64BIT_REGS(mc) (((mc).ss_flags & SS_WIDEREGS) && ((mc).ss_flags & SS_NARROWISINVALID)) ^~~~~~~~~~~~~~~~~~ conftest.c:36:25: note: in expansion of macro 'USE_64BIT_REGS' #define GET_CR21(mc) (USE_64BIT_REGS(mc) ? (mc).ss_wide.ss_64.ss_cr21 : (mc).ss_narrow.ss_cr21) ^~~~~~~~~~~~~~ conftest.c:40:35: note: in expansion of macro 'GET_CR21' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~~~~~~~ conftest.c:40:48: error: 'struct sigcontext' has no member named 'sc_sl' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~ conftest.c:36:47: note: in definition of macro 'GET_CR21' #define GET_CR21(mc) (USE_64BIT_REGS(mc) ? (mc).ss_wide.ss_64.ss_cr21 : (mc).ss_narrow.ss_cr21) ^~ conftest.c:40:48: error: 'struct sigcontext' has no member named 'sc_sl' void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); ^~ conftest.c:36:76: note: in definition of macro 'GET_CR21' #define GET_CR21(mc) (USE_64BIT_REGS(mc) ? (mc).ss_wide.ss_64.ss_cr21 : (mc).ss_narrow.ss_cr21) ^~ configure:13858: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | | #define USE_64BIT_REGS(mc) (((mc).ss_flags & SS_WIDEREGS) && ((mc).ss_flags & SS_NARROWISINVALID)) | #define GET_CR21(mc) (USE_64BIT_REGS(mc) ? (mc).ss_wide.ss_64.ss_cr21 : (mc).ss_narrow.ss_cr21) | | void sigsegv_handler (int sig, int code, struct sigcontext *scp) | { | void *fault_address = (void *) (GET_CR21 (scp->sc_sl.sl_ss)); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:13990: result: no configure:13998: checking whether a fault handler according to OSF/1 Alpha works configure:14028: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'sigsegv_handler': conftest.c:37:38: error: 'struct sigcontext' has no member named 'sc_traparg_a0' void *fault_address = (void *) (scp->sc_traparg_a0); ^~ configure:14028: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | | void sigsegv_handler (int sig, int code, struct sigcontext *scp) | { | void *fault_address = (void *) (scp->sc_traparg_a0); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:14155: result: no configure:14163: checking whether a fault handler according to NetBSD Alpha works configure:14193: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:34: ./src/fault-netbsd-alpha.c: In function 'get_fault_addr': ./src/fault-netbsd-alpha.c:25:46: error: 'struct sigcontext' has no member named 'sc_pc' unsigned int instr = *((unsigned int *)(scp->sc_pc)); ^~ ./src/fault-netbsd-alpha.c:36:20: error: 'struct sigcontext' has no member named 'sc_regs'; did you mean 'gregs'? faultaddr = scp->sc_regs[(instr >> 16) & 0x1f]; ^~~~~~~ gregs configure:14193: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | #include "./src/fault-netbsd-alpha.c" | void sigsegv_handler (int sig, int code, struct sigcontext *scp) | { | void *fault_address = (void *) (get_fault_addr (scp)); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:14320: result: no configure:14328: checking whether a fault handler according to AIX works configure:14358: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'sigsegv_handler': conftest.c:37:38: error: 'struct sigcontext' has no member named 'sc_jmpbuf' void *fault_address = (void *) (scp->sc_jmpbuf.jmp_context.o_vaddr); ^~ configure:14358: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | | void sigsegv_handler (int sig, int code, struct sigcontext *scp) | { | void *fault_address = (void *) (scp->sc_jmpbuf.jmp_context.o_vaddr); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:14485: result: no configure:14493: checking whether a fault handler according to MacOSX/Darwin7 PowerPC works configure:14524: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:34: ./src/fault-macosdarwin7-powerpc.c: In function 'get_fault_addr': ./src/fault-macosdarwin7-powerpc.c:43:22: error: invalid type argument of '->' (have 'mcontext_t' {aka 'struct sigcontext'}) &ucp->uc_mcontext->ss.r0; /* r0..r31 */ ^~ ./src/fault-macosdarwin7-powerpc.c:130:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *) addr; ^ conftest.c: In function 'main': conftest.c:44:21: warning: assignment to 'void (*)(int, siginfo_t *, void *)' {aka 'void (*)(int, struct *, void *)'} from incompatible pointer type 'void (*)(int, siginfo_t *, ucontext_t *)' {aka 'void (*)(int, struct *, struct __ucontext *)'} [-Wincompatible-pointer-types] action.sa_sigaction = &sigsegv_handler; ^ configure:14524: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | #include "./src/fault-macosdarwin7-powerpc.c" | void sigsegv_handler (int sig, siginfo_t *sip, ucontext_t *ucp) | { | void *fault_address = (void *) (get_fault_addr (sip, ucp)); | } | | int | main () | { | struct sigaction action; | action.sa_sigaction = &sigsegv_handler; | action.sa_flags = SA_SIGINFO; | ; | return 0; | } configure:14649: result: no configure:14658: checking whether a fault handler according to MacOSX/Darwin5 PowerPC works configure:14688: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:34: ./src/fault-macosdarwin5-powerpc.c: In function 'get_fault_addr': ./src/fault-macosdarwin5-powerpc.c:36:46: error: 'struct sigcontext' has no member named 'sc_ir' unsigned int instr = *((unsigned int *) scp->sc_ir); ^~ ./src/fault-macosdarwin5-powerpc.c:37:48: error: 'struct sigcontext' has no member named 'sc_regs'; did you mean 'gregs'? unsigned int *regs = &((unsigned int *) scp->sc_regs)[2]; ^~~~~~~ gregs ./src/fault-macosdarwin5-powerpc.c:123:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] return (void *) addr; ^ configure:14688: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | /* end confdefs.h. */ | | | #include | #include "./src/fault-macosdarwin5-powerpc.c" | void sigsegv_handler (int sig, int code, struct sigcontext *scp) | { | void *fault_address = (void *) (get_fault_addr (scp)); | } | | int | main () | { | struct sigaction action; | | ; | return 0; | } configure:14815: result: no configure:14824: checking whether a fault handler according to Hurd works configure:14854: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'sigsegv_handler': conftest.c:37:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] void *fault_address = (void *) (code); ^ configure:14854: $? = 0 configure:14981: result: guessing no configure:15112: checking ucontext.h usability configure:15112: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15112: $? = 0 configure:15112: result: yes configure:15112: checking ucontext.h presence configure:15112: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c configure:15112: $? = 0 configure:15112: result: yes configure:15112: checking for ucontext.h configure:15112: result: yes configure:15359: checking for the fault handler specifics configure:15370: result: fault-linux-riscv64.h configure:15395: checking if the system supports catching SIGSEGV configure:15397: result: yes configure:15410: checking for stack direction configure:15513: result: grows down configure:15524: checking for prmap_t in sys/procfs.h configure:15541: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:35: /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/procfs.h:30:2: error: unknown type name 'elf_gregset_t' elf_gregset_t pr_reg; ^~~~~~~~~~~~~ /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/procfs.h:55:9: error: unknown type name 'elf_gregset_t' typedef elf_gregset_t prgregset_t; ^~~~~~~~~~~~~ /home/mark/buildroot-test/instance-1/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/procfs.h:56:9: error: unknown type name 'elf_fpregset_t' typedef elf_fpregset_t prfpregset_t; ^~~~~~~~~~~~~~ conftest.c: In function 'main': conftest.c:39:1: error: unknown type name 'prmap_t'; did you mean 'intmax_t'? prmap_t x; ^~~~~~~ intmax_t configure:15541: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | #define HAVE_UCONTEXT_H 1 | #define CFG_FAULT "fault-linux-riscv64.h" | #define CFG_MACHFAULT "fault-none.h" | #define STACK_DIRECTION -1 | /* end confdefs.h. */ | #include | int | main () | { | prmap_t x; | ; | return 0; | } configure:15550: result: no configure:15555: checking for mquery configure:15555: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 /home/mark/buildroot-test/instance-1/output/host/lib/gcc/riscv64-buildroot-linux-musl/8.3.0/../../../../riscv64-buildroot-linux-musl/bin/ld: /tmp/ccpEAUXc.o: in function `main': conftest.c:(.text.startup+0x8): undefined reference to `mquery' collect2: error: ld returned 1 exit status configure:15555: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | #define HAVE_UCONTEXT_H 1 | #define CFG_FAULT "fault-linux-riscv64.h" | #define CFG_MACHFAULT "fault-none.h" | #define STACK_DIRECTION -1 | /* end confdefs.h. */ | /* Define mquery to an innocuous variant, in case declares mquery. | For example, HP-UX 11i declares gettimeofday. */ | #define mquery innocuous_mquery | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char mquery (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef mquery | | /* Override any GCC internal prototype to avoid an error. | Use char because int might match the return type of a GCC | builtin and then its argument prototype would still apply. */ | #ifdef __cplusplus | extern "C" | #endif | char mquery (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_mquery || defined __stub___mquery | choke me | #endif | | int | main () | { | return mquery (); | ; | return 0; | } configure:15555: result: no configure:15555: checking for mincore configure:15555: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15555: $? = 0 configure:15555: result: yes configure:15611: checking for getrlimit configure:15611: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15611: $? = 0 configure:15611: result: yes configure:15611: checking for setrlimit configure:15611: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15611: $? = 0 configure:15611: result: yes configure:15627: checking for sigaltstack configure:15627: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15627: $? = 0 configure:15627: result: yes configure:15638: checking for stack_t configure:15638: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:44: /home/mark/buildroot-test/instance-1/output/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 ^~~~~~~ configure:15638: $? = 0 configure:15638: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 In file included from conftest.c:44: /home/mark/buildroot-test/instance-1/output/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 ^~~~~~~ conftest.c: In function 'main': conftest.c:51:22: error: expected expression before ')' token if (sizeof ((stack_t))) ^ configure:15638: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | #define HAVE_UCONTEXT_H 1 | #define CFG_FAULT "fault-linux-riscv64.h" | #define CFG_MACHFAULT "fault-none.h" | #define STACK_DIRECTION -1 | #define HAVE_MINCORE 1 | #define HAVE_STACKVMA 1 | #define CFG_STACKVMA "stackvma-linux.c" | #define HAVE_GETRLIMIT 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_SIGALTSTACK 1 | /* end confdefs.h. */ | | #include | #if HAVE_SYS_SIGNAL_H | # include | #endif | | | int | main () | { | if (sizeof ((stack_t))) | return 0; | ; | return 0; | } configure:15638: result: yes configure:15656: checking for working sigaltstack configure:15705: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:15705: $? = 0 configure:15796: result: guessing yes configure:15803: checking for correct stack_t interpretation configure:15878: result: guessing yes configure:15904: checking whether a signal handler can be left through longjmp configure:16004: result: guessing no configure:16012: checking whether a signal handler can be left through longjmp and sigaltstack configure:16122: result: guessing no configure:16130: checking whether a signal handler can be left through longjmp and setcontext configure:16245: result: guessing no configure:16267: checking whether a signal handler can be left through siglongjmp configure:16365: result: guessing no configure:16373: checking whether a signal handler can be left through siglongjmp and sigaltstack configure:16481: result: guessing no configure:16489: checking whether a signal handler can be left through siglongjmp and setcontext configure:16602: result: guessing no configure:16641: checking if the system supports catching stack overflow configure:16728: result: yes configure:16862: checking for uintptr_t configure:16862: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 configure:16862: $? = 0 configure:16862: /home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.c >&5 conftest.c: In function 'main': conftest.c:80:24: error: expected expression before ')' token if (sizeof ((uintptr_t))) ^ configure:16862: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsigsegv" | #define VERSION "2.12" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_SIGNAL_H 1 | #define CFG_SIGNALS "signals.h" | #define HAVE_UNISTD_H 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_SYSCONF_PAGESIZE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_MMAP_DEVZERO 1 | #define HAVE_UCONTEXT_H 1 | #define CFG_FAULT "fault-linux-riscv64.h" | #define CFG_MACHFAULT "fault-none.h" | #define STACK_DIRECTION -1 | #define HAVE_MINCORE 1 | #define HAVE_STACKVMA 1 | #define CFG_STACKVMA "stackvma-linux.c" | #define HAVE_GETRLIMIT 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_SIGALTSTACK 1 | #define HAVE_WORKING_SIGALTSTACK 1 | #define CFG_LEAVE "leave-nop.c" | #define CFG_HANDLER "handler-unix.c" | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((uintptr_t))) | return 0; | ; | return 0; | } configure:16862: result: yes configure:16903: checking whether to activate relocatable installation configure:16918: result: no configure:17035: checking that generated files are newer than configure configure:17041: result: done configure:17072: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on godzilla.lym.embecosm-corp.com config.status:1121: creating Makefile config.status:1121: creating src/Makefile config.status:1121: creating src/sigsegv.h config.status:1121: creating tests/Makefile config.status:1121: creating config.h config.status:1350: executing depfiles commands config.status:1350: executing libtool commands configure:19214: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' ac_cv_env_CPPFLAGS_set=set ac_cv_env_CPPFLAGS_value='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' ac_cv_env_CPP_set=set ac_cv_env_CPP_value=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_LT_SYS_LIBRARY_PATH_set= ac_cv_env_LT_SYS_LIBRARY_PATH_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=riscv64-buildroot-linux-musl ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=riscv64-buildroot-linux-musl ac_cv_func_calloc_0_nonnull=yes ac_cv_func_getrlimit=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_memcmp_working=yes ac_cv_func_mincore=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_mquery=no ac_cv_func_realloc_0_nonnull=yes ac_cv_func_setrlimit=yes ac_cv_func_sigaltstack=yes ac_cv_have_decl_malloc=yes ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_signal_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_ucontext_h=yes ac_cv_header_unistd_h=yes ac_cv_host=riscv64-buildroot-linux-musl ac_cv_lbl_unaligned_fail=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_lt_DD=/bin/dd ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc ac_cv_prog_CPP=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp ac_cv_prog_OBJDUMP=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-objdump ac_cv_prog_RANLIB=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ranlib ac_cv_prog_STRIP=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-strip ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_type_stack_t=yes ac_cv_type_uintptr_t=yes am_cv_CC_dependencies_compiler_type=none am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes gl_cv_func_malloc_0_nonnull=yes gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld lt_cv_path_NM=/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/ {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/ {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/ {"lib\1", (void *) \&\1},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_global_symbol_to_import= lt_cv_sys_lib_search_path_spec= lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop lt_cv_truncate_bin='/bin/dd bs=4096 count=1' sv_cv_fault_aix=no sv_cv_fault_bsd='guessing no' sv_cv_fault_hpux_hppa=no sv_cv_fault_hurd='guessing no' sv_cv_fault_include=fault-linux-riscv64.h sv_cv_fault_irix=no sv_cv_fault_linux_hppa='guessing no' sv_cv_fault_linux_i386=no sv_cv_fault_linux_i386_old='guessing no' sv_cv_fault_linux_m68k=no sv_cv_fault_linux_powerpc=no sv_cv_fault_macosdarwin5_ppc=no sv_cv_fault_macosdarwin7_ppc=no sv_cv_fault_netbsd_alpha=no sv_cv_fault_osf_alpha=no sv_cv_fault_posix=yes sv_cv_func_getpagesize=yes sv_cv_func_mmap_anon=yes sv_cv_func_mmap_anonymous=yes sv_cv_func_mmap_devzero=yes sv_cv_func_sysconf_pagesize=yes sv_cv_have_sigsegv_recovery=yes sv_cv_have_stack_overflow_recovery=yes sv_cv_host=riscv64-buildroot-linux4.18.0-musl sv_cv_leave_handler_longjmp='guessing no' sv_cv_leave_handler_longjmp_setcontext='guessing no' sv_cv_leave_handler_longjmp_sigaltstack='guessing no' sv_cv_leave_handler_siglongjmp='guessing no' sv_cv_leave_handler_siglongjmp_setcontext='guessing no' sv_cv_leave_handler_siglongjmp_sigaltstack='guessing no' sv_cv_macro_pagesize=no sv_cv_procfsvma=no sv_cv_sigaltstack='guessing yes' sv_cv_sigaltstack_low_base='guessing yes' sv_cv_stack_direction=-1 sv_cv_stack_direction_msg='grows down' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/mark/buildroot-test/instance-1/output/build/libsigsegv-2.12/build-aux/missing aclocal-1.15' AMDEPBACKSLASH='' AMDEP_FALSE='' AMDEP_TRUE='#' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ar' AUTOCONF='${SHELL} /home/mark/buildroot-test/instance-1/output/build/libsigsegv-2.12/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/mark/buildroot-test/instance-1/output/build/libsigsegv-2.12/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/mark/buildroot-test/instance-1/output/build/libsigsegv-2.12/build-aux/missing automake-1.15' AWK='gawk' CC='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-gcc' CCDEPMODE='depmode=none' CFG_HANDLER='handler-unix.c' CFG_LEAVE='leave-nop.c' CFG_STACKVMA='stackvma-linux.c' CFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os ' CPP='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-cpp' CPPFLAGS='-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' CYGPATH_W='echo' CYGWIN_FALSE='' CYGWIN_TRUE='#' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_EFAULT_FALSE='' ENABLE_EFAULT_TRUE='#' EXEEXT='' FAULT_CONTEXT='ucontext_t' FAULT_CONTEXT_INCLUDE='#include ' FGREP='/bin/grep -F' GREP='/bin/grep' HAVE_SIGSEGV_RECOVERY='1' HAVE_STACK_OVERFLOW_RECOVERY='1' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ld' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_SYS_LIBRARY_PATH='' MAKEINFO='${SHELL} /home/mark/buildroot-test/instance-1/output/build/libsigsegv-2.12/build-aux/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-nm' NMEDIT='' OBJDUMP='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libsigsegv' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PLATFORM='riscv64-buildroot-linux4.18.0-musl' RANLIB='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-ranlib' RELOCATABLE='no' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='/home/mark/buildroot-test/instance-1/output/host/bin/riscv64-buildroot-linux-musl-strip' VERSION='2.12' ac_ct_AR='' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='' am__fastdepCC_TRUE='#' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='' am__quote='' am__tar='${AMTAR} chf - --owner=root --group=root "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='/usr' host='riscv64-buildroot-linux-musl' host_alias='riscv64-buildroot-linux-musl' host_cpu='riscv64' host_os='linux-musl' host_vendor='buildroot' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/mark/buildroot-test/instance-1/output/build/libsigsegv-2.12/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' program_transform_name='s&^&&' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='/etc' target_alias='riscv64-buildroot-linux-musl' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "libsigsegv" #define VERSION "2.12" #define STDC_HEADERS 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRINGS_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_STDINT_H 1 #define HAVE_UNISTD_H 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_SYS_SIGNAL_H 1 #define CFG_SIGNALS "signals.h" #define HAVE_UNISTD_H 1 #define HAVE_GETPAGESIZE 1 #define HAVE_SYSCONF_PAGESIZE 1 #define HAVE_MMAP_ANON 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_MMAP_DEVZERO 1 #define HAVE_UCONTEXT_H 1 #define CFG_FAULT "fault-linux-riscv64.h" #define CFG_MACHFAULT "fault-none.h" #define STACK_DIRECTION -1 #define HAVE_MINCORE 1 #define HAVE_STACKVMA 1 #define CFG_STACKVMA "stackvma-linux.c" #define HAVE_GETRLIMIT 1 #define HAVE_SETRLIMIT 1 #define HAVE_SIGALTSTACK 1 #define HAVE_WORKING_SIGALTSTACK 1 #define CFG_LEAVE "leave-nop.c" #define CFG_HANDLER "handler-unix.c" #define HAVE_UINTPTR_T 1 configure: exit 0