This brings one back port for the inter procedural optimizers, one
for the general code generators, and three each for the powerpc
back end and the Fortran front end.
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
=> ada-bootstrap.amd64.freebsd.120.tar.bz2 is not in /usr/ports/lang/gcc6-aux/distinfo.
=> Either /usr/ports/lang/gcc6-aux/distinfo is out of date, or
=> ada-bootstrap.amd64.freebsd.120.tar.bz2 is spelled incorrectly.
*** Error code 1
Reported by: pkg-fallout
PHP 7.3 conflicted with versions no longer in the ports-tree. Remove this conflicts.
PHP 7.3 and 7.4 did not conflict with PHP 8.0. Add the missing conflict.
PR: 258803
Reported by: Einar Bjarni Halldórsson <einar@isnic.is>
Sponsored by: Bounce Experts
It breaks with clang >= 13, which adds a major.minor version number in
-print-multiarch output, and the dot confuses Python:
ModuleNotFoundError: No module named '_sysconfigdata__freebsd14_x86_64-unknown-freebsd14'
Since we do not support multiarch, and the configure script has no way
to disable the multiarch check, stub it out during post-patch.
PR: 258377
Approved by: maintainer timeout (2 weeks)
MFH: 2021Q3
files/patch-gcc-analyzer-bootstrap has been included upstream as has
an enhanced version of files/patch-libgfortran-bootstrap, alas we now
need files/patch-bootstrap-gcc-gcc.c as a temporary back port addressing
another bootstrap issue - "two steps forwards, one step back".
The internal compiler error on amd64 has been addressed, so unbreak
that architecture.
JPM is the Janet Project Manager tool. It is for automating builds
and downloading dependencies of Janet projects.
WWW: https://github.com/janet-lang/jpm
Add files/patch-gcc-analyzer-bootstrap to fix bootstrap with clang.
Add files/patch-libgfortran-bootstrap to fix bootstrap on i386 and
FreeBSD's idiosyncratic floating point settings.
Temporarily mark BROKEN on amd64 due to an internal error, but
at least give aarch64, i386, and powerpc* the chance to test drive
after we already had to skip another snapshot.
This brings a back port for documentation related to the C++ front end,
an additional one for C++, two for Fortran, three for the tree optimizers/
middle end, and one for the x86 back end.
Saturday, 11 September 2021
KDE today announces the release of KDE Frameworks 5.86.0.
KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.
This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.
Full announcement:
https://kde.org/announcements/frameworks/5/5.86.0/
PR: 258426
Exp-run by: antoine
This brings a back port for documentation related to the C++ front end,
five for the tree optimizers/middle end, and four for the powerpc (nee
rs6000) back end.
This brings one back port for the x86 back end and five for powerpc
(nee rs6000), two for the tree optimizers, one for C++ and four for
Fortran.
It also adds the missing runtime license exception to value-unwind.h
for aarch64 and i386.
* Switch to GCC because building with Clang leads to a broken
"mpy-cross" binary, which segfaults if issued with several parameters
during build.
* REINPLACE_CMD should not be used to replace static content, hence
convert those occurrences into patches.
* Also update pkg-descr and sort variables a bit according to the PHB.
Reviewed by: decke (earlier revision)
Approved by: kai (python, maintainer)
Differential Revision: https://reviews.freebsd.org/D31855
Python 3.6 will reach its End-of-Life at 23rd December 2021.
Set the deprecation note and expiration date accordingly.
Approved by: koobs (python, maintainer)
MFH: No (not neccessary, 3+ months from now should be OK)
Differential Revision: https://reviews.freebsd.org/D31783
This brings one back port for OMP support (GOMP) and x86 each, five
for Fortran, and one to add the missing runtime license exception to
value-unwind.h for aarch64 and i386.
rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp. WRKDIR should have plenty of space.
Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.
PR: 258126
With hat: rust
This brings seven back ports for the x86 back end and five for arm,
plus three middle end changes, one for tree optimizers, debugging
information, the gcov tool, and Fortran each, and a whopping 18 for
libstdc++.
Github seems to be undecided whether
782aa42255163559c5e1c4c2d98c8f28da8cf96b.patch size should be 1111 or
1113 bytes. Give them some time to contemplate and commit this patch to
the repo for now.
PR: 258253
Reported by: Alex <marcarianalexandru@gmail.com>
Reported by: Marc Flambard <marc-pub@alluem.fr> (by email)
Thursday, 2 September 2021
Over 120 individual programs plus dozens of programmer libraries and
feature plugins are released simultaneously as part of KDE Gear.
Today they all get new bugfix source releases with updated translations,
including:
* konsole: Fix KXmlGUI toolbars and Konsole MainWindow size.
* elisa: Fix the “Files” view.
* skanlite: Fix image saving when preview is not shown.
Full announcement:
https://kde.org/announcements/gear/21.08.1/
Full Changelog:
https://kde.org/announcements/changelogs/gear/21.08.1/
- Sort the *flat* pkg-plist (after the PLIST_SUB expansion), and drop
needless ``@dir lib/ocaml/threads'' entry
- Remove "INSTALL* safeness" gimmick which had been added 16 years ago
in r133975 and supposedly helped to preserve correct permissions in
some circumstances, but these days it erroneously removes executable
bits from some binaries, or causes nothing but stage Q/A warnings