https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67968

--- Comment #3 from Dominik Vogt <vogt at linux dot vnet.ibm.com> ---
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.

Reply via email to