how to debug go build errors

Martin Sebor
Thu Feb 8 23:24:00 GMT 2018

Hi Ian,

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

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

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?


More information about the Gcc mailing list