[Bug 237960] lang/erlang: Does not build on arm with the NATIVE option enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Oct 2021 22:13:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237960 --- Comment #18 from Bertrand Petit <bsdpr@phoe.frmug.org> --- (In reply to Dave Cottlehuber from comment #17) I get mixed results. I attempted to build erlang-runtime{22|23|24} on a 12.2 armv7 host (RPi2B) with clang 10. I did not run the test suite, although I can do it if required. Could the execution of the test suite be integrated to the ports makefiles? $ clang --version FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: armv7-unknown-freebsd12.2-gnueabihf Thread model: posix InstalledDir: /usr/bin erlang-runtime22 (22.3.4.20_1) is built without issue =============================== Port configuration is ===> The following configuration options are available for erlang-runtime22-22.3.4.20_1: CORBA=off: Enable Corba support DIRTY=on: Enable Dirty schedulers HIPE=on: Build native HiPE compiler JAVA=off: Java platform support KQUEUE=on: Enable Kernel Poll (kqueue) support NATIVE=on: Enable native libraries ODBC=off: ODBC database backend OPENSSL=on: SSL/TLS support via OpenSSL SCTP=on: Enable SCTP support THREADS=on: Threading support WX=off: Enable WX application erlang-runtime23 (23.3.4.4) fails to build ============================ gmake[4]: Entering directory '/usr/obj/ports/usr/ports/lang/erlang-runtime23/work/otp-OTP-23.3.4.4/lib/syntax_tools' === Entering application syntax_tools gmake[5]: Entering directory '/usr/obj/ports/usr/ports/lang/erlang-runtime23/work/otp-OTP-23.3.4.4/lib/syntax_tools/src' erlc -W -Werror +debug_info -DUSE_ESOCK=true -pa ../ebin -pa ./ -I../include +native +nowarn_shadow_vars +warn_unused_import -o../ebin erl_syntax.erl <HiPE (v 4.0.1)> EXITED with reason {'trans_fun/2',{bs_start_match4,{atom,no_fail},{u,3},{x,0},{x,3}}} @hipe_beam_to_icode:1221 <HiPE (v 4.0.1)> Error: [hipe:859]: INTERNAL ERROR while compiling erl_syntax crash reason: {hipe_beam_to_icode,1221, {'trans_fun/2', {bs_start_match4,{atom,no_fail},{u,3},{x,0},{x,3}}}} in function hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 1221) in call from hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 430) in call from hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 349) in call from hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 1123) in call from hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 290) in call from hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 312) in call from hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 297) in call from hipe_beam_to_icode:trans_fun/2 (hipe_beam_to_icode.erl, line 334) erl_syntax.erl: internal error in native_compile; crash reason: {hipe_beam_to_icode,1221, {'trans_fun/2',{bs_start_match4,{atom,no_fail},{u,3},{x,0},{x,3}}}} gmake[5]: *** [Makefile:74: ../ebin/erl_syntax.beam] Error 1 Port configuration is ===> The following configuration options are available for erlang-runtime23-23.3.4.4_1: CORBA=off: Enable Corba support DIRTY=on: Enable Dirty schedulers HIPE=on: Build native HiPE compiler JAVA=off: Java platform support KQUEUE=on: Enable Kernel Poll (kqueue) support NATIVE=on: Enable native libraries ODBC=off: ODBC database backend OPENSSL=on: SSL/TLS support via OpenSSL SCTP=on: Enable SCTP support THREADS=on: Threading support WX=off: Enable WX application erland-runtime24 (24.0.3) is built without issue ========================= Port configuration does not provide HIPE nor NATIVE knobs as shown below. ===> The following configuration options are available for erlang-runtime24-24.0.3: CHUNKS=on: Enable in-line documentation in erlang console CORBA=off: Enable Corba support JAVA=off: Java platform support ODBC=off: ODBC database backend OPENSSL=on: SSL/TLS support via OpenSSL SCTP=on: Enable SCTP support SHARING=on: Enable term copy-and-share support WX=off: Enable WX application -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.