-
Notifications
You must be signed in to change notification settings - Fork 279
osx: compilation fails with linker error #30
Comments
This is very strange because it works flawlessly on my machine...
|
Could you please run it via |
Maybe try logging into the cross compiler container and check the environment and ld being used?
where |
Looks like you built https://github.com/cockroachdb/c-rocksdb rather than https://github.com/cockroachdb/cockroach? Indeed, c-rocksdb does compile successfully and without the |
Ah indeed, didn't notice the repo change. Will look into it. |
If fails with a compiler error on my side:
|
Did you |
Played around with it some more, but it seems it's an osxcross/golang combo issue. osxcross doesn't support generating debugging symbols, so the workaround is |
Some updates: |
I'll try and piece together a developer version og xgo that will pull the latest Go tip and assemble the images based off that, though I'm at a dev conference this week with extremely poor internet access (i.e. git clone is already an issue), so I will probably only get around to this next week. However thanks lot for looking into this. |
Let me just make sure I didn't break anything and I'll push a final version dropping the |
I've pushed the darwin symbolic table fixes into xgo. Docker Hub just started to crunch through the thing. You should be able to try it out in 1-2 hours (given that docker hub doesn't choke on the build, sometimes it happens to it). |
Works for me. Thanks for all your help on this issue! |
Another one from cockroachdb:
FWIW, we do all our development on OS X, so it does work natively (i.e. not via
xgo
).The text was updated successfully, but these errors were encountered: