You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
Hardware: Raspberry Pi 4
Operating System: Raspbian GNU/Linux 11 (bullseye)
Kernel: Linux 6.1.21-v8+
Architecture: arm64
Resulting Log:
asdf install erlang 27.0.1
Downloading kerl...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 82830 100 82830 0 0 631k 0 --:--:-- --:--:-- --:--:-- 627k
ERROR: 'asdf_27.0.1' is not a kerl-managed Erlang/OTP installation.
Build 'asdf_27.0.1' has been deleted.
Extracting source code for normal build...
Building (normal) Erlang/OTP 27.0.1 (asdf_27.0.1); please wait...
Initializing (build) log file at /home/pi/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_build_27.0.1.log.
automake: error: 'configure.ac' is required
autoconf: error: no input file
APPLICATIONS DISABLED (See: /home/pi/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_build_27.0.1.log)
* jinterface : No Java compiler found
APPLICATIONS INFORMATION (See: /home/pi/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_build_27.0.1.log)
* wx : wxWidgets was not compiled with --enable-webview or wxWebView developer package is not installed, wxWebView will NOT be available
* erts :
* WARNING:
* Note that this runtime system will *not* be year
historERROR: build failed.
=== Leaving application snmp
gmake[2]: Leaving directory '/home/pi/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_src_27.0.1/lib/snmp'
gmake[1]: Leaving directory '/home/pi/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_src_27.0.1/lib'
MAKE erts
gmake[1]: Entering directory '/home/pi/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_src_27.0.1/erts/preloaded/src'
ERLC prim_eval.abstr
Segmentation fault
gmake[1]: *** [Makefile:128: prim_eval.abstr] Error 139
gmake[1]: Leaving directory '/home/pi/.asdf/plugins/erlang/kerl-home/builds/asdf_27.0.1/otp_src_27.0.1/erts/preloaded/src'
gmake: *** [Makefile:492: erts] Error 2
The text was updated successfully, but these errors were encountered:
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?
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:
The text was updated successfully, but these errors were encountered: