From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 13199384840F; Fri, 20 Aug 2021 08:29:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 13199384840F From: "lebedev.k.m at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/101994] New: go1: internal compiler error: in return_statement, at go/go-gcc.cc:2318 Date: Fri, 20 Aug 2021 08:29:33 +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: 11.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lebedev.k.m at gmail 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: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2021 08:29:34 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101994 Bug ID: 101994 Summary: go1: internal compiler error: in return_statement, at go/go-gcc.cc:2318 Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: lebedev.k.m at gmail dot com CC: cmang at google dot com Target Milestone: --- docker run -it gcc:11 bash root@6c5083a4faa6:/# git clone https://github.com/chrislusf/seaweedfs Cloning into 'seaweedfs'... remote: Enumerating objects: 46106, done. remote: Counting objects: 100% (1097/1097), done. remote: Compressing objects: 100% (536/536), done. remote: Total 46106 (delta 700), reused 835 (delta 535), pack-reused 45009 Receiving objects: 100% (46106/46106), 39.24 MiB | 1.54 MiB/s, done. Resolving deltas: 100% (32436/32436), done. root@6c5083a4faa6:/# cd seaweedfs/weed/storage/needle_map root@6c5083a4faa6:/seaweedfs/weed/storage/needle_map# go test go: downloading github.com/google/btree v1.0.0 go: downloading github.com/syndtr/goleveldb v1.0.0 go: downloading github.com/spf13/viper v1.4.0 go: downloading github.com/prometheus/client_golang v1.11.0 go: downloading github.com/golang/protobuf v1.4.3 go: downloading google.golang.org/grpc v1.29.1 go: downloading google.golang.org/protobuf v1.26.0-rc.1 go: downloading github.com/fsnotify/fsnotify v1.4.9 go: downloading github.com/hashicorp/hcl v1.0.0 go: downloading github.com/magiconair/properties v1.8.1 go: downloading github.com/mitchellh/mapstructure v1.1.2 go: downloading github.com/pelletier/go-toml v1.7.0 go: downloading github.com/spf13/afero v1.6.0 go: downloading github.com/spf13/cast v1.3.0 go: downloading github.com/spf13/jwalterweatherman v1.1.0 go: downloading github.com/spf13/pflag v1.0.3 go: downloading gopkg.in/yaml.v2 v2.3.0 go: downloading github.com/prometheus/common v0.26.0 go: downloading github.com/prometheus/client_model v0.2.0 go: downloading github.com/beorn7/perks v1.0.1 go: downloading github.com/cespare/xxhash v1.1.0 go: downloading github.com/prometheus/procfs v0.6.0 go: downloading google.golang.org/genproto v0.0.0-20200608115520-7c474a2e34= 82 go: downloading github.com/golang/snappy v0.0.4 go: downloading github.com/cespare/xxhash/v2 v2.1.1 go: downloading golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d go: downloading golang.org/x/sys v0.0.0-20210817142637-7d9622a276b7 go: downloading golang.org/x/text v0.3.6 go: downloading github.com/matttproud/golang_protobuf_extensions v1.0.1 # github.com/chrislusf/seaweedfs/weed/storage/needle_map [github.com/chrislusf/seaweedfs/weed/storage/needle_map.test] go1: internal compiler error: in return_statement, at go/go-gcc.cc:2318 0x16a3ed7 internal_error(char const*, ...) ???:0 0x727013 fancy_abort(char const*, int, char const*) ???:0 0x7f4369 Return_statement::do_get_backend(Translate_context*) ???:0 0x7a5033 Block::get_backend(Translate_context*) ???:0 0x7e26cc Block_statement::do_get_backend(Translate_context*) ???:0 0x7a5033 Block::get_backend(Translate_context*) ???:0 0x7a5c33 Function::build(Gogo*, Named_object*) ???:0 0x7af247 Gogo::write_globals() ???:0 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions. note: module requires Go 1.17 FAIL github.com/chrislusf/seaweedfs/weed/storage/needle_map [build faile= d]=