[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

Ian Lance Taylor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #7 from Ian Lance Taylor  ---
Thanks.  I committed a patch that should avoid this problem--a mismatch between
the installed libgo and the in-tree libgo--in the future.

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

--- Comment #6 from ian at gcc dot gnu.org  ---
Author: ian
Date: Thu May 18 22:44:12 2017
New Revision: 248255

URL: https://gcc.gnu.org/viewcvs?rev=248255=gcc=rev
Log:
PR go/80814
* Makefile.am (AM_GOCFLAGS): Define.
* Makefile.in: Rebuild.

Modified:
trunk/gotools/ChangeLog
trunk/gotools/Makefile.am
trunk/gotools/Makefile.in

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread me at hussam dot eu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

--- Comment #5 from Hussam Al-Tayeb  ---
(In reply to Ian Lance Taylor from comment #3)

> Have you run `make install` to install an earlier version of the build? 
> Perhaps the compilation command is incorrectly looking at the installed .gox
> files before looking at the newly built ones.

It looks like this may have been the case. Removing the gcc-go subpackage and
recompiling without reverting that commit makes a full build successful.
The installing all of gcc including gcc-go and recompiling from scratch also
completes successfully.

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread me at hussam dot eu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

--- Comment #4 from Hussam Al-Tayeb  ---
(In reply to Ian Lance Taylor from comment #3)
> I can't recreate the problem.  It looks like the compilation step in the
> failing command is reading old versions of the .gox files, versions that use
> the old pkgpath rather than the new one introduced by the commit.  But if
> you are using a from-scratch build, I don't see where the old pkgpath could
> be coming from.
I will try again. My build script should be rm -rf ing the build directory,
recreating it, etc...
Perhaps something went wrong this time.
> Have you run `make install` to install an earlier version of the build? 
> Perhaps the compilation command is incorrectly looking at the installed .gox
> files before looking at the newly built ones.
Yes, I have a previous revision installed.

Anyway, I will try again and let you know.
Thank you.

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

--- Comment #3 from Ian Lance Taylor  ---
I can't recreate the problem.  It looks like the compilation step in the
failing command is reading old versions of the .gox files, versions that use
the old pkgpath rather than the new one introduced by the commit.  But if you
are using a from-scratch build, I don't see where the old pkgpath could be
coming from.

Have you run `make install` to install an earlier version of the build? 
Perhaps the compilation command is incorrectly looking at the installed .gox
files before looking at the newly built ones.

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread me at hussam dot eu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

--- Comment #2 from Hussam Al-Tayeb  ---
(In reply to Ian Lance Taylor from comment #1)
> Are you doing a from-scratch build or an incremental build?  Try removing
> the x86_64-pc-linux-gnu/libgo directory to force it to be rebuilt.

I was doing a from-scratch build. It avoids accidental issues.

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

--- Comment #1 from Ian Lance Taylor  ---
Are you doing a from-scratch build or an incremental build?  Try removing the
x86_64-pc-linux-gnu/libgo directory to force it to be rebuilt.

[Bug go/80814] [7 Regression] commit aa443150c83535fedccb3dee80daa7e01fafd92d causes a build error.

2017-05-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80814

Richard Biener  changed:

   What|Removed |Added

 Target||x86_64-linux
   Priority|P3  |P1
  Known to work||7.1.0
Version|unknown |7.1.1
   Target Milestone|--- |7.2
Summary|commit  |[7 Regression] commit
   |aa443150c83535fedccb3dee80d |aa443150c83535fedccb3dee80d
   |aa7e01fafd92d causes a  |aa7e01fafd92d causes a
   |build error.|build error.