[Bug bootstrap/66038] [5 regression] (stage 2) build/genmatch issue (gcc/hash-table.h|c) with --disable-checking [ introduced by r218976 ]
kumba at gentoo dot org
gcc-bugzilla@gcc.gnu.org
Fri Jun 5 22:42:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66038
Joshua Kinard <kumba at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kumba at gentoo dot org
--- Comment #23 from Joshua Kinard <kumba at gentoo dot org> ---
I ran into this on a Linux/mips64 (MIPS-IV ISA) build as well, running N32 ABI.
mips64-unknown-linux-gnu-g++ -c -DIN_GCC -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/usr/obj/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/gcc
-I/usr/obj/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/gcc/build
-I/usr/obj/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/gcc/../include
-I/usr/obj/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/gcc/../libcpp/include \
-o build/gcov-iov.o
/usr/obj/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/gcc/gcov-iov.c
build/genmatch --gimple
/usr/obj/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/gcc/match.pd \
> tmp-gimple-match.c
/bin/bash: line 1: 835 Segmentation fault build/genmatch --gimple
/usr/obj/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/gcc/match.pd >
tmp-gimple-match.c
Makefile:2318: recipe for target 's-match' failed
make[3]: *** [s-match] Error 139
make[3]: *** Waiting for unfinished jobs....
This is in the 'all-stage1-gcc' stage from 'stage1-bubble'. I did not see any
'ld' warnings prior to that, but I have this in dmesg:
[47163.043326]
do_page_fault(): sending SIGSEGV to genmatch for invalid read
access from 0000000000000000
[47163.043354] epc = 0000000000000000 in
[47163.043402] genmatch[10000000+90000]
[47163.043412] ra = 000000001000b960 in
[47163.043436] genmatch[10000000+90000]
Running a 64KB PAGE_SIZE, too, if that matters. I'll try to reverse commit
r218976 from Comment #11 to see if that resolves the issue for me as well and
update later.
More information about the Gcc-bugs
mailing list