Closed manuel-rubio closed 3 months ago
27 and master are not affected.
@manuel-rubio : Are you sure about 26.0 working? For me it crashes in the same way as all the other 26.*.
@frej Yes, in my installed OTP 26 it's working, I'm using 26.0.2.
@frej Yes, in my installed OTP 26 it's working, I'm using 26.0.2.
That's strange, I must be doing something wrong when building from the Git tag. I'll double check at work tomorrow. But anyway, I'm pretty sure on what causes the crash and hope to have a fix ready tomorrow. If you compile your module with erlc +no_ssa_opt_private_append ephp_parser.erl
you'll bypass the compiler pass which crashes and only miss out a binary optimization that was introduced in 26.0.
There is a fix in #8633, thanks for the easy to use reproducing example.
Thanks for the fix, @frej
Describe the bug I'm trying to compile my project (https://github.com/bragful/ephp) using OTP 26.2.5.1 and looks like it's experiencing an issue, first, I compiled and found the error about +0.00 but solving that, it's failing again with this error message:
To Reproduce Check using these commands:
It should drop this error:
Expected behavior Compile ok.
Affected versions I tested with 26.1 and 26.2.5.1, I've also tested 26.0 and it's working fine.
Additional context None.