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

Compiles llgo compiler with go 1.23, run failed #942

Open
cpunion opened this issue Jan 9, 2025 · 0 comments
Open

Compiles llgo compiler with go 1.23, run failed #942

cpunion opened this issue Jan 9, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@cpunion
Copy link
Contributor

cpunion commented Jan 9, 2025

Record a leftover issue of #929 is that the llgo compiler compiled using Go 1.23 (Go 1.23 in go.mod) can't run some code, compiled with Go 1.22 works fine. Seems it generated a closure stub to a closure, maybe other reason.

See https://github.com/goplus/llgo/actions/runs/12686502148/job/35358966252

/home/runner/.cache/go-build/1d/1d4366fa42935d80b99e521a685c67cc0f8093ab057afd3394ea88c9d96959cb-d.ll:12906:21: error: use of undefined value '%71'
 12906 |   %3 = tail call i1 %71(ptr %1, ptr %2)
       |                     ^
1 error generated.

But lost complete generated code.

@xushiwei xushiwei added the bug Something isn't working label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants