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
Closed

net: compilation failure using clang on armv5 #9023

davecheney opened this issue Oct 30, 2014 · 5 comments

Comments

@davecheney
Copy link
Contributor

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
Copy link
Contributor

rsc commented Nov 19, 2014

Comment 1:

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

@bradfitz
Copy link
Contributor

bradfitz 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
Copy link
Contributor Author

@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
Copy link
Contributor Author

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
Copy link
Contributor

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.
Projects
None yet
Development

No branches or pull requests

5 participants