Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: dylib built as buildmode=c-shared causes 'overlapping segments' after codesign by Xcode on OS X #12700
referenced this issue
Oct 15, 2015
just a guess, the -o dy.dylib looks suspicious, as I expect a .so as output.
@qix, the shared library build modes are a "still being implemented" feature (especially on OSX) -- only some of the new buildmodes that Ian defined in the spec are implemented, and support across platforms is still quite limited.
You can help by playing with the feature and reporting rough edges in your specific cases.
Is this still an issue? Using go 1.6.1 under 10.11.4, I'm able to produce a