New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/compile: fatal error: textflag.h: No such file or directory #40855
Comments
Im not sure bootstrapping gc go with gccgo is supported. Bootstrapping gc go with newer versions of gc go is supported (up from go 1.4). At least if it is supported (or will be) we should have a builder or tests for this as I dont think those are setup currently. /cc @ianlancetaylor |
You have documentation claiming it is supported: https://golang.org/doc/install/source#bootstrapFromGccgo It's worked for every release of go so far, sans go 1.12 as linked in #30771 which was fixed for the 1.13 release (we backported the patch internally). |
Thanks for pointing that out. I open another ticket to investigate addition of build testers to make sure this is checked and not getting accidentially broken. |
Change https://golang.org/cl/249018 mentions this issue: |
Does the CL above fix this? Thanks. |
Yes, that CL does resolve the issue. Thanks. |
Any chance this will be backported to 1.15? We can carry the patch internally until 1.16 is released, but that's not ideal. Thanks for the quick turnaround! |
@spackard The project policy on backporting is:
(from https://github.com/golang/go/wiki/MinorReleases). In this case, your best bet is the "serious problems with no workaround" option. It may help with the backporting decision if you could explain why the issue at hand has no feasible workaround. If I have understood #30771 correctly, we have a precedent (and we didn't backport, in that case). |
What version of Go are you using (
go version
)?Compiling 1.15 release source code using GCC 9.3 gccgo
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?linux amd64
What did you do?
Attempting to build the 1.15 release using GCC 9.3 gccgo fails with:
What did you expect to see?
Successful build
What did you see instead?
Failed build
Per #30771 (comment), we want to avoid having to drag along older versions of gc just to bootstrap the latest release tarball.
The text was updated successfully, but these errors were encountered: