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

Build hangs on large crypto code #2240

Closed
adlerjohn opened this issue Jul 6, 2022 · 2 comments · Fixed by #2252
Closed

Build hangs on large crypto code #2240

adlerjohn opened this issue Jul 6, 2022 · 2 comments · Fixed by #2252
Assignees
Labels
bug Something isn't working compiler General compiler. Should eventually become more specific as the issue is triaged P: critical Should be looked at before anything else

Comments

@adlerjohn
Copy link
Contributor

https://github.com/hashcloak/fuel-crypto/tree/da305181a77f3c6898571c7632b4cae3c2345c4a/edwards25519

forc build hangs with v0.17.0.

@adlerjohn adlerjohn added bug Something isn't working compiler General compiler. Should eventually become more specific as the issue is triaged labels Jul 6, 2022
@adlerjohn adlerjohn moved this to Todo in Fuel Network Jul 6, 2022
@adlerjohn adlerjohn added the P: critical Should be looked at before anything else label Jul 6, 2022
@mohammadfawaz mohammadfawaz self-assigned this Jul 6, 2022
@mohammadfawaz
Copy link
Contributor

mohammadfawaz commented Jul 6, 2022

This is another instance of a bug in codegen that is very similar to #1541. Will have a PR ready asap. It's unfortunate that the symptom of these problems always show up in the register allocator... We need a better way to detect these before the allocator starts. I have a code snippets that does that and maybe I should just check it in.

@mohammadfawaz
Copy link
Contributor

Fixed in #2252

Repository owner moved this from Todo to Done in Fuel Network Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler General compiler. Should eventually become more specific as the issue is triaged P: critical Should be looked at before anything else
Projects
Archived in project
2 participants