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: crash on freebsd/386 #23763
Comments
You deleted the bug template so I have to ask some basic questions, like: which version of Go? Which version of nomad? (which version is your ports at) Which version of FreeBSD? |
Sorry:
|
Does nomad compile successfully outside the ports system? Can you install it with the usual go get / go install dance (or however nether nomad docs instruct you to build it)
… On 10 Feb 2018, at 09:09, ***@***.*** ***@***.***> wrote:
No error message:
/usr/local/go/pkg/tool/freebsd_386/compile -o $WORK/github.com/hashicorp/nomad/nomad/deploymentwatcher.a -trimpath $WORK -goversion go1.9.3 -p github.com/hashicorp/nomad/nomad/deploymentwatcher -complete -buildid d3001a508b685a6e0bc1f2ef258eec506bf37805 -importmap github.com/hashicorp/go-memdb=github.com/hashicorp/nomad/vendor/github.com/hashicorp/go-memdb -importmap golang.org/x/time/rate=github.com/hashicorp/nomad/vendor/golang.org/x/time/rate -D _/wrkdirs/usr/ports/sysutils/nomad/work/nomad-0.7.1/src/github.com/hashicorp/nomad/nomad/deploymentwatcher -I $WORK -I /wrkdirs/usr/ports/sysutils/nomad/work/nomad-0.7.1/pkg/freebsd_386 -pack ./batcher.go ./deployment_watcher.go ./deployments_watcher.go
*** Error code 2
The easiest way to reproduce:
Have FreeBSD i386 system
cd /usr/ports/sysutils/nomad
Comment out ONLY_FOR_ARCHS= amd64
make
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I can't try this easily, I run port builds in a i386 virtual machine. |
How notable is i386 in this bug report? Does it pass on amd64 but only fail on i386? |
Yes, amd64 passes and only i386 fails. |
If you can test it easily, what about 32-bit processes on 64-bit kernel? That is, set |
This crashes too. |
I just tried
I think this is because it doesn't support freebsd/386: https://github.com/hashicorp/nomad/blob/master/vendor/github.com/mitchellh/go-ps/process_freebsd.go#L1, it is amd64 only. I think the original error, |
These messages:
are missing the usual "error:" label so that they can't be easily detected. |
No error message:
The easiest way to reproduce:
The text was updated successfully, but these errors were encountered: