Hi, This fixes http://code.google.com/p/go/issues/detail?id=1559 (cgo: static variables are not initialised correctly on darwin/amd64). I stumbled ...
14 years, 6 months ago (2011-04-03 19:31:59 UTC) #1
Hi, This fixes http://code.google.com/p/go/issues/detail?id=1559 (cgo: static variables are not initialised correctly on darwin/amd64). I stumbled on this while trying to fix http://code.google.com/p/go/issues/detail?id=1429 (cgo - crashy statically linked SQLite on Darwin). Some global pointers were not initialized to NULL because there were living in data instead of bss. I'm not sure it's a kosher fix, but it allowed me to get further in my investigation of the other issue. :)
Issue 4356046: ld: Include bss section of GCC-built Mach-O objects in ... Created 14 years, 6 months ago by mkrautz Modified 14 years, 6 months ago Reviewers: Base URL: Comments: 0