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: Getdirentries not found on darwin arm with Go 1.11 #36300

Closed
oxtoacart opened this issue Dec 28, 2019 · 3 comments
Closed

x/sys/unix: Getdirentries not found on darwin arm with Go 1.11 #36300

oxtoacart opened this issue Dec 28, 2019 · 3 comments

Comments

@oxtoacart
Copy link
Contributor

What version of Go are you using (go version)?

$ go version
go version go1.11.13 darwin/amd64

Does this issue reproduce with the latest release?

No

What operating system and processor architecture are you using (go env)?

go env Output
I'm using gomobile targeting darwin on arm

What did you do?

Compile a program that calls Getdirentries for darwin arm (32 bit) with Go 1.11

What did you expect to see?

Successful compilation

What did you see instead?

readdirent_getdirentries.go:18:9: undefined: Getdirentries

I think this was broken by the fix for #34400

@gopherbot gopherbot added this to the Unreleased milestone Dec 28, 2019
@randall77
Copy link
Contributor

@tklauser

@gopherbot
Copy link

Change https://golang.org/cl/212459 mentions this issue: unix: correct build tag to define Getdirentries for darwin/arm with Go 1.11

@oxtoacart
Copy link
Contributor Author

@tklauser That fix LGTM.

@golang golang locked and limited conversation to collaborators Dec 27, 2020
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

3 participants