From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56784 invoked by alias); 14 Oct 2015 17:25:31 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 56720 invoked by uid 48); 14 Oct 2015 17:25:27 -0000 From: "gong_su at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/67968] New: go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:1812 Date: Wed, 14 Oct 2015 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gong_su at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg01117.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67968 Bug ID: 67968 Summary: go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:1812 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: gong_su at hotmail dot com CC: cmang at google dot com Target Milestone: --- Failure occurs when trying to compile Ethereum RPC API. root@linux05:~/Downloads/go-ethereum# make geth build/env.sh go install -v -ldflags '-X main.gitCommit 4813a39100dc8dc884b0a68ceae51c2c420f92af' ./cmd/geth github.com/ethereum/go-ethereum/rpc/api # github.com/ethereum/go-ethereum/rpc/api go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:1812 0x802473df Type::write_specific_type_functions(Gogo*, Named_type*, std::__cxx11::basic_string, std::allocator > const&, Function_type*, std::__cxx11::basic_string, std::allocator > const&, Function_type*) ../../src/gcc/go/gofrontend/types.cc:1812 0x80245b33 Type::specific_type_functions(Gogo*, Named_type*, Function_type*, Function_type*, Named_object**, Named_object**) ../../src/gcc/go/gofrontend/types.cc:1791 0x8024639d Type::type_functions(Gogo*, Named_type*, Function_type*, Function_type*, Named_object**, Named_object**) ../../src/gcc/go/gofrontend/types.cc:1668 0x8024eff7 Type::type_descriptor_constructor(Gogo*, int, Named_type*, Methods const*, bool) ../../src/gcc/go/gofrontend/types.cc:2011 0x80250b1d Array_type::array_type_descriptor(Gogo*, Named_type*) ../../src/gcc/go/gofrontend/types.cc:6318 0x80248a33 Type::make_type_descriptor_var(Gogo*) ../../src/gcc/go/gofrontend/types.cc:1218 0x80248e05 Type::type_descriptor_pointer(Gogo*, Location) ../../src/gcc/go/gofrontend/types.cc:1156 0x801c8e6f Type_descriptor_expression::do_get_backend(Translate_context*) ../../src/gcc/go/gofrontend/expressions.cc:13400 0x801a8efd Interface_value_expression::do_get_backend(Translate_context*) ../../src/gcc/go/gofrontend/expressions.cc:14023 0x8021ef49 Temporary_statement::do_get_backend(Translate_context*) ../../src/gcc/go/gofrontend/statements.cc:470 0x801e8d27 Block::get_backend(Translate_context*) ../../src/gcc/go/gofrontend/gogo.cc:5811 0x8021ea51 Block_statement::do_get_backend(Translate_context*) ../../src/gcc/go/gofrontend/statements.cc:1802 0x801e8d27 Block::get_backend(Translate_context*) ../../src/gcc/go/gofrontend/gogo.cc:5811 0x8021ea51 Block_statement::do_get_backend(Translate_context*) ../../src/gcc/go/gofrontend/statements.cc:1802 0x801e8d27 Block::get_backend(Translate_context*) ../../src/gcc/go/gofrontend/gogo.cc:5811 0x801ea647 Function::build(Gogo*, Named_object*) ../../src/gcc/go/gofrontend/gogo.cc:5417 0x801ebd7d Named_object::get_backend(Gogo*, std::vector >&, std::vector >&, std::vector >&) ../../src/gcc/go/gofrontend/gogo.cc:7136 0x801f514d Gogo::write_globals() ../../src/gcc/go/gofrontend/gogo.cc:1345 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. Makefile:9: recipe for target 'geth' failed make: *** [geth] Error 2