https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79068
Bug ID: 79068 Summary: [7 Regression] Bootstrap failure on powerpc64-linux and armv7hl-linux-gnueabi in libgo Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org Target Milestone: --- My bootstrap on these two architectures fail with: go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:1993 0x102cd6e7 Type::write_specific_type_functions(Gogo*, Named_type*, long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Function_type*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Function_type*) ../../gcc/go/gofrontend/types.cc:1993 0x102cdbcf Type::specific_type_functions(Gogo*, Named_type*, long, Function_type*, Function_type*, Named_object**, Named_object**) ../../gcc/go/gofrontend/types.cc:1971 0x102cc0ff Type::type_functions(Gogo*, Named_type*, Function_type*, Function_type*, Named_object**, Named_object**) ../../gcc/go/gofrontend/types.cc:1753 0x102d0d67 Type::type_descriptor_constructor(Gogo*, int, Named_type*, Methods const*, bool) ../../gcc/go/gofrontend/types.cc:2308 0x102d2b37 Array_type::array_type_descriptor(Gogo*, Named_type*) ../../gcc/go/gofrontend/types.cc:6932 0x102c2a03 Type::make_type_descriptor_var(Gogo*) ../../gcc/go/gofrontend/types.cc:1237 0x102c2f4b Type::type_descriptor_pointer(Gogo*, Location) ../../gcc/go/gofrontend/types.cc:1172 0x1022353b Type_descriptor_expression::do_get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:14344 0x101f3e27 Expression::get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:402 0x1021a04b Struct_construction_expression::do_get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:12572 0x101f3e27 Expression::get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:402 0x1021b1fb Array_construction_expression::get_constructor(Translate_context*, Btype*) ../../gcc/go/gofrontend/expressions.cc:12795 0x101f3e27 Expression::get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:402 0x102160c7 Unary_expression::do_get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:4249 0x101f3e27 Expression::get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:402 0x101f54d3 Slice_value_expression::do_get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:14729 0x101f3e27 Expression::get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:402 0x101f3e27 Expression::get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:402 0x1021a04b Struct_construction_expression::do_get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:12572 0x101f3e27 Expression::get_backend(Translate_context*) ../../gcc/go/gofrontend/expressions.cc:402 On powerpc64-linux this is while building 32-bit libgo multilib. The command line has been: /builddir/build/BUILD/gcc-7.0.0-20170111/obj-ppc64-redhat-linux/./gcc/gccgo -B/builddir/build/BUILD/gcc-7.0.0-20170111/obj-ppc64-redhat-linux/./gcc/ -B/usr/ppc64-redhat-linux/bin/ -B/usr/ppc64-redhat-linux/lib/ -isystem /usr/ppc64-redhat-linux/include -isystem /usr/ppc64-redhat-linux/sys-include -O2 -g -m32 -I . -c -fgo-pkgpath=debug/dwarf ../../../../libgo/go/debug/dwarf/buf.go ../../../../libgo/go/debug/dwarf/class_string.go ../../../../libgo/go/debug/dwarf/const.go ../../../../libgo/go/debug/dwarf/entry.go ../../../../libgo/go/debug/dwarf/line.go ../../../../libgo/go/debug/dwarf/open.go ../../../../libgo/go/debug/dwarf/type.go ../../../../libgo/go/debug/dwarf/typeunit.go ../../../../libgo/go/debug/dwarf/unit.go -fPIC -o debug/.libs/dwarf.o On armv7hl-linux the ICE is while building the same package, /builddir/build/BUILD/gcc-7.0.0-20170111/obj-armv7hl-redhat-linux-gnueabi/./gcc/gccgo -B/builddir/build/BUILD/gcc-7.0.0-20170111/obj-armv7hl-redhat-linux-gnueabi/./gcc/ -B/usr/armv7hl-redhat-linux-gnueabi/bin/ -B/usr/armv7hl-redhat-linux-gnueabi/lib/ -isystem /usr/armv7hl-redhat-linux-gnueabi/include -isystem /usr/armv7hl-redhat-linux-gnueabi/sys-include -O2 -g -I . -c -fgo-pkgpath=debug/dwarf ../../../libgo/go/debug/dwarf/buf.go ../../../libgo/go/debug/dwarf/class_string.go ../../../libgo/go/debug/dwarf/const.go ../../../libgo/go/debug/dwarf/entry.go ../../../libgo/go/debug/dwarf/line.go ../../../libgo/go/debug/dwarf/open.go ../../../libgo/go/debug/dwarf/type.go ../../../libgo/go/debug/dwarf/typeunit.go ../../../libgo/go/debug/dwarf/unit.go -fPIC -o debug/.libs/dwarf.o