maintainer-feedback requested: [Bug 243815] lang/erlang-runtime22 Build fails if NATIVE is enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Feb 2 19:01:35 UTC 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked Erlang FreeBSD Mailing
List <erlang at FreeBSD.org> for maintainer-feedback:
Bug 243815: lang/erlang-runtime22 Build fails if NATIVE is enabled
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243815



--- Description ---
Similar #237960 has been reported for ARM. In my case I build everything with
default options only enabling NATIVE in erlang-runtime22.

gmake[4]: Entering directory
'/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/lib/hipe/misc'
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +warn_export_vars
+warn_missing_spec +warn_untyped_record -o../ebin hipe_consttab.erl
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +warn_export_vars
+warn_missing_spec +warn_untyped_record -o../ebin hipe_gensym.erl
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +warn_export_vars
+warn_missing_spec +warn_untyped_record -o../ebin hipe_data_pp.erl
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +warn_export_vars
+warn_missing_spec +warn_untyped_record -o../ebin hipe_pack_constants.erl
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +warn_export_vars
+warn_missing_spec +warn_untyped_record -o../ebin hipe_sdi.erl
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +warn_export_vars
+warn_missing_spec +warn_untyped_record -o../ebin hipe_segment_trees.erl
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/lib/hipe/misc'
gmake[4]: Entering directory
'/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/lib/hipe/main'
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +nowarn_shadow_vars
+warn_export_vars +warn_missing_spec +warn_untyped_record -o../ebin
hipe_main.erl
erlc -W  +debug_info -DUSE_ESOCK=true +native -Werror +nowarn_shadow_vars
+warn_export_vars +warn_missing_spec +warn_untyped_record -o../ebin hipe.erl
compile: warnings being treated as errors
hipe.erl: native-code compilation failed because of an unimplemented
instruction (catch).
gmake[4]: ***
[/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/make/amd64-portbl
d-freebsd12.1/otp.mk:138:
../ebin/hipe.beam] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/lib/hipe/main'
gmake[3]: ***
[/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/make/otp_subdir.m
k:29:
opt] Error 2
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/lib/hipe'
gmake[2]: ***
[/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/make/otp_subdir.m
k:29:
opt] Error 2
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4/lib'
gmake[1]: *** [Makefile:507: libs] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/lang/erlang-runtime22/work/otp-OTP-22.2.4'
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/erlang-runtime22
=>> Cleaning up wrkdir
===>  Cleaning for erlang-runtime22-22.2.4
build of lang/erlang-runtime22 | erlang-runtime22-22.2.4 ended at Sun Feb  2
18:06:24 UTC 2020
build time: 00:13:57
!!! build failure encountered !!!


More information about the freebsd-erlang mailing list