public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* how to debug go build errors
@ 2018-02-08 23:24 Martin Sebor
  2018-02-09  0:39 ` Ian Lance Taylor
  2018-02-09  0:41 ` Martin Sebor
  0 siblings, 2 replies; 4+ messages in thread
From: Martin Sebor @ 2018-02-08 23:24 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: GCC Mailing List

Hi Ian,

While testing what should be an innocuous patch to add LTO
to a bunch of middle-end warning options

   https://gcc.gnu.org/ml/gcc-patches/2018-02/msg00381.html

I get Go errors during ordinary bootstrap about undefined names
for errno constants:

/opt/notnfs/msebor/src/gcc/84212/libgo/go/syscall/env_unix.go:96:10: 
error: reference to undefined name ‘EINVAL’

Bootstrapping all other front ends (including Ada and Brig),
succeeds and there are no regressions in the test suite.

I have no experience with Go.  Does anything about the patch
jump out at you that could be causing this?  If not, can you
suggest how to debug it?

Thanks
Martin

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-02-09  0:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-08 23:24 how to debug go build errors Martin Sebor
2018-02-09  0:39 ` Ian Lance Taylor
2018-02-09  0:50   ` Martin Sebor
2018-02-09  0:41 ` Martin Sebor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).