On Mon, Jul 11, 2016 at 6:04 AM, Peter Waller <pe...@pdftables.com> wrote: > > I'm guessing the answer to this one is "use glibc", but I can't find any > existing commentary on this in within the go ecosystem and thought it was > worth a quick shot in case there is a fix. I'm aware that tsan and glibc are > fairly well intermingled, so probably requires a lot of work possibly on > both musl and go's part. > > Just in case there is a quick fix though, here's a minimal reproduce using > docker. I'd be interested in seeing this one work some day.
The race detector requires some C++ code, and for convenience building Go that code is supplied as an object file. To build with a different C library you need to either disable the race detector, or rebuild the object file with the libc you want to use. To rebuild the object file, see src/runtime/race/README. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.