New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/ld: hostobj fails on openbsd -current/5.3 #5067
Labels
Comments
The Go on OpenBSD developers are going to have to decide what to do here. As I understand it, the problem is that the OpenBSD 5.3 GCC passes -pie by default, and using -nopie turns that off. Unfortunately the OpenBSD 5.2 GCC does not understand -nopie. The object generated by 6l is neither PIC nor PIE and therefore can not be used when linking with -pie. So, trouble all around. One remote possibility would be to modify the linker to support a variant of flag_shared that would produce a PIC object without passing -shared to the external linker. Probably not for 1.2, though. |
This issue was closed by revision 0eaabf6. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: