Hey folks,
I'm trying to build a project with Bazel on with buildmode=c-archive, and I'm running into the following issue on ios_arm and Go 1.11 only:
sync.(*Map).Load: relocation target sync/atomic.(*Value).Load not defined
sync.(*Map).Store: relocation target sync/atomic.(*Value).Load not defined
sync.(*Map).LoadOrStore: relocation target sync/atomic.(*Value).Load not defined
sync.(*Map).dirtyLocked: relocation target sync/atomic.(*Value).Load not defined
internal/testlog.Logger: relocation target sync/atomic.(*Value).Load not defined
Go 1.10 works fine.
Now I know this is probably something that rules_go is doing wrong, because gomobile is working as expected.
That said, I am not sure where to look on how to pinpoint the issue, so I would gladly appreciate pointers.
There was a similar problem with ios_386 which was solved by not building the stdlib with -shared.
Thanks!