[Bug go/91035] [10 Regression] gotools fails to build on s390x-linux-gnu

2019-09-05 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035

Andreas Krebbel  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2019-09-05
 Ever confirmed|0   |1

--- Comment #6 from Andreas Krebbel  ---
Bisect indicates that the problem might be related to that change:

Author: ian
Date: Thu May 30 17:26:46 2019
New Revision: 271784

URL: https://gcc.gnu.org/viewcvs?rev=271784=gcc=rev
Log:
compiler: intrinsify sync/atomic functions

Let the Go frontend recognize sync/atomic functions and turn them
into intrinsics.

Also make sure not to intrinsify calls in go or defer statements.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/178937

Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc
trunk/gcc/go/gofrontend/statements.cc

[Bug go/91035] [10 Regression] gotools fails to build on s390x-linux-gnu

2019-08-15 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035

--- Comment #5 from Ian Lance Taylor  ---
It's hard to see how this could be a bug in the Go frontend.  At first glance
this looks like a problem with the split-stack support on S/390.

[Bug go/91035] [10 Regression] gotools fails to build on s390x-linux-gnu

2019-08-15 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035

--- Comment #4 from Matthias Klose  ---
looks like .L34 should be referenced instead of of .L37.

[Bug go/91035] [10 Regression] gotools fails to build on s390x-linux-gnu

2019-08-15 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035

--- Comment #3 from Matthias Klose  ---
Created attachment 46718
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46718=edit
expvar assembler file

[Bug go/91035] [10 Regression] gotools fails to build on s390x-linux-gnu

2019-08-15 Thread doko at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035

--- Comment #2 from Matthias Klose  ---
confirmed with trunk 20190815

build dir on
https://people.debian.org/~doko/tmp/tst-gotools.tar.xz

.L37 referenced in expvar.o

[Bug go/91035] [10 Regression] gotools fails to build on s390x-linux-gnu

2019-07-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035

Richard Biener  changed:

   What|Removed |Added

   Priority|P3  |P4
   Target Milestone|--- |10.0

[Bug go/91035] [10 Regression] gotools fails to build on s390x-linux-gnu

2019-06-29 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91035

--- Comment #1 from Ian Lance Taylor  ---
As far as I know I don't have access to an S/390 system.  Anything you can do
to narrow down the problem would be helpful.  Like, for example, which function
has the undefined reference?