https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78169
Bug ID: 78169 Summary: internal compiler error: in get_substring_ranges_for_loc, at input.c:1379 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: daniel.black at au dot ibm.com Target Milestone: --- Created attachment 39927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=39927&action=edit miminzed util.c GCC_REVISION=6f2035ca9fb6fb build with crosstool-ng <pre> 19:50:48 Cloning into 'crosstool-ng'... 19:50:49 Submodule path 'crosstool-ng': checked out '11cb2ddd43fd1ff493f4b7cd63f1cf654294165f' .. 19:50:52 + cd /var/lib/jenkins/workspace/r-TVH2TYTYS5LFT5OWR4ZZLMWWTONACRLY7KIN7RVZZFBTB776IFHA/HOST_OS/ubuntu-16.04/HOST_PLATFORM/x86_64/TARGET_PLATFORM/x86_64/gcc 19:50:52 ++ git rev-parse HEAD 19:50:52 ++ cut -c 1-14 19:50:52 + export GCC_REVISION=6f2035ca9fb6fb 19:50:52 + GCC_REVISION=6f2035ca9fb6fb 19:50:52 + cd /var/lib/jenkins/workspace/r-TVH2TYTYS5LFT5OWR4ZZLMWWTONACRLY7KIN7RVZZFBTB776IFHA/HOST_OS/ubuntu-16.04/HOST_PLATFORM/x86_64/TARGET_PLATFORM/x86_64/binutils 19:50:52 ++ git rev-parse HEAD 19:50:52 ++ cut -c 1-14 19:50:52 + export BINUTILS_REVISION=2870b1ba83fc0e 19:50:52 + BINUTILS_REVISION=2870b1ba83fc0e ... 19:51:03 + cd /var/lib/jenkins/workspace/r-TVH2TYTYS5LFT5OWR4ZZLMWWTONACRLY7KIN7RVZZFBTB776IFHA/HOST_OS/ubuntu-16.04/HOST_PLATFORM/x86_64/TARGET_PLATFORM/x86_64/crosstool-build-script/crosstool-ng 19:51:03 + ./bootstrap 19:51:03 Running autoconf... 19:51:04 Done. You may now run: 19:51:04 ./configure 19:51:04 + ./configure --prefix=/var/lib/jenkins/workspace/r-TVH2TYTYS5LFT5OWR4ZZLMWWTONACRLY7KIN7RVZZFBTB776IFHA/HOST_OS/ubuntu-16.04/HOST_PLATFORM/x86_64/TARGET_PLATFORM/x86_64/xtool 19:51:04 checking build system type... x86_64-pc-linux-gnu 19:51:04 checking host system type... x86_64-pc-linux-gnu </pre> <pre> /home/ozlabs/gcc/bin/x86_64-unknown-linux-gnu-gcc --version x86_64-unknown-linux-gnu-gcc (crosstool-NG crosstool-ng-1.22.0-201-g11cb2dd) 7.0.0 20161030 (experimental) Copyright (C) 2016 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. </pre> <pre> home/ozlabs/gcc/bin/x86_64-unknown-linux-gnu-gcc -Wall -O -o CMakeFiles/libgroonga.dir/util.c.o -c util_minimised.i In file included from /usr/include/stdlib.h:24:0, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h:34, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn_db.h:20, from util_minimised.i:1: /usr/include/features.h:127:78: warning: file "/home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h" linemarker ignored due to incorrect nesting ^ In file included from /usr/include/stdlib.h:24:0, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h:34, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn_db.h:20, from util_minimised.i:1: /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h:147:79: warning: file "/home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h" linemarker ignored due to incorrect nesting # include <unistd.h> ^ In file included from /usr/include/stdlib.h:24:0, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h:34, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn_db.h:20, from util_minimised.i:1: /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h:216:94: warning: file "/home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h" linemarker ignored due to incorrect nesting ^ In file included from /usr/include/stdlib.h:24:0, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn.h:34, from /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/lib/grn_db.h:20, from util_minimised.i:1: /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h: In function 'grn_inspect_type': /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h:239:83: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] ^ /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h:239:83: warning: incompatible implicit declaration of built-in function 'strlen' /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h:239:83: note: include '<string.h>' or provide a declaration of 'strlen' /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h:329:7: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration] ^ /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h:329:7: warning: incompatible implicit declaration of built-in function 'snprintf' /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h:329:7: note: include '<stdio.h>' or provide a declaration of 'snprintf' /home/ozlabs/mariadb-server/storage/mroonga/vendor/groonga/include/groonga/groonga.h:235:1: internal compiler error: in get_substring_ranges_for_loc, at input.c:1379 GRN_API grn_rc grn_ctx_fin(grn_ctx *ctx); ^~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. </pre>