I've disable dead code stripping and still the same result.
I've added -Sh to the "other linker flags" but I don't much difference.
However I tried to look at hedgewars xcode project settings, copied some stuff and now reduce from 24 linking errors to 10.
How to inspect the object files manually?