Skip to content
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

x/sys/unix: fails to build with Go 1.3 -- missing file textflag.h #9211

Closed
gopherbot opened this issue Dec 5, 2014 · 2 comments
Closed

x/sys/unix: fails to build with Go 1.3 -- missing file textflag.h #9211

gopherbot opened this issue Dec 5, 2014 · 2 comments

Comments

@gopherbot
Copy link

by ryan@yhathq.com:

I am using two builds of go and I get the same result:

go version go1.3.3 darwin/amd64
go version go1.3.3 linux/amd64

I am trying to use the golang.org/x/sys/unix library. Building it results in the
following error:

$ go get golang.org/x/sys/unix
# golang.org/x/sys/unix
go/src/golang.org/x/sys/unix/asm.s:6 6a: No such file or directory: textflag.h
@ianlancetaylor
Copy link
Contributor

Comment 1:

At the moment it looks like the sys repository can only be built with Go 1.4 (not yet
released).  We could make it buildable with older releases by dropping the #include
"textflag.h" and using the numeric constants instead.  However, I don't know that this
is any sort of priority.

Labels changed: added repo-sys, release-none.

@bradfitz bradfitz removed the new label Dec 18, 2014
@mikioh mikioh changed the title sys/unix: fails to build with Go 1.3 -- missing file textflag.h unix: fails to build with Go 1.3 -- missing file textflag.h Jan 4, 2015
@rsc rsc added this to the Unplanned milestone Apr 10, 2015
@rsc rsc removed the release-none label Apr 10, 2015
@rsc rsc changed the title unix: fails to build with Go 1.3 -- missing file textflag.h x/sys/unix: fails to build with Go 1.3 -- missing file textflag.h Apr 14, 2015
@rsc rsc modified the milestones: Unreleased, Unplanned Apr 14, 2015
@rsc rsc removed the repo-sys label Apr 14, 2015
@tklauser
Copy link
Member

This issue concerns Go 1.3 which is no longer supported and was released almost 3.5 years ago. x/sys/unix builds fine with all currently supported Go versions, thus closing.

@golang golang locked and limited conversation to collaborators Nov 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants