-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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/internal/objabi, cmd/link: direct calls not correctly identified on riscv64 [1.21 backport] #63167
Comments
Hi @4a6f656c the deadline for the next set of minor releases is approaching; let me know if you think you will be able to create cherry-picks for 1.21.2 or whether we'll need to punt this backport to 1.21.3, thanks. Last day for 1.21.2 cherry-picks is tomorrow. Thanks. |
Personally I feel CL https://go.dev/cl/520095 is pretty complex for a backport. Could we find a simpler workaround? |
@thanm apologies for not seeing this earlier. I agree with @cherrymui that this is a fairly complex backport - given that the probability of hitting this is very low and that there is a known/documented workaround, I question if a backport is even justified. If a backport is still considered necessary, I can see what simpler option I can come up with, however that may take a week or so. One option would be to disable the map init deadcode handling on riscv64, which would avoid the first/only known case that triggers the linker bug (i.e. hard code the workaround). |
Turning off map init deadcode for riscv64 seems like it would be a decent option, I am ok with that. |
The next minor release will be early November (there will be one this week, but that is already cut). So timing shouldn't be a problem. Disabling map init deadcode for riscv64 seems reasonable. Or if adding a relocation type to IsDirectCall (or even specifically in map init deadcode code) works without other issues, we could do that. Thanks. |
Ping? Do we still want to backport this to 1.21? |
The minor release is coming up once again. Any updates here? Thanks. |
The next minor release freeze is approaching. Any updates? |
Another ping on this issue. If we're not going to create a cherry-pick CL for it we should probably remove the Approved label so that we don't have to keep revisiting it in our meetings. Thanks. |
Another ping on this issue. Any updates? |
Based on lack of movement and new info moving back into Cherrypick candidate state. |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
@ianlancetaylor requested issue #62465 to be considered for backport to the next 1.21 minor release.
The text was updated successfully, but these errors were encountered: