-
Notifications
You must be signed in to change notification settings - Fork 79
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
GOFLAGS="-buildmode=pie" leads to segfaulting executable on 386 #278
Comments
If I enable the |
However, with cgo enabled, the resulting executable is not a pie executable:
And the build emits these warnings:
|
When tried adding |
Also see golang/go#47949. |
This issue was originally reported in https://bugs.gentoo.org/917577, and I was able to reproduce it in the 386 version of the debian:unstable-20231030 docker image, like this:
The make command exits "successfully" after emitting a message like this:
The resulting executable segfaults regardless of arguments:
The text was updated successfully, but these errors were encountered: