>>> jq a17dd3248a666d01be75f6b16be37e80e20b0954 Extracting gzip -d -c /tmp/instance-16/dl/jq/jq-a17dd3248a666d01be75f6b16be37e80e20b0954.tar.gz | tar --strip-components=1 -C /tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954 -xf - >>> jq a17dd3248a666d01be75f6b16be37e80e20b0954 Patching >>> jq a17dd3248a666d01be75f6b16be37e80e20b0954 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954 -name $file); do cp support/gnuconfig/$file $i; done; done >>> jq a17dd3248a666d01be75f6b16be37e80e20b0954 Configuring >>> jq a17dd3248a666d01be75f6b16be37e80e20b0954 Autoreconfiguring fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config/m4'. libtoolize: copying file 'config/m4/libtool.m4' libtoolize: copying file 'config/m4/ltoptions.m4' libtoolize: copying file 'config/m4/ltsugar.m4' libtoolize: copying file 'config/m4/ltversion.m4' libtoolize: copying file 'config/m4/lt~obsolete.m4' fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git configure.ac:17: installing 'config/ar-lib' configure.ac:17: installing 'config/compile' configure.ac:25: installing 'config/config.guess' configure.ac:25: installing 'config/config.sub' configure.ac:15: installing 'config/install-sh' configure.ac:15: installing 'config/missing' Makefile.am: installing 'config/depcomp' configure.ac: installing 'config/ylwrap' parallel-tests: installing 'config/test-driver' >>> jq a17dd3248a666d01be75f6b16be37e80e20b0954 Patching libtool patching file /tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954/config/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 /tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954/ && rm -rf config.cache && PATH="/tmp/instance-16/output-1/host/bin:/tmp/instance-16/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/tmp/instance-16/output-1/host/bin/sparc64-linux-ar" AS="/tmp/instance-16/output-1/host/bin/sparc64-linux-as" LD="/tmp/instance-16/output-1/host/bin/sparc64-linux-ld" NM="/tmp/instance-16/output-1/host/bin/sparc64-linux-nm" CC="/tmp/instance-16/output-1/host/bin/sparc64-linux-gcc" GCC="/tmp/instance-16/output-1/host/bin/sparc64-linux-gcc" CPP="/tmp/instance-16/output-1/host/bin/sparc64-linux-cpp" CXX="/tmp/instance-16/output-1/host/bin/sparc64-linux-g++" FC="/tmp/instance-16/output-1/host/bin/sparc64-linux-gfortran" F77="/tmp/instance-16/output-1/host/bin/sparc64-linux-gfortran" RANLIB="/tmp/instance-16/output-1/host/bin/sparc64-linux-ranlib" READELF="/tmp/instance-16/output-1/host/bin/sparc64-linux-readelf" STRIP="/tmp/instance-16/output-1/host/bin/sparc64-linux-strip" OBJCOPY="/tmp/instance-16/output-1/host/bin/sparc64-linux-objcopy" OBJDUMP="/tmp/instance-16/output-1/host/bin/sparc64-linux-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/tmp/instance-16/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-16/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-16/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-16/output-1/host/lib -Wl,-rpath,/tmp/instance-16/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-16/output-1/host/bin/sparc64-linux-as" DEFAULT_LINKER="/tmp/instance-16/output-1/host/bin/sparc64-linux-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 -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/tmp/instance-16/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-16/output-1/host/sparc64-buildroot-linux-gnu/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=yes CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -D_FORTIFY_SOURCE=1 -std=c99 -D_GNU_SOURCE" CONFIG_SITE=/dev/null ./configure --target=sparc64-buildroot-linux-gnu --host=sparc64-buildroot-linux-gnu --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 --disable-maintainer-mode --without-oniguruma ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for sparc64-buildroot-linux-gnu-strip... /tmp/instance-16/output-1/host/bin/sparc64-linux-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for sparc64-buildroot-linux-gnu-gcc... /tmp/instance-16/output-1/host/bin/sparc64-linux-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 /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc accepts -g... yes checking for /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc option to accept ISO C89... none needed checking whether /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc understands -c and -o together... yes checking dependency style of /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc... none checking for sparc64-buildroot-linux-gnu-ar... /tmp/instance-16/output-1/host/bin/sparc64-linux-ar checking the archiver (/tmp/instance-16/output-1/host/bin/sparc64-linux-ar) interface... ar checking whether to enable maintainer-specific portions of Makefiles... no checking for sparc64-buildroot-linux-gnu-gcc... (cached) /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc accepts -g... (cached) yes checking for /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc option to accept ISO C89... (cached) none needed checking whether /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc understands -c and -o together... (cached) yes checking dependency style of /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc... (cached) none checking for /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc option to accept ISO C99... none needed checking for /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... /tmp/instance-16/output-1/host/bin/sparc64-linux-cpp checking for bison... bison -y checking build system type... x86_64-pc-linux-gnu checking host system type... sparc64-buildroot-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc... /tmp/instance-16/output-1/host/bin/sparc64-linux-ld checking if the linker (/tmp/instance-16/output-1/host/bin/sparc64-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /tmp/instance-16/output-1/host/bin/sparc64-linux-nm checking the name lister (/tmp/instance-16/output-1/host/bin/sparc64-linux-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 sparc64-buildroot-linux-gnu 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 /tmp/instance-16/output-1/host/bin/sparc64-linux-ld option to reload object files... -r checking for sparc64-buildroot-linux-gnu-objdump... /tmp/instance-16/output-1/host/bin/sparc64-linux-objdump checking how to recognize dependent libraries... pass_all checking for sparc64-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for sparc64-buildroot-linux-gnu-ar... (cached) /tmp/instance-16/output-1/host/bin/sparc64-linux-ar checking for archiver @FILE support... @ checking for sparc64-buildroot-linux-gnu-strip... (cached) /tmp/instance-16/output-1/host/bin/sparc64-linux-strip checking for sparc64-buildroot-linux-gnu-ranlib... /tmp/instance-16/output-1/host/bin/sparc64-linux-ranlib checking command to parse /tmp/instance-16/output-1/host/bin/sparc64-linux-nm output from /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for sparc64-buildroot-linux-gnu-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 /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc option to produce PIC... -fPIC -DPIC checking if /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc static flag -static works... yes checking if /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc supports -c -o file.o... yes checking if /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc supports -c -o file.o... (cached) yes checking whether the /tmp/instance-16/output-1/host/bin/sparc64-linux-gcc linker (/tmp/instance-16/output-1/host/bin/sparc64-linux-ld -m elf64_sparc) supports shared libraries... yes checking whether -lc should be explicitly linked in... ./configure: line 11959: echo: write error: No space left on device checking dynamic linker characteristics... ./configure: line 12726: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory 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 checking for valgrind... no configure: WARNING: valgrind is required to test jq. checking for memmem... yes checking for mkstemp... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking shlwapi.h usability... no checking shlwapi.h presence... ./configure: line 1887: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory no checking for shlwapi.h... no checking for pipenv... no checking for size_t... ./configure: line 1953: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory no ./configure: line 11002: cannot create temp file for here-document: No space left on device checking for working alloca.h... ./configure: line 11015: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory no checking for alloca... ./configure: line 11048: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory no checking whether `alloca.c' needs Cray hooks... ./configure: line 11111: cannot create temp file for here-document: No space left on device no checking stack direction for C alloca... 0 ./configure: line 11187: cannot create temp file for here-document: No space lno checking for strptime... yes checking for strftime... yes checking for setenv... yes checking for timegm... yes checking for gmtime_r... yes checking for gmtime... yes checking for localtime_r... yes checking for localtime... cat: write error: No space left on device ./configure: line 12143: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory no checking for gettimeofday... ./configure: line 12246: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 12246: cannot create temp file for here-document: No space left on device ./configure: line 1684: printf: write error: No space left on device ./configure: line 1694: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 12304: printf: write error: No space left on device no ./configure: line 2001: printf: write error: No space left on device checking for struct tm.tm_gmtoff... ./configure: line 2006: cannot create temp file for here-document: No space left on device ./configure: line 1601: printf: write error: No space left on device ./configure: line 1609: printf: write error: No space left on device ./configure: line 1616: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 2022: cannot create temp file for here-document: No space left on device ./configure: line 1601: printf: write error: No space left on device ./configure: line 1609: printf: write error: No space left on device ./configure: line 1616: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 2045: printf: write error: No space left on device no ./configure: line 2001: printf: write error: No space left on device checking for struct tm.__tm_gmtoff... ./configure: line 2006: cannot create temp file for here-document: No space left on device ./configure: line 1601: printf: write error: No space left on device ./configure: line 1609: printf: write error: No space left on device ./configure: line 1616: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 2022: cannot create temp file for here-document: No space left on device ./configure: line 1601: printf: write error: No space left on device ./configure: line 1609: printf: write error: No space left on device ./configure: line 1616: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 2045: printf: write error: No space left on device no ./configure: line 12349: printf: write error: No space left on device checking for pthread_key_create... ./configure: line 12366: cannot create temp file for here-document: No space left on device ./configure: line 1676: printf: write error: No space left on device ./configure: line 1684: printf: write error: No space left on device ./configure: line 1694: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 12366: cannot create temp file for here-document: No space left on device ./configure: line 1676: printf: write error: No space left on device ./configure: line 1684: printf: write error: No space left on device ./configure: line 1694: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 12424: printf: write error: No space left on device no ./configure: line 12452: printf: write error: No space left on device checking for pthread_once... ./configure: line 12469: cannot create temp file for here-document: No space left on device ./configure: line 1676: printf: write error: No space left on device ./configure: line 1684: printf: write error: No space left on device ./configure: line 1694: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 12469: cannot create temp sed: can't read conftest.c: No such file or directory no checking for atexit... yes checking for acos in -lm... yes checking for acosh in -lm... yes checking for asin in -lm... no checking for asinh in -lm... ./configure: line 12831: cannot create temp file for here-document: No space left on device ./configure: line 1676: printf: write error: No space left on device ./configure: line 1684: printf: write error: No space left on device ./configure: line 1694: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory ./configure: line 12858: printf: write error: No space left on device no ./configure: line 12878: printf: write error: No space left on device checking for atan2 in -lm... ./configure: line 12885: cannot create temp file for here-document: No space left on device ./configure: line 1676: printf: write error: No space left on device ./configure: line 1684: printf: write error: No space left on device ./configure: line 1694: printf: write error: No space left on device sed: can't read conftest.c: No such file or directory no checking for atan in -lm... yes checking for atanh in -lm... yes checking for cbrt in -lm... yes checking for ceil in -lm... yes checking for copysign in -lm... yes checking for cos in -lm... yes checking for cosh in -lm... no checking for drem in -lm... ./configure: line 13317: cannot create temp file for here-document: No space left on device sed: can't read conftest.c: No such file or directory no checking for erf in -lm... yes checking for erfc in -lm... yes checking for exp10 in -lm... yes checking for exp2 in -lm... yes checking for exp in -lm... yes checking for expm1 in -lm... yes checking for fabs in -lm... yes checking for fdim in -lm... yes checking for floor in -lm... yes checking for fma in -lm... yes checking for fmax in -lm... yes checking for fmin in -lm... yes checking for fmod in -lm... yes checking for frexp in -lm... yes checking for gamma in -lm... yes checking for hypot in -lm... yes checking for j0 in -lm... yes checking for j1 in -lm... yes checking for jn in -lm... yes checking for ldexp in -lm... yes checking for lgamma in -lm... yes checking for log10 in -lm... yes checking for log1p in -lm... yes checking for log2 in -lm... yes checking for log in -lm... yes checking for logb in -lm... yes checking for modf in -lm... yes checking for lgamma_r in -lm... yes checking for nearbyint in -lm... yes checking for nextafter in -lm... yes checking for nexttoward in -lm... yes checking for pow10 in -lm... no checking for pow in -lm... yes checking for remainder in -lm... yes checking for rint in -lm... yes checking for round in -lm... yes checking for scalb in -lm... yes checking for scalbln in -lm... yes checking for significand in -lm... yes checking for sin in -lm... yes checking for sinh in -lm... yes checking for sqrt in -lm... yes checking for tan in -lm... yes checking for tanh in -lm... yes checking for tgamma in -lm... yes checking for trunc in -lm... yes checking for y0 in -lm... yes checking for y1 in -lm... yes checking for yn in -lm... yes checking for thread-local storage... yes checking whether byte ordering is bigendian... (cached) yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libjq.pc config.status: executing depfiles commands config.status: executing libtool commands >>> jq a17dd3248a666d01be75f6b16be37e80e20b0954 Building PATH="/tmp/instance-16/output-1/host/bin:/tmp/instance-16/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j32 -C /tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954/ make[1]: Entering directory '/tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954' mkdir -p src GEN src/builtin.inc fatal: not a git repository (or any of the parent directories): .git mkdir -p src GEN src/version.h fatal: not a git repository (or any of the parent directories): .git /usr/bin/make all-recursive make[2]: Entering directory '/tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954' make[3]: Entering directory '/tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954' GEN jq.1 CC src/builtin.lo CC src/bytecode.lo CC src/compile.lo CC src/execute.lo CC src/jq_test.lo CC src/jv.lo CC src/jv_aux.lo CC src/jv_alloc.lo CC src/jv_dtoa.lo CC src/jv_file.lo CC src/jv_print.lo CC src/jv_parse.lo fatal: not a git repository (or any of the parent directories): .git CC src/jv_unicode.lo CC src/linker.lo CC src/locfile.lo CC src/util.lo CC src/decNumber/decContext.lo CC src/decNumber/decNumber.lo CC src/jv_dtoa_tsd.lo CC src/lexer.lo CC src/parser.lo CC src/main.o src/builtin.c:2: warning: "_GNU_SOURCE" redefined 2 | #define _GNU_SOURCE | : note: this is the location of the previous definition In file included from /tmp/instance-16/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/sys/time.h:21, from src/builtin.c:10: /tmp/instance-16/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ src/util.c:3: warning: "_GNU_SOURCE" redefined 3 | #define _GNU_SOURCE | : note: this is the location of the previous definition src/execute.c: In function 'jq_next': src/jv_dtoa_tsd.c: In function 'tsd_dtoa_ctx_init': src/execute.c:856:22: warning: cast between incompatible function types from 'cfunction_ptr' {aka 'void (*)()'} to 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} [-Wcast-function-type] 856 | case 1: top = ((func_1)function->fptr)(jq, in[0]); break; | ^ src/jv_dtoa_tsd.c:27:41: warning: passing argument 2 of 'pthread_key_create' from incompatible pointer type [-Wincompatible-pointer-types] 27 | if (pthread_key_create(&dtoa_ctx_key, tsd_dtoa_ctx_dtor) != 0) { | ^~~~~~~~~~~~~~~~~ | | | void (*)(struct dtoa_context *) src/execute.c:857:22: warning: cast between incompatible function types from 'cfunction_ptr' {aka 'void (*)()'} to 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} [-Wcast-function-type] 857 | case 2: top = ((func_2)function->fptr)(jq, in[0], in[1]); break; | ^ src/execute.c:858:22: warning: cast between incompatible function types from 'cfunction_ptr' {aka 'void (*)()'} to 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} [-Wcast-function-type] 858 | case 3: top = ((func_3)function->fptr)(jq, in[0], in[1], in[2]); break; | ^ In file included from src/jv_dtoa_tsd.c:3: /tmp/instance-16/output-1/host/sparc64-buildroot-linux-gnu/sysroot/usr/include/pthread.h:1124:18: note: expected 'void (*)(void *)' but argument is of type 'void (*)(struct dtoa_context *)' 1124 | void (*__destr_function) (void *)) | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ src/execute.c:859:22: warning: cast between incompatible function types from 'cfunction_ptr' {aka 'void (*)()'} to 'jv (*)(jq_state *, jv, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct , struct )'} [-Wcast-function-type] 859 | case 4: top = ((func_4)function->fptr)(jq, in[0], in[1], in[2], in[3]); break; | ^ src/execute.c:860:22: warning: cast between incompatible function types from 'cfunction_ptr' {aka 'void (*)()'} to 'jv (*)(jq_state *, jv, jv, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct , struct , struct )'} [-Wcast-function-type] 860 | case 5: top = ((func_5)function->fptr)(jq, in[0], in[1], in[2], in[3], in[4]); break; | ^ src/execute.c:570:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 570 | stack_save(jq, pc - 1, stack_get_pos(jq)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/execute.c:571:5: note: here 571 | case STOREV: { | ^~~~ src/execute.c:717:20: warning: this statement may fall through [-Wimplicit-fallthrough=] 717 | case EACH_OPT: { | ^ src/execute.c:732:5: note: here 732 | case ON_BACKTRACK(EACH): | ^~~~ src/jv_dtoa.c: In function 'jvp_strtod': src/jv_dtoa.c:2330:54: warning: unused variable 'test_scale' [-Wunused-variable] 2330 | int bb2, bb5, bbe, bd2, bd5, bbbits, bs2, c, e, e1, test_scale; | ^~~~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:2:1: note: in expansion of macro 'LIBM_DD' 2 | LIBM_DD(acos) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:7:1: note: in expansion of macro 'LIBM_DD' 7 | LIBM_DD(acosh) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:22:1: note: in expansion of macro 'LIBM_DD' 22 | LIBM_DD(atan) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:32:1: note: in expansion of macro 'LIBM_DD' 32 | LIBM_DD(atanh) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:37:1: note: in expansion of macro 'LIBM_DD' 37 | LIBM_DD(cbrt) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:42:1: note: in expansion of macro 'LIBM_DD' 42 | LIBM_DD(cos) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:52:1: note: in expansion of macro 'LIBM_DD' 52 | LIBM_DD(exp) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:57:1: note: in expansion of macro 'LIBM_DD' 57 | LIBM_DD(exp2) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:62:1: note: in expansion of macro 'LIBM_DD' 62 | LIBM_DD(floor) | ^~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:67:1: note: in expansion of macro 'LIBM_DDD' 67 | LIBM_DDD(hypot) | ^~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:72:1: note: in expansion of macro 'LIBM_DD' 72 | LIBM_DD(j0) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:77:1: note: in expansion of macro 'LIBM_DD' 77 | LIBM_DD(j1) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:82:1: note: in expansion of macro 'LIBM_DD' 82 | LIBM_DD(log) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:87:1: note: in expansion of macro 'LIBM_DD' 87 | LIBM_DD(log10) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:92:1: note: in expansion of macro 'LIBM_DD' 92 | LIBM_DD(log2) | ^~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:97:1: note: in expansion of macro 'LIBM_DDD' 97 | LIBM_DDD(pow) | ^~~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:102:1: note: in expansion of macro 'LIBM_DDD' 102 | LIBM_DDD(remainder) | ^~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:107:1: note: in expansion of macro 'LIBM_DD' 107 | LIBM_DD(sin) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:112:1: note: in expansion of macro 'LIBM_DD' 112 | LIBM_DD(sinh) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:117:1: note: in expansion of macro 'LIBM_DD' 117 | LIBM_DD(sqrt) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:122:1: note: in expansion of macro 'LIBM_DD' 122 | LIBM_DD(tan) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:127:1: note: in expansion of macro 'LIBM_DD' 127 | LIBM_DD(tanh) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:132:1: note: in expansion of macro 'LIBM_DD' 132 | LIBM_DD(tgamma) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:137:1: note: in expansion of macro 'LIBM_DD' 137 | LIBM_DD(y0) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:142:1: note: in expansion of macro 'LIBM_DD' 142 | LIBM_DD(y1) | ^~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:147:1: note: in expansion of macro 'LIBM_DDD' 147 | LIBM_DDD(jn) | ^~~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:150:1: note: in expansion of macro 'LIBM_DDD' 150 | LIBM_DDD(yn) | ^~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:153:1: note: in expansion of macro 'LIBM_DD' 153 | LIBM_DD(ceil) | ^~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:158:1: note: in expansion of macro 'LIBM_DDD' 158 | LIBM_DDD(copysign) | ^~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:168:1: note: in expansion of macro 'LIBM_DD' 168 | LIBM_DD(erf) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:173:1: note: in expansion of macro 'LIBM_DD' 173 | LIBM_DD(erfc) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:178:1: note: in expansion of macro 'LIBM_DD' 178 | LIBM_DD(exp10) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:183:1: note: in expansion of macro 'LIBM_DD' 183 | LIBM_DD(expm1) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:188:1: note: in expansion of macro 'LIBM_DD' 188 | LIBM_DD(fabs) | ^~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:193:1: note: in expansion of macro 'LIBM_DDD' 193 | LIBM_DDD(fdim) | ^~~~~~~~ src/builtin.c:1633:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1633 | {(cfunction_ptr)f_ ## name, #name, 4}, | ^ src/libm.h:198:1: note: in expansion of macro 'LIBM_DDDD' 198 | LIBM_DDDD(fma) | ^~~~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:203:1: note: in expansion of macro 'LIBM_DDD' 203 | LIBM_DDD(fmax) | ^~~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:208:1: note: in expansion of macro 'LIBM_DDD' 208 | LIBM_DDD(fmin) | ^~~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:213:1: note: in expansion of macro 'LIBM_DDD' 213 | LIBM_DDD(fmod) | ^~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:218:1: note: in expansion of macro 'LIBM_DD' 218 | LIBM_DD(gamma) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:223:1: note: in expansion of macro 'LIBM_DD' 223 | LIBM_DD(lgamma) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:228:1: note: in expansion of macro 'LIBM_DD' 228 | LIBM_DD(log1p) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:233:1: note: in expansion of macro 'LIBM_DD' 233 | LIBM_DD(logb) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:238:1: note: in expansion of macro 'LIBM_DD' 238 | LIBM_DD(nearbyint) | ^~~~~~~ src/jv_dtoa.c:2368:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 2368 | sign = 1; | ~~~~~^~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:243:1: note: in expansion of macro 'LIBM_DDD' 243 | LIBM_DDD(nextafter) | ^~~~~~~~ src/jv_dtoa.c:2370:3: note: here 2370 | case '+': | ^~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:248:1: note: in expansion of macro 'LIBM_DDD' 248 | LIBM_DDD(nexttoward) | ^~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:258:1: note: in expansion of macro 'LIBM_DD' 258 | LIBM_DD(rint) | ^~~~~~~ src/jv_dtoa.c:2480:11: warning: this statement may fall through [-Wimplicit-fallthrough=] 2480 | esign = 1; | ~~~~~~^~~ src/jv_dtoa.c:2481:4: note: here 2481 | case '+': | ^~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:263:1: note: in expansion of macro 'LIBM_DD' 263 | LIBM_DD(round) | ^~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:268:1: note: in expansion of macro 'LIBM_DDD' 268 | LIBM_DDD(scalb) | ^~~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:273:1: note: in expansion of macro 'LIBM_DDD' 273 | LIBM_DDD(scalbln) | ^~~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:278:1: note: in expansion of macro 'LIBM_DD' 278 | LIBM_DD(significand) | ^~~~~~~ src/builtin.c:1625:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1625 | {(cfunction_ptr)f_ ## name, #name, 1}, | ^ src/libm.h:283:1: note: in expansion of macro 'LIBM_DD' 283 | LIBM_DD(trunc) | ^~~~~~~ src/builtin.c:1629:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1629 | {(cfunction_ptr)f_ ## name, #name, 3}, | ^ src/libm.h:288:1: note: in expansion of macro 'LIBM_DDD' 288 | LIBM_DDD(ldexp) | ^~~~~~~~ src/builtin.c:1639:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1639 | {(cfunction_ptr)f_frexp,"frexp", 1}, | ^ src/builtin.c:1642:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1642 | {(cfunction_ptr)f_modf,"modf", 1}, | ^ src/builtin.c:1645:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1645 | {(cfunction_ptr)f_lgamma_r,"lgamma_r", 1}, | ^ src/builtin.c:1647:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1647 | {(cfunction_ptr)f_plus, "_plus", 3}, | ^ src/builtin.c:1648:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1648 | {(cfunction_ptr)f_negate, "_negate", 1}, | ^ src/builtin.c:1649:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1649 | {(cfunction_ptr)f_minus, "_minus", 3}, | ^ src/builtin.c:1650:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1650 | {(cfunction_ptr)f_multiply, "_multiply", 3}, | ^ src/builtin.c:1651:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1651 | {(cfunction_ptr)f_divide, "_divide", 3}, | ^ src/builtin.c:1652:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1652 | {(cfunction_ptr)f_mod, "_mod", 3}, | ^ src/builtin.c:1653:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1653 | {(cfunction_ptr)f_dump, "tojson", 1}, | ^ src/builtin.c:1654:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1654 | {(cfunction_ptr)f_json_parse, "fromjson", 1}, | ^ src/builtin.c:1655:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1655 | {(cfunction_ptr)f_tonumber, "tonumber", 1}, | ^ src/builtin.c:1656:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1656 | {(cfunction_ptr)f_tostring, "tostring", 1}, | ^ src/builtin.c:1657:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1657 | {(cfunction_ptr)f_keys, "keys", 1}, | ^ src/builtin.c:1658:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1658 | {(cfunction_ptr)f_keys_unsorted, "keys_unsorted", 1}, | ^ src/builtin.c:1659:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1659 | {(cfunction_ptr)f_startswith, "startswith", 2}, | ^ src/builtin.c:1660:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1660 | {(cfunction_ptr)f_endswith, "endswith", 2}, | ^ src/builtin.c:1661:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1661 | {(cfunction_ptr)f_ltrimstr, "ltrimstr", 2}, | ^ src/builtin.c:1662:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1662 | {(cfunction_ptr)f_rtrimstr, "rtrimstr", 2}, | ^ src/builtin.c:1663:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1663 | {(cfunction_ptr)f_string_split, "split", 2}, | ^ src/builtin.c:1664:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1664 | {(cfunction_ptr)f_string_explode, "explode", 1}, | ^ src/builtin.c:1665:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1665 | {(cfunction_ptr)f_string_implode, "implode", 1}, | ^ src/builtin.c:1666:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1666 | {(cfunction_ptr)f_string_indexes, "_strindices", 2}, | ^ src/builtin.c:1667:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1667 | {(cfunction_ptr)f_setpath, "setpath", 3}, // FIXME typechecking | ^ src/builtin.c:1668:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1668 | {(cfunction_ptr)f_getpath, "getpath", 2}, | ^ src/builtin.c:1669:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1669 | {(cfunction_ptr)f_delpaths, "delpaths", 2}, | ^ src/builtin.c:1670:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1670 | {(cfunction_ptr)f_has, "has", 2}, | ^ src/builtin.c:1671:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1671 | {(cfunction_ptr)f_equal, "_equal", 3}, | ^ src/builtin.c:1672:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1672 | {(cfunction_ptr)f_notequal, "_notequal", 3}, | ^ src/builtin.c:1673:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1673 | {(cfunction_ptr)f_less, "_less", 3}, | ^ src/builtin.c:1674:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1674 | {(cfunction_ptr)f_greater, "_greater", 3}, | ^ src/builtin.c:1675:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1675 | {(cfunction_ptr)f_lesseq, "_lesseq", 3}, | ^ src/builtin.c:1676:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1676 | {(cfunction_ptr)f_greatereq, "_greatereq", 3}, | ^ src/builtin.c:1677:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1677 | {(cfunction_ptr)f_contains, "contains", 2}, | ^ src/builtin.c:1678:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1678 | {(cfunction_ptr)f_length, "length", 1}, | ^ src/builtin.c:1679:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1679 | {(cfunction_ptr)f_utf8bytelength, "utf8bytelength", 1}, | ^ src/builtin.c:1680:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1680 | {(cfunction_ptr)f_type, "type", 1}, | ^ src/builtin.c:1681:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1681 | {(cfunction_ptr)f_isinfinite, "isinfinite", 1}, | ^ src/builtin.c:1682:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1682 | {(cfunction_ptr)f_isnan, "isnan", 1}, | ^ src/builtin.c:1683:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1683 | {(cfunction_ptr)f_isnormal, "isnormal", 1}, | ^ src/builtin.c:1684:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1684 | {(cfunction_ptr)f_infinite, "infinite", 1}, | ^ src/builtin.c:1685:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1685 | {(cfunction_ptr)f_nan, "nan", 1}, | ^ src/builtin.c:1686:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1686 | {(cfunction_ptr)f_sort, "sort", 1}, | ^ src/builtin.c:1687:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1687 | {(cfunction_ptr)f_sort_by_impl, "_sort_by_impl", 2}, | ^ src/builtin.c:1688:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1688 | {(cfunction_ptr)f_group_by_impl, "_group_by_impl", 2}, | ^ src/builtin.c:1689:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1689 | {(cfunction_ptr)f_min, "min", 1}, | ^ src/builtin.c:1690:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1690 | {(cfunction_ptr)f_max, "max", 1}, | ^ src/builtin.c:1691:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1691 | {(cfunction_ptr)f_min_by_impl, "_min_by_impl", 2}, | ^ src/builtin.c:1692:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1692 | {(cfunction_ptr)f_max_by_impl, "_max_by_impl", 2}, | ^ src/builtin.c:1693:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1693 | {(cfunction_ptr)f_error, "error", 1}, | ^ src/builtin.c:1694:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1694 | {(cfunction_ptr)f_format, "format", 2}, | ^ src/builtin.c:1695:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1695 | {(cfunction_ptr)f_env, "env", 1}, | ^ src/builtin.c:1696:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1696 | {(cfunction_ptr)f_halt, "halt", 1}, | ^ src/builtin.c:1697:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1697 | {(cfunction_ptr)f_halt_error, "halt_error", 2}, | ^ src/builtin.c:1698:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1698 | {(cfunction_ptr)f_get_search_list, "get_search_list", 1}, | ^ src/builtin.c:1699:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1699 | {(cfunction_ptr)f_get_prog_origin, "get_prog_origin", 1}, | ^ src/builtin.c:1700:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1700 | {(cfunction_ptr)f_get_jq_origin, "get_jq_origin", 1}, | ^ src/builtin.c:1701:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct , struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1701 | {(cfunction_ptr)f_match, "_match_impl", 4}, | ^ src/builtin.c:1702:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1702 | {(cfunction_ptr)f_modulemeta, "modulemeta", 1}, | ^ src/builtin.c:1703:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1703 | {(cfunction_ptr)f_input, "input", 1}, | ^ src/jv_dtoa.c: In function 'jvp_dtoa': src/builtin.c:1704:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1704 | {(cfunction_ptr)f_debug, "debug", 1}, | ^ src/jv.c: In function 'jvp_string_hash': src/jv_dtoa.c:3700:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 3700 | leftright = 0; | ~~~~~~~~~~^~~ src/builtin.c:1705:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1705 | {(cfunction_ptr)f_stderr, "stderr", 1}, | ^ src/jv.c:915:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 915 | case 3: k1 ^= tail[2] << 16; | ~~~^~~~~~~~~~~~~~~~ src/jv_dtoa.c:3702:3: note: here 3702 | case 4: | ^~~~ src/jv.c:916:3: note: here 916 | case 2: k1 ^= tail[1] << 8; | ^~~~ src/builtin.c:1706:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1706 | {(cfunction_ptr)f_strptime, "strptime", 2}, | ^ src/jv.c:916:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 916 | case 2: k1 ^= tail[1] << 8; | ~~~^~~~~~~~~~~~~~~ src/jv_dtoa.c:3708:14: warning: this statement may fall through [-Wimplicit-fallthrough=] 3708 | leftright = 0; | ~~~~~~~~~~^~~ src/jv.c:917:3: note: here 917 | case 1: k1 ^= tail[0]; | ^~~~ src/builtin.c:1707:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1707 | {(cfunction_ptr)f_strftime, "strftime", 2}, | ^ src/jv_dtoa.c:3710:3: note: here 3710 | case 5: | ^~~~ src/builtin.c:1708:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv, jv)' {aka 'struct (*)(struct jq_state *, struct , struct )'} to 'void (*)()' [-Wcast-function-type] 1708 | {(cfunction_ptr)f_strflocaltime, "strflocaltime", 2}, | ^ src/builtin.c:1709:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1709 | {(cfunction_ptr)f_mktime, "mktime", 1}, | ^ src/builtin.c:1710:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1710 | {(cfunction_ptr)f_gmtime, "gmtime", 1}, | ^ src/builtin.c:1711:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1711 | {(cfunction_ptr)f_localtime, "localtime", 1}, | ^ src/builtin.c:1712:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1712 | {(cfunction_ptr)f_now, "now", 1}, | ^ src/builtin.c:1713:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1713 | {(cfunction_ptr)f_current_filename, "input_filename", 1}, | ^ src/builtin.c:1714:4: warning: cast between incompatible function types from 'jv (*)(jq_state *, jv)' {aka 'struct (*)(struct jq_state *, struct )'} to 'void (*)()' [-Wcast-function-type] 1714 | {(cfunction_ptr)f_current_line, "input_line_number", 1}, | ^ CCLD libjq.la CCLD jq /tmp/instance-16/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: ./.libs/libjq.so: undefined reference to `pthread_getspecific' /tmp/instance-16/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: ./.libs/libjq.so: undefined reference to `pthread_key_create' /tmp/instance-16/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: ./.libs/libjq.so: undefined reference to `pthread_once' /tmp/instance-16/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc64-buildroot-linux-gnu/9.3.0/../../../../sparc64-buildroot-linux-gnu/bin/ld: ./.libs/libjq.so: undefined reference to `pthread_setspecific' collect2: error: ld returned 1 exit status make[3]: *** [Makefile:960: jq] Error 1 make[3]: Leaving directory '/tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954' make[2]: *** [Makefile:1150: all-recursive] Error 1 make[2]: Leaving directory '/tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954' make[1]: *** [Makefile:787: all] Error 2 make[1]: Leaving directory '/tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954' make: *** [package/pkg-generic.mk:270: /tmp/instance-16/output-1/build/jq-a17dd3248a666d01be75f6b16be37e80e20b0954/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-16/buildroot'