]> Cypherpunks.ru repositories - gostls13.git/commit
build: disable static cgo linking test on netbsd
authorRuss Cox <rsc@golang.org>
Tue, 15 Apr 2014 19:52:02 +0000 (15:52 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 15 Apr 2014 19:52:02 +0000 (15:52 -0400)
commit568e3526b1dca0a9086ba8be56c8a1bc1dd2faa3
tree1c43890b171c618b41307c74abf2acb54ea91228
parent6f8b120869d5ee86adb163f317b14b1f1ee6d596
build: disable static cgo linking test on netbsd

We get
/usr/lib/libc.a(stack_protector.o): In function `__stack_chk_fail_local':
stack_protector.c:(.text+0x158): multiple definition of `__stack_chk_fail_local'
/var/tmp/go-link-04838a/000001.o:/tmp/gobuilder/netbsd-386-minux-c7a9e9243878/go/src/pkg/runtime/cgo/gcc_386.S:41: first defined here

I am assuming this has never worked and possibly is not intended to work.
(Some systems are vehemently against static linking.)

TBR=iant
CC=golang-codereviews
https://golang.org/cl/88130046
src/run.bash