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

runtime/cgo: cgo is broken on freebsd/arm #7331

Closed
davecheney opened this issue Feb 14, 2014 · 9 comments
Closed

runtime/cgo: cgo is broken on freebsd/arm #7331

davecheney opened this issue Feb 14, 2014 · 9 comments
Milestone

Comments

@davecheney
Copy link
Contributor

What steps will reproduce the problem?

The freebsd/arm build breaks at the point go_bootstrap calls to $GOROOT/bin/go.

This appears to be a cgo issue as a build with CGO_ENABLED=0 passes well into the test
phase of run.bash.

What is the expected output? What do you see instead?

# Testing packages.
run.bash: line 48: 21684 Segmentation fault      go test std -short -timeout=$(expr 120
\* $timeout_scale)s
Build complete, duration 19m32.740155s. Result: error: exit status 139

Please use labels and text to provide additional information.

http://build.golang.org/log/c90283ecc73417f5ec41a095193e9af59c2cc587
@davecheney
Copy link
Contributor Author

Comment 1:

This issue was updated by revision a50c5fe.

cgo is currently broken on freebsd/arm.
LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/63900043

@rsc
Copy link
Contributor

rsc commented Apr 3, 2014

Comment 2:

FreeBSD/arm is listed as one of the supported platforms on
http://golang.org/doc/install. This seems like a showstopper.

Labels changed: added release-go1.3, removed release-go1.3maybe.

@minux
Copy link
Member

minux commented Apr 16, 2014

Comment 3:

I finally got a new quad core Cortex-A9 board (with 2GB ram, this is more important than
CPU...) and just finished building and installing FreeBSD/current on it. so finally I
have've
had a much more stable platform than RPi to try to get cgo working again on FreeBSD/ARM.
Hopefully not too late.
(I ordered the board 1.5 months ago and it arrived yesterday....)

@minux
Copy link
Member

minux commented Apr 17, 2014

Comment 4:

please take a look at CL 89150043.
right now, testso fails to link, but cgo/test passes.
i'd also appreciate if any rpi users could try CL 89120044 (independent of the cgo CL)
with newer kernels. perhaps we can finally use VFP on freebsd/arm.

Owner changed to @minux.

@minux
Copy link
Member

minux commented Apr 18, 2014

Comment 5:

Status changed to Started.

@gopherbot
Copy link

Comment 6:

CL https://golang.org/cl/89520043 mentions this issue.

@gopherbot
Copy link

Comment 7:

CL https://golang.org/cl/89150043 mentions this issue.

@minux
Copy link
Member

minux commented Apr 21, 2014

Comment 8:

This issue was updated by revision d31d197.

LGTM=dave, iant
R=golang-codereviews, dave, gobot, iant
CC=golang-codereviews
https://golang.org/cl/89520043

@minux
Copy link
Member

minux commented Apr 21, 2014

Comment 9:

This issue was closed by revision 1bb4f37.

Status changed to Fixed.

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@rsc rsc removed the release-go1.3 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
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

4 participants