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

net: compilation failure using clang on armv5 #9023

Closed
davecheney opened this issue Oct 30, 2014 · 5 comments

Comments

Projects
None yet
5 participants
@davecheney
Copy link
Contributor

commented Oct 30, 2014

What steps will reproduce the problem?


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

% env CC=clang ./make.bash

runtime/cgo
net
# net
net/cgo_linux.go:14:25: type C.int: undefined C type 'int'
net/cgo_linux.go:21:9: unable to find value of constant C.AI_CANONNAME
net/cgo_linux.go:21:26: unable to find value of constant C.AI_V4MAPPED
net/cgo_linux.go:21:42: unable to find value of constant C.AI_ALL

Please use labels and text to provide additional information.

dfc@qnap:~/go/src$ uname -a
Linux qnap 3.14-2-kirkwood #1 Debian 3.14.15-2 (2014-08-09) armv5tel GNU/Linux
dfc@qnap:~/go/src$ clang -v
Debian clang version 3.5.0-6 (tags/RELEASE_350/final) (based on LLVM 3.5.0)
Target: arm-unknown-linux-gnueabi
Thread model: posix
Found candidate GCC installation: /usr/bin/../lib/gcc/arm-linux-gnueabi/4.9
Found candidate GCC installation: /usr/bin/../lib/gcc/arm-linux-gnueabi/4.9.1
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabi/4.9
Found candidate GCC installation: /usr/lib/gcc/arm-linux-gnueabi/4.9.1
Selected GCC installation: /usr/bin/../lib/gcc/arm-linux-gnueabi/4.9
Candidate multilib: .;@m32
Selected multilib: .;@m32
@rsc

This comment has been minimized.

Copy link
Contributor

commented Nov 19, 2014

Comment 1:

Labels changed: added release-go1.5, removed release-go1.4maybe.

@davecheney davecheney added new labels Nov 19, 2014

@bradfitz bradfitz modified the milestone: Go1.5 Dec 16, 2014

@rsc rsc removed arch-x86-32 labels Apr 10, 2015

@bradfitz

This comment has been minimized.

Copy link
Member

commented Jul 1, 2015

@davecheney, I assume this is still happening? I guess this is yet another builder configuration we're lacking. (but this feels like it's in the long tail of configs... no?)

@davecheney

This comment has been minimized.

Copy link
Contributor Author

commented Jul 3, 2015

@bradfitz, i've dug out my arm5 builder. I'm going to test this now.

On Thu, Jul 2, 2015 at 8:48 AM, Brad Fitzpatrick notifications@github.com
wrote:

@davecheney https://github.com/davecheney, I assume this is still
happening? I guess this is yet another builder configuration we're lacking.
(but this feels like it's in the long tail of configs... no?)


Reply to this email directly or view it on GitHub
#9023 (comment).

@davecheney davecheney removed this from the Go1.5 milestone Jul 4, 2015

@davecheney

This comment has been minimized.

Copy link
Contributor Author

commented Jul 4, 2015

My arm5 builder is in such a poor shape it cannot run programs reliably any more. I've removed the 1.5 milestone as there is no way to confirm this issue any more.

@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Jul 11, 2015

I bet this is the same as #8980 . Closing, but reopen if it can be reproduced.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.