From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 123315 invoked by alias); 22 Oct 2015 09:45:16 -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 123260 invoked by uid 48); 22 Oct 2015 09:45:11 -0000 From: "vogt at linux dot vnet.ibm.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/67968] go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:1812 Date: Thu, 22 Oct 2015 09:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: vogt at linux dot vnet.ibm.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: Message-ID: In-Reply-To: References: 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/msg01825.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67968 --- Comment #3 from Dominik Vogt --- To narrow down where the problem happens please try this: 1. Edit the first line of the file build/env.sh and append "-a": #!/bin/sh -a 2. Locate the gccgo executable (whould be in the path GOBIN that is set in the Makefile) and rename it: $ mv gccgo gccgo.bin 3. Place this small script with the name "gccgo" into the directory with gccgo.bin and make it executable: #!/bin/sh exec "$GOBIN"/gccgo.bin -v $@ $ chmod 755 gccgo Finally the GOBIN directory should look like this: $ ls -l gccgo* -rwxr-xr-x 1 ... 40 ... gccgo -rwxr-xr-x 2 ... 13M ... gccgo.bin 4. Built ethereum als usual. Gccgo now prints all commands it executes, and hopefully the failing command last. Please attach this output to the bug report. Also, please make a tar archive of only the source files listed in the failing "go1" command line, compress it with "bzip2 -9" or 7zip and send it to me via email.