Skip to content
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

go 1.24 build failed: "link: github.com/bytedance/sonic/loader: invalid reference to runtime.lastmoduledatap" #738

Open
AsterDY opened this issue Feb 12, 2025 · 3 comments

Comments

@AsterDY
Copy link
Collaborator

AsterDY commented Feb 12, 2025

It seems Go teams removes the //go:linkname on runtime.lastmoduledatap.

@softkot
Copy link

softkot commented Feb 13, 2025

Any workaround on 1.24 branch?

@gnuletik
Copy link

See #741

@liuq19
Copy link
Collaborator

liuq19 commented Feb 21, 2025

Any workaround on 1.24 branch?

maybe you can try the branch feat/go1.24 and add compile flags -ldflags=-checklinkname=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants