Closed MehmetCagriK closed 6 days ago
This might be the same underlying problem as in #8652. I can check where I segfault when building 27.0.1, but IIRC, it was the first time make tried to use erlc to compile something during build. If they are the same, this a duplicate of that bug and my fixes will work for both.
Edit 1: Perhaps you could try building 27.0 and see if it has a segfault in the same place as that bug.
Edit 2: Yep. That’s the same spot I segfault on now. So it is the invalid page size of Erlc for the platform causing the problem.
I checked out OTP-27.0.1 and did a build and test on an Aarch64 (something with Neoverse V2 cores) running CentOS Stream release 9. For better or worse, I did not see a SIGSEGV when running erlc
.
@MehmetCagriK are you able to get a stack trace showing where the segmentation fault occurs? How much DRAM does your Raspberry Pi 4 have?
Solved in 27.1 through #8702.
Describe the bug I am trying to use asdf to install Erlang OTP 27.0.1 . At first, it was giving me Year 2038 error. I disabled it via configuration. Installation process ends with segmentation fault when trying to compile prim_eval.abstr . I am having the same error when I try to build from the scratch.
To Reproduce
Expected behavior Erlang 27.0.1 successfully installed
Affected versions 27.0.1 Earlier versions such as 26.0.2 is completely fine.
Additional context My operating system is Raspberry Pi OS Bullseye. Here is my OS and Kernel version
Resulting Log: