1
0
mirror of https://github.com/golang/go synced 2024-09-30 03:34:51 -06:00
go/misc
Russ Cox b28f2f7399 cmd/link: make mach-o dwarf segment properly aligned
Without this, the load fails during kernel exec, which results in the
mysterious and completely uninformative "Killed: 9" error.

It appears that the stars (or at least the inputs) were properly aligned
with earlier versions of Xcode so that this happened accidentally.
Make it happen on purpose.

Gregory Man bisected the breakage to this change in LLVM,
which fits the theory nicely:
https://github.com/llvm-mirror/llvm/commit/9a41e59c

Fixes #19734.

Change-Id: Ice67a09af2de29d3c0d5e3fcde6a769580897c95
Reviewed-on: https://go-review.googlesource.com/38854
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-03-30 12:29:18 +00:00
..
android
arm
cgo cmd/link: make mach-o dwarf segment properly aligned 2017-03-30 12:29:18 +00:00
chrome/gophertool
git
ios misc/ios,cmd/go, runtime/cgo: fix iOS test harness (again) 2017-03-04 01:43:13 +00:00
linkcheck
nacl cmd/pprof: vendor pprof from github.com/google/pprof 2017-02-24 19:18:53 +00:00
sortac
swig
trace
benchcmp
editors