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

syscall: avoiding _getdirentries64 on darwin broke 386 build #31262

Closed
bradfitz opened this issue Apr 4, 2019 · 1 comment
Closed

syscall: avoiding _getdirentries64 on darwin broke 386 build #31262

bradfitz opened this issue Apr 4, 2019 · 1 comment
Assignees

Comments

@bradfitz
Copy link
Contributor

@bradfitz bradfitz commented Apr 4, 2019

@randall77, darwin/386 is broken.

It's a silly port (and not long for the macOS world), but Russ likes to keep it around for now for being able to hack on 386 stuff on Mac laptops.

https://build.golang.org/log/9942f145ea079bf006f9762a569684fc28eb2980

darwin-386-10_11 at 9da6530faab0a58c4c4e02b2f3f4a5c754dcbd4e

:: Running /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/make.bash with args ["/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src/make.bash"] and env ["TERM_PROGRAM=Apple_Terminal" "TERM=xterm-256color" "SHELL=/bin/bash" "TMPDIR=/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/" "Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.hJtBX3QjrS/Render" "TERM_PROGRAM_VERSION=361.1" "TERM_SESSION_ID=EEF4530A-03E6-4062-A879-117B5A3DE6A0" "USER=gopher" "SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.9ygRbm4U9F/Listeners" "__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0" "PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" "PWD=/Users/gopher" "LANG=en_US.UTF-8" "XPC_FLAGS=0x0" "XPC_SERVICE_NAME=0" "SHLVL=2" "HOME=/Users/gopher" "LOGNAME=gopher" "SECURITYSESSIONID=186a7" "GO_BUILDER_ENV=macstadium_vm" "GO_STAGE0_NET_DELAY=300ms" "GO_STAGE0_DL_DELAY=400ms" "WORKDIR=/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir" "GOROOT_BOOTSTRAP=/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go1.4" "GO_BUILDER_NAME=darwin-386-10_11" "GOROOT_BOOTSTRAP=/Users/gopher/go1.4" "GOARCH=386" "GOHOSTARCH=386" "GOBIN=" "TMPDIR=/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/tmp" "GOCACHE=/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/gocache"] in dir /var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/src

Building Go cmd/dist using /Users/gopher/go1.4.
Building Go toolchain1 using /Users/gopher/go1.4.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
dyld: Symbol not found: _fdopendir$INODE64
  Referenced from: /private/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/pkg/tool/darwin_386/go_bootstrap
  Expected in: flat namespace

go tool dist: FAILED: /private/var/folders/dx/k53rs1s93538b4x20g46cj_w0000gn/T/workdir/go/pkg/tool/darwin_386/go_bootstrap install -gcflags=all= -ldflags=all= -i cmd/asm cmd/cgo cmd/compile cmd/link: signal: trace/BPT trap
@bradfitz bradfitz added the NeedsFix label Apr 4, 2019
@bradfitz bradfitz changed the title syscall: avoiding _getdirentries64 on darwin broke 387 build syscall: avoiding _getdirentries64 on darwin broke 386 build Apr 4, 2019
@gopherbot
Copy link

@gopherbot gopherbot commented Apr 4, 2019

Change https://golang.org/cl/170837 mentions this issue: syscall: don't use INODE64 for fdopendir on darwin/386

@gopherbot gopherbot closed this in a8e83d2 Apr 4, 2019
@golang golang locked and limited conversation to collaborators Apr 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.