When I build go from tip on OS X 10.9.4 (gcc -v says Apple LLVM version 5.1), I get this:
[...]
ok unicode/utf16 0.026s
ok unicode/utf8 0.053s
? unsafe [no test files]
real 1m59.972s
user 1m47.287s
sys 0m28.983s
# GOMAXPROCS=2 runtime -cpu=1,2,4
ok runtime 32.315s
# sync -cpu=10
ok sync 0.083s
# Testing race detector.
ok runtime/race 4.452s
ok flag 1.421s
# ../misc/cgo/stdio
# ../misc/cgo/life
# ../misc/cgo/test
# _/Users/fn/go/misc/cgo/test
./cthread_unix.c:17:3: error: implicit declaration of function 'Add' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
FAIL _/Users/fn/go/misc/cgo/test [build failed]
$
I'm not sure what causes this, and stuff I compile seems to work fine. I searched for the above error in the list archives but didn't find anything.
Faried.