From nobody Fri Oct 1 22:13:25 2021 X-Original-To: erlang@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 6997817EF318 for ; Fri, 1 Oct 2021 22:13:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HLks12HmWz3ND5 for ; Fri, 1 Oct 2021 22:13:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3067E275DF for ; Fri, 1 Oct 2021 22:13:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 191MDPoQ048783 for ; Fri, 1 Oct 2021 22:13:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 191MDP6J048782 for erlang@FreeBSD.org; Fri, 1 Oct 2021 22:13:25 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: erlang@FreeBSD.org Subject: [Bug 237960] lang/erlang: Does not build on arm with the NATIVE option enabled Date: Fri, 01 Oct 2021 22:13:25 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bsdpr@phoe.frmug.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Overcome By Events X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: erlang@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Support of Erlang-related ports List-Archive: https://lists.freebsd.org/archives/freebsd-erlang List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-erlang@freebsd.org MIME-Version: 1.0 X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237960 --- Comment #18 from Bertrand Petit --- (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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D Port configuration is =3D=3D=3D> The following configuration options are available for erlang-runtime22-22.3.4.20_1: CORBA=3Doff: Enable Corba support DIRTY=3Don: Enable Dirty schedulers HIPE=3Don: Build native HiPE compiler JAVA=3Doff: Java platform support KQUEUE=3Don: Enable Kernel Poll (kqueue) support NATIVE=3Don: Enable native libraries ODBC=3Doff: ODBC database backend OPENSSL=3Don: SSL/TLS support via OpenSSL SCTP=3Don: Enable SCTP support THREADS=3Don: Threading support WX=3Doff: Enable WX application erlang-runtime23 (23.3.4.4) fails to build =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D gmake[4]: Entering directory '/usr/obj/ports/usr/ports/lang/erlang-runtime23/work/otp-OTP-23.3.4.4/lib/s= yntax_tools' =3D=3D=3D Entering application syntax_tools gmake[5]: Entering directory '/usr/obj/ports/usr/ports/lang/erlang-runtime23/work/otp-OTP-23.3.4.4/lib/s= yntax_tools/src' erlc -W -Werror +debug_info -DUSE_ESOCK=3Dtrue -pa ../ebin -pa ./ -I../incl= ude +native +nowarn_shadow_vars +warn_unused_import -o../ebin erl_syntax.erl EXITED with reason {'trans_fun/2',{bs_start_match4,{atom,no_fail},{u,3},{x,0},{x,3}}} @hipe_beam_to_icode:1221 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 =3D=3D=3D> The following configuration options are available for erlang-runtime23-23.3.4.4_1: CORBA=3Doff: Enable Corba support DIRTY=3Don: Enable Dirty schedulers HIPE=3Don: Build native HiPE compiler JAVA=3Doff: Java platform support KQUEUE=3Don: Enable Kernel Poll (kqueue) support NATIVE=3Don: Enable native libraries ODBC=3Doff: ODBC database backend OPENSSL=3Don: SSL/TLS support via OpenSSL SCTP=3Don: Enable SCTP support THREADS=3Don: Threading support WX=3Doff: Enable WX application erland-runtime24 (24.0.3) is built without issue =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Port configuration does not provide HIPE nor NATIVE knobs as shown below. =3D=3D=3D> The following configuration options are available for erlang-runtime24-24.0.3: CHUNKS=3Don: Enable in-line documentation in erlang console CORBA=3Doff: Enable Corba support JAVA=3Doff: Java platform support ODBC=3Doff: ODBC database backend OPENSSL=3Don: SSL/TLS support via OpenSSL SCTP=3Don: Enable SCTP support SHARING=3Don: Enable term copy-and-share support WX=3Doff: Enable WX application --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=