Commit graph

418 commits

Author SHA1 Message Date
Jimmy Olgeni
8ee8e82046 lang/erlang: update to version 24.2.2 2022-02-25 18:15:43 +01:00
Jimmy Olgeni
cff9bf4b9f lang/erlang: Update to version 24.2 2022-01-26 11:54:23 +01:00
Jimmy Olgeni
4931c79657 lang/erlang: Update to version 24.1.7 2021-11-22 20:11:01 +01:00
Jimmy Olgeni
9f46166976 lang/erlang: Update to version 24.1.6 2021-11-19 10:25:38 +01:00
Jimmy Olgeni
3d890e5cb6 lang/erlang: Update to version 24.1.5 2021-11-12 10:01:16 +01:00
Jimmy Olgeni
4a9fbf9b79 lang/erlang: Update to version 24.1.4 2021-11-02 18:01:02 +01:00
Jimmy Olgeni
46034dd3be lang/erlang: Update to version 24.1.3 2021-10-28 10:23:37 +02:00
Jimmy Olgeni
0168601702 lang/erlang: Update to version 24.1.2, apply portfmt. 2021-10-05 14:25:18 +02:00
Dimitry Andric
9ce64e9190 lang/(erlang(-runtime2[13])?): work around dtrace failures with clang 13
During an exp-run for llvm 13 (see bug 258209), it turned out that
lang/erlang and lang/erlang-runtime2[13] fail to build with clang 13.

What appears to happen is that for these versions of erlang, PGO is
enabled, and it first builds a PGO-enabled beam.smp:

gmake[5]: Entering directory '/wrkdirs/usr/ports/lang/erlang/work/otp-OTP-21.3.8.24/erts/emulator'
if utils/gen_git_version amd64-portbld-freebsd14.0/gen_git_version.mk; then touch beam/erl_bif_info.c; fi
echo " PROFILE beam.prof.smp"
 PROFILE beam.prof.smp
rm -f obj/amd64-portbld-freebsd14.0/opt/smp/erl*.profraw
set -e; LLVM_PROFILE_FILE="obj/amd64-portbld-freebsd14.0/opt/smp/erlc-%m.profraw" \
          ERL_FLAGS="-emu_type prof +S 1" erlc -W  -DPGO \
  -o obj/amd64-portbld-freebsd14.0/opt/smp test/estone_SUITE.erl > obj/amd64-portbld-freebsd14.0/opt/smp/PROFILE_LOG

after which it does a test run, and uses llvm-profdata to merge the
profiling data into beam_emu_pu.o:

  llvm-profdata merge -output obj/amd64-portbld-freebsd14.0/opt/smp/default.profdata obj/amd64-portbld-freebsd14.0/opt/smp/*.profraw
  cc -fprofile-instr-use=obj/amd64-portbld-freebsd14.0/opt/smp/default.profdata  -Werror=undef -Werror=implicit -Werror=return-type   -O3 -fomit-frame-pointer -pipe  -fno-omit-frame-pointer -DMAP_NORESERVE=0 -fstack-protector-strong -fno-strict-aliasing  -I/wrkdirs/usr/ports/lang/erlang/work/otp-OTP-21.3.8.24/erts/amd64-portbld-freebsd14.0    -DHAVE_CONFIG_H -Wall -Wstrict-prototypes -Wmissing-prototypes -Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS   -Iamd64-portbld-freebsd14.0/opt/smp -Ibeam -Isys/unix -Isys/common -Iamd64-portbld-freebsd14.0 -Ipcre -Ihipe -I../include -I../include/amd64-portbld-freebsd14.0 -I../include/internal -I../include/internal/amd64-portbld-freebsd14.0 -c beam/beam_emu.c -o obj/amd64-portbld-freebsd14.0/opt/smp/beam_emu_pu.o

Later, it runs dtrace over all the collected objects, and this dies:

  dtrace -G -C -Ibeam \
    -s beam/erlang_dtrace.d \
    -o obj/amd64-portbld-freebsd14.0/opt/smp/erlang_pu_dtrace.o
    ... long list of objects ...
  dtrace: failed to link script beam/erlang_dtrace.d: an error was encountered while processing obj/amd64-portbld-freebsd14.0/opt/smp/beam_emu_pu.o
  gmake[5]: *** [amd64-portbld-freebsd14.0/Makefile:1005: obj/amd64-portbld-freebsd14.0/opt/smp/erlang_pu_dtrace.o] Error 1
  gmake[5]: Leaving directory '/wrkdirs/usr/ports/lang/erlang/work/otp-OTP-21.3.8.24/erts/emulator'

Something in beam_emu_pu.o (emitted by clang or llvm 13) is tripping up
dtrace, but I have very little knowledge about dtrace so I need help
here. :)

Now some other erlang runtimes such as lang/erlang-runtime24 *do* build
successfully with clang 13, but this is only because upstream disabled
the PGO feature, as a side effect of
https://github.com/erlang/otp/commit/b165524c732 ("erts: Implement the
BeamAsm JIT"):

--- a/erts/configure.in
+++ b/erts/configure.in
...
@@ -704,6 +719,9 @@ else
   fi
 fi

+dnl Disable pgo for now
+USE_PGO=false
+
 AC_SUBST(USE_PGO)
 AC_SUBST(PROFILE_COMPILER)

I am unsure why upstream disabled this "for now", as it has been
disabled for more than a year. So, for now, work around the dtrace
failures by disabling PGO using the configure flag --disable-pgo, when
building with clang >= 13.

PR:		258494
Approved by:	maintainer timeout (2 weeks)
MFH:		2021Q4
2021-10-03 12:13:35 +02:00
Jimmy Olgeni
0f8df7400e lang/erlang: Update to version 24.1.1. 2021-10-02 00:38:13 +02:00
Jimmy Olgeni
72d6b12512 lang/erlang: restore DTRACE on powerpc64, like erlang-runtime24. 2021-09-30 22:02:22 +00:00
Jimmy Olgeni
57cbdd2568 lang/erlang: Update to version 24.0.6. 2021-09-30 22:02:11 +00:00
Bernhard Froehlich
d5aa4e1a0e
lang/erlang: Add CPE information
Approved by:	portmgr (blanket)
2021-08-29 18:49:12 +00:00
Kevin Bowling
da3162c7c9 graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.

PR:		246767
Reviewed by:	manu, bapt
Approved by:	x11
Differential Revision:	https://reviews.freebsd.org/D30824
2021-06-22 11:53:08 -07:00
Jimmy Olgeni
a14eea2e03 lang/erlang: Update to version 21.3.8.24. 2021-06-01 12:51:29 +02:00
Jimmy Olgeni
bd12e9ad49 lang/erlang: Update to version 21.3.8.23. 2021-05-07 16:45:20 +02:00
Yuri Victorovich
925e342a40 x11-toolkits/wxgtk31: Update 3.1.4 -> 3.1.5
Bump 43 ports that either depend on wxgtk31 or potentially depend on it.

Reported by: portscout
2021-04-16 00:52:45 -07:00
Jimmy Olgeni
ff6ac45c49 Erlang: bump PORTREVISION after 24e45b0.
Reported by:	mat
2021-04-16 09:46:19 +02:00
Jimmy Olgeni
85caa7603b Erlang: portclippy fixes (order of variables and targets). 2021-04-15 16:00:10 +02:00
Jimmy Olgeni
24e45b0587 Erlang: replace CONFIGURE_ENABLE with CONFIGURE_ARGS.
CONFIGURE_ENABLE (by itself) does not actually exist.
2021-04-15 16:00:09 +02:00
Jimmy Olgeni
230467c8b2 lang/erlang: update to version 21.3.8.22; unbreak ODBC and PDF.
- Update WX requirement to 3.1.

PR:		254767 (ODBC part)
PR:		243880 (WX part)
2021-04-10 21:25:39 +02:00
Jimmy Olgeni
f634fc8e1c Apply portfmt to Erlang ports. 2021-04-10 21:25:39 +02:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Jimmy Olgeni
db59dba8b0 Update lang/erlang to version 21.3.8.21. 2021-02-26 16:13:52 +00:00
Jimmy Olgeni
5ccbcd8fe8 Update lang/erlang and related ports to version 21.3.8.20. 2021-01-30 21:52:18 +00:00
Jimmy Olgeni
d176c7f425 Update lang/erlang and related ports to version 21.3.8.19. 2021-01-22 14:27:39 +00:00
Piotr Kubaj
0a1b59603d lang/erlang: remove whitespace 2020-12-02 20:36:03 +00:00
Piotr Kubaj
75f98182b7 lang/erlang: enable DTRACE on powerpc64 head
Builds fine.
2020-12-02 20:20:22 +00:00
Mark Linimon
e188ba4003 Disable DTRACE option on riscv64 to allow build.
Approved by:	portmgr (tier-2 blanket)
Obtained from:	lonesome.com build testing
2020-12-02 13:51:43 +00:00
Jimmy Olgeni
40b122ffba Update lang/erlang to version 21.3.8.18. 2020-10-03 09:24:38 +00:00
Piotr Kubaj
03f46c0272 lang/erlang: fix build on powerpc64le
Disable HIPE like on powerpc64 to fix build.
2020-09-30 18:50:58 +00:00
Piotr Kubaj
1f045f1f3c lang/erlang: fix build on powerpc64 elfv1
Force newer GCC and disable DTRACE. Looks like Dtrace on elfv1 is buggy and causes build to break.
2020-08-20 22:38:49 +00:00
Niclas Zeising
e59f376845 lang/erlang: Fix build with -fno-common.
Add a patch to lang/erlang to fix the build with -fno-common, which is the
default with llvm 11.

MFH:		2020Q3
2020-08-20 15:36:08 +00:00
Jimmy Olgeni
2d83a47814 Update lang/erlang to version 21.3.8.17. 2020-08-10 07:04:35 +00:00
Jimmy Olgeni
8a1427d451 Update Erlang ports to 21.3.8.16. 2020-05-23 10:11:37 +00:00
Loïc Bartoletti
4c1a399966 x11-toolkits/wxgtk30: Update to 3.0.5.1
Changelog:
  - https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.0.5/docs/changes.txt

PR:	 246218
Approved by:	tcberner (mentor)
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D24808
2020-05-17 05:55:12 +00:00
Jimmy Olgeni
746b94b782 lang/erlang: remove unnecessary patch.
The call to gethostbyname_r is handled correctly on recent Erlang
releases. No PORTREVISION required as the patch is touching unreachable
code in FreeBSD.
2020-02-28 17:11:31 +00:00
Jimmy Olgeni
1887dc6d23 Update Erlang ports to 21.3.8.13. 2020-02-03 20:31:03 +00:00
Dave Cottlehuber
6fbfd7b161 lang/erlang*: include serious scheduler bugfixes
OTP-16371

Taking a scheduler offline could cause timers set while executing on
that scheduler to be delayed until the scheduler was put online again.
This bug was introduced in ERTS version 10.0 (OTP 21.0).

OTP-16378 | ERL-1125

The ets:update_counter/4 core dumped when given an ordered_set with
write_concurrency enabled and an invalid position.

OTP-16379

A process calling erlang:system_flag(multi_scheduling, block) could end
up blocked waiting for the operation to complete indefinitely.

Reviewed by:	olgeni
MFH:		2020Q1
Sponsored by:	SkunkWerks, GmbH
Differential Revision:	https://reviews.freebsd.org/D23313
2020-01-23 11:59:21 +00:00
Dave Cottlehuber
b6d5a8c18b lang/erlang*: repair 32-bit x86 erlang builds
Having HIPE & NATIVE enabled breaks OTP on 32-bit x86. They have not
built succesfully for quite some time.

Reported by:	pkg fallout
Reviewed by:	olgeni
Sponsored by:	SkunkWerks, GmbH
Differential Revision:	https://reviews.freebsd.org/D23296
2020-01-23 11:27:43 +00:00
Jimmy Olgeni
697473bea7 Update lang/erlang to version 21.3.8.11. 2019-11-19 20:56:40 +00:00
Jimmy Olgeni
567c6f25f0 Update lang/erlang to version 21.3.8.10. 2019-10-27 11:19:41 +00:00
Jimmy Olgeni
4c06b69db3 Update lang/erlang to version 21.3.8.9. 2019-10-19 21:00:32 +00:00
Jimmy Olgeni
c0a4c41d69 Update lang/erlang to version 21.3.8.8. 2019-10-08 15:39:00 +00:00
Mark Linimon
acf07777e7 Disable DTRACE on powerpc64-CURRENT. It is known not to link on elfv2.
Rather than conditionalize the inclusion on elfv2, I am asssuming the
userbase of erlang on powerpc64-CURRENT is still tiny.  Effort would
better be spent on investigating the general problem on powerpc64.

PR:		240458 240461 240501 240502
Submitted by:	pkubaj
Approved by:	erlang (maintainer-timeout, > 2 weeks)
2019-10-04 22:31:59 +00:00
Jimmy Olgeni
cc1e8add21 Update lang/erlang to version 21.3.8.7. 2019-09-16 10:52:06 +00:00
Mathieu Arnold
558224994b onvert to UCL & cleanup pkg-message (categories l-m) 2019-08-13 22:29:42 +00:00
Jimmy Olgeni
669ad4295e Update lang/erlang to version 21.3.8.6. 2019-07-12 12:24:40 +00:00
Jimmy Olgeni
b3ec6fb0fe Sync WWW tags for Erlang ports. 2019-07-10 12:39:56 +00:00