I am importing llvm, clang, compiler-rt, libc++, libunwind, lld, lldb, and openmp 17.0.0 into <https://github.com/DimitryAndric/freebsd-src/tree/llvm-17-update>, which is a fork of <https://github.com/freebsd/freebsd-src>. Please perform an exp-run against this branch. To retrieve it, use: git clone -b llvm-17-update https://github.com/DimitryAndric/freebsd-src.git As of 2023-09-13, this branch contains the equivalent of llvm-project's 17.0.0 rc4 (llvmorg-17.0.0-rc4-10-g0176e8729ea4), and it has been rebased onto main d0266fbab9b8.
Created attachment 244820 [details] Fix ports-mgmt/pkg build with lld 17 Unfortunately the first port to fail is pkg, due to it using undefined symbols in its version script, and lld 17 is being more strict about this. I have submitted a pull request in https://github.com/freebsd/pkg/pull/2183, but here is also a local patch for it.
* bug 273775 for security/rhash
* bug 273789 for textproc/libxml2
* bug 273791 for devel/binutils
* bug 273794 for sysutils/fusefs-libs
* bug 273959 for devel/llvm1[0-5]
* bug 273981 for graphics/mesa-dri
* bug 273992 for Mk/Uses/qt-dist.mk (qt5 at least, I still need to check whether the version script problems also occur with qt6 ports)
* bug 273995 for audio/lame
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=db793044a347c8c5a827a6b4b5a2ee9395667e3c commit db793044a347c8c5a827a6b4b5a2ee9395667e3c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-21 15:25:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-09-21 15:46:12 +0000 audio/alsa-lib: fix build with lld 17 Some symbols in the linker version script Versions.in are only defined when --enable-alisp is used at configure time. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q3 audio/alsa-lib/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
* bug 274000 for devel/talloc
devel/libffi fails to link (at least on i386): https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-22_20h55m33s/logs/errors/libffi-3.4.4.log
* bug 274036 for lang/gcc6-aux * bug 274037 for devel/freebsd-gcc9 and devel/freebsd-gcc12 * bug 274038 for devel/avr-gcc * bug 274039 for devel/gcc-arm-embedded * bug 274040 for devel/aarch64-none-elf-gcc (and derived ports) * bug 274041 for lang/gcc10, lang/gcc11, lang/gcc11-devel, lang/gcc12, lang/gcc12-devel, lang/gcc13, lang/gcc13-devel, and lang/gcc14-devel * bug 274042 for lang/gcc8 and lang/gcc9
(In reply to Antoine Brodin from comment #12) libffi is an interesting case, because they preprocess their linker version script with the C preprocessor, but on i386 they apparently don't filter out unused symbols. I might just silence it with -Wl,--undefined-version, but maybe I could also fix the script itself...
* bug 274056 for devel/libffi
On amd64, failures causing the most skipped: lang/gcc12 -> 2334 skipped multimedia/libva -> 566 skipped java/openjdk8 -> 454 skipped textproc/qt5-xml -> 371 skipped audio/pulseaudio -> 309 skipped devel/libnotify -> 276 skipped devel/qt5-dbus -> 123 skipped devel/talloc -> 101 skipped sysutils/fusefs-libs -> 96 skipped devel/qt6-base -> 85 skipped databases/qt5-sql -> 67 skipped devel/basu -> 60 skipped sysutils/libcdio -> 52 skipped x11-toolkits/libwnck3 -> 50 skipped devel/arm-none-eabi-gcc -> 41 skipped devel/elfutils -> 37 skipped lang/gcc11 -> 34 skipped devel/schilybase -> 27 skipped devel/aarch64-none-elf-gcc -> 21 skipped security/clamav -> 20 skipped graphics/libgphoto2 -> 19 skipped databases/firebird30-client -> 18 skipped devel/onetbb -> 17 skipped java/openjdk17 -> 17 skipped devel/qt5-concurrent -> 14 skipped x11/libxklavier -> 13 skipped comms/qt5-serialport -> 12 skipped databases/mysql80-server -> 12 skipped graphics/gegl -> 12 skipped devel/qt5-testlib -> 10 skipped devel/gamin -> 9 skipped Failure logs for ports causing the most skipped: https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/gcc12-12.2.0_6.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/libva-2.20.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/openjdk8-8.382.05.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/qt5-xml-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/pulseaudio-16.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/libnotify-0.8.2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/qt5-dbus-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/talloc-2.3.4.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/fusefs-libs-2.9.9_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/qt6-base-6.5.2_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/qt5-sql-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/basu-0.2.1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/libcdio-2.1.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/libwnck3-3.36.0_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/arm-none-eabi-gcc-11.3.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/elfutils-0.187.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/gcc11-11.3.0_8.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/schilybase-2023.04.19.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/aarch64-none-elf-gcc-11.3.0_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/clamav-1.2.0_1,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/libgphoto2-2.5.26_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/firebird30-client-3.0.10_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/onetbb-2021.10.0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/openjdk17-17.0.8+7.1_1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/qt5-concurrent-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/libxklavier-5.3_3,1.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/qt5-serialport-5.15.8p0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/mysql80-server-8.0.33.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/gegl-0.4.46_2.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/qt5-testlib-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-09-23_09h10m07s/logs/errors/gamin-0.1.10_10.log
* bug 274088 for multimedia/libva
* bug 274089 for devel/gamin
On i386, failures causing the most skipped: lang/gcc12 -> 2345 skipped multimedia/libva -> 563 skipped java/openjdk8 -> 450 skipped textproc/qt5-xml -> 377 skipped audio/pulseaudio -> 309 skipped devel/libnotify -> 275 skipped devel/qt5-dbus -> 122 skipped sysutils/fusefs-libs -> 97 skipped sysutils/libcdio -> 85 skipped devel/qt6-base -> 85 skipped databases/qt5-sql -> 78 skipped devel/talloc -> 69 skipped devel/basu -> 56 skipped x11-toolkits/libwnck3 -> 50 skipped devel/elfutils -> 37 skipped lang/gcc11 -> 35 skipped devel/schilybase -> 27 skipped security/clamav -> 20 skipped graphics/libgphoto2 -> 19 skipped databases/firebird30-client -> 18 skipped devel/onetbb -> 17 skipped java/openjdk17 -> 17 skipped x11/libxklavier -> 13 skipped lang/gcc8 -> 10 skipped devel/qt5-testlib -> 10 skipped devel/gamin -> 9 skipped Failure logs of ports causing the most skipped: https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/gcc12-12.2.0_6.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/libva-2.20.0.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/openjdk8-8.382.05.1.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/qt5-xml-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/pulseaudio-16.1_1.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/libnotify-0.8.2.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/qt5-dbus-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/fusefs-libs-2.9.9_2.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/libcdio-2.1.0.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/qt6-base-6.5.2_2.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/qt5-sql-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/talloc-2.3.4.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/basu-0.2.1.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/libwnck3-3.36.0_1.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/elfutils-0.187.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/gcc11-11.3.0_8.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/schilybase-2023.04.19.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/clamav-1.2.0_1,1.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/libgphoto2-2.5.26_3.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/firebird30-client-3.0.10_3.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/onetbb-2021.10.0.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/openjdk17-17.0.8+7.1_1.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/libxklavier-5.3_3,1.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/gcc8-8.5.0_2.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/qt5-testlib-5.15.8p157.log https://pkg-status.freebsd.org/gohan05/data/maini386PR273753-default-foo/2023-09-24_20h37m00s/logs/errors/gamin-0.1.10_10.log
* bug 274106 for java/openjdk8
* bug 274108 for devel/libnotify
* bug 274109 for java/openjdk17
* bug 274111 for audio/pulseaudio
Updated bug 273992 ("qt-dist.mk: suppress linker version script errors with lld >= 17") to apply for both qt5 and qt6, since both versions have the same issues with their linker version scripts.
* bug 274146 for databases/tdb
* bug 274147 for devel/tevent
* bug 274148 for devel/basu
* bug 273998 for devel/elfutils
* bug 274150 for devel/schilybase
* bug 274196 for sysutils/libcdio
* bug 274313 for net/samba413
* bug 274329 for x11-toolkits/libwnck3
* bug 274332 for security/clamav
* bug 274332 for graphics/libgphoto2
* bug 274335 for databases/firebird30-server (and databases/firebird30-client) * bug 274336 for databases/firebird40-server (and databases/firebird40-client)
* bug 274337 for devel/onetbb
* bug 274356 for x11/libxklavier
* bug 274464 for databases/mysql80-server
All opened bugs have now been fixed, so it might be time for another exp-run cycle. But preferably I would like to start working on merging llvm-17-update to the main branch. That is, if portmgr@ agrees that the ports tree is now in a good enough state for it?
Some ports with a high number of skipped: graphics/libgphoto2 : 236 skipped www/qt5-webengine : 148 skipped multimedia/totem-pl-parser : 28 skipped https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-10-20_18h26m54s/logs/errors/libgphoto2-2.5.26_3.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-10-20_18h26m54s/logs/errors/qt5-webengine-5.15.15.p0.log https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-10-20_18h26m54s/logs/errors/totem-pl-parser-3.26.6.log
(In reply to Antoine Brodin from comment #40) Hm, bug 274334 should have taken care of graphics/gphoto2, but I'll look again, and also at those other ones.
(In reply to Dimitry Andric from comment #41) Oh I now see the problem: there are both graphics/gphoto2 (which I fixed) and graphics/libgphoto2 (which I didn't realize existed)!
So graphics/libgphoto2 was actually bug 274334, and I had mistakenly not committed the fix. That is now done in https://cgit.freebsd.org/ports/commit/?id=dee420703ee18ac8be9d10a488a3f650481aff78.
* bug 274626 for multimedia/totem-pl-parser
There is also www/qt5-webkit with 79 skipped: https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-10-20_18h26m54s/logs/errors/qt5-webkit-5.212.0.a4_15.log
also editors/libreoffice , 119 skipped https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-10-21_19h28m06s/logs/errors/libreoffice-7.6.2.1.log
and another one, www/webkit2-gtk3 , 375 skipped https://pkg-status.freebsd.org/gohan05/data/mainamd64PR273753-default-foo/2023-10-21_19h28m06s/logs/errors/webkit2-gtk3-2.34.6_8.log
* bug 274677 for www/webkit2-gtk3
* bug 274697 for editors/libreoffice
* bug 274740 for www/qt5-webengine
(In reply to Antoine Brodin from comment #45) www/qt5-webkit should have been fixed with https://cgit.freebsd.org/ports/commit/?id=3e5360df35848a1ad8c5edae83a0a9cdfd6bb775 for bug 273992, but maybe it doesn't use qt-dist.mk? The error looks similar to the error I fixed there. I will double-check it to make sure.
(In reply to Dimitry Andric from comment #51) Yep, just verified it: www/qt5-webkit builds OK after the fix for bug 273992.
(In reply to Dimitry Andric from comment #52) The failure was with a ports tree from 20 october, after the fix for bug #273992 was committed
(In reply to Antoine Brodin from comment #53) Weird, I just built successfully using main 7e9141f2e1fb62a7822c4ae51d49299b66f0335c, which is from 2023-10-23... Something strange is going on. I will sync up my ports tree to today and try building it again.
I had to fix libreoffice in an alternative fashion, in https://cgit.freebsd.org/ports/commit/?id=94ce30c4a0b1044153991c5dd501c802c5c6a0f4, after reverting the previous fix which did not work in all cases. Next up is taking a look at www/qt5-webkit, which only fails to build under poudriere, not in a 'plain' ports build. It looks like the problem is that the Qt5 fix I did is in qt-dist.mk, while this port uses qt.mk. I think the workaround will be to move the LDFLAGS assignment into qt.mk instead.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3cb46a4465c6319ff9fcf7ac6d151ac884a515ee commit 3cb46a4465c6319ff9fcf7ac6d151ac884a515ee Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-04 15:51:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-04 16:26:59 +0000 qt(-dist)?.mk: suppress linker version script errors with lld >= 17 (take 2) This amends commit 3e5360df35848a1ad8c5edae83a0a9cdfd6bb775: Qt uses generated linker version scripts which always have a qt_version_tag symbol, but that symbol is only defined in the main Qt shared library. For other Qt components, this leads to lld >= 17 erroring out due to the symbol being undefined. Suppress these errors from qt-dist.mk, so we don't have to patch each individual port. This affects at least: * devel/qt5-dbus * net/qt5-network * databases/qt5-sql which were the first ones to fall over with a clang+lld 17 poudriere bulk run. For reference, the error you would see looks like: ... c++ -Wl,--as-needed -fstack-protector-strong -Wl,--no-undefined -Wl,--version-script,QtDBus.version -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5DBus.so.5 -o libQt5DBus.so.5.15.8 .obj/qdbusconnection.o .obj/qdbusconnectioninterface.o .obj/qdbuserror.o .obj/qdbusintegrator.o .obj/qdbusmessage.o .obj/qdbusserver.o .obj/qdbusabstractinterface.o .obj/qdbusinterface.o .obj/qdbusxmlparser.o .obj/qdbusutil.o .obj/qdbusintrospection.o .obj/qdbusabstractadaptor.o .obj/qdbusinternalfilters.o .obj/qdbusmetaobject.o .obj/qdbusxmlgenerator.o .obj/qdbusmisc.o .obj/qdbusargument.o .obj/qdbusreply.o .obj/qdbusmetatype.o .obj/qdbusextratypes.o .obj/qdbuscontext.o .obj/qdbuspendingcall.o .obj/qdbuspendingreply.o .obj/qdbus_symbols.o .obj/qdbusservicewatcher.o .obj/qdbusunixfiledescriptor.o .obj/qdbusvirtualobject.o .obj/moc_qdbusconnectioninterface.o .obj/moc_qdbuserror.o .obj/moc_qdbusconnection.o .obj/moc_qdbusabstrac tadaptor.o .obj/moc_qdbusvirtualobject.o .obj/moc_qdbusconnection_p.o .obj/moc_qdbusconnectionmanager_p.o .obj/moc_qdbuspendingcall_p.o -L/wrkdirs/usr/ports/devel/qt5-dbus/work/kde-qtbase-5.15.8p157/lib /usr/local/lib/qt5/libQt5Core.so -L/usr/local/lib -ldbus-1 ld: error: version script assignment of 'Qt_5.15' to symbol 'qt_version_tag' failed: symbol not defined c++: error: linker command failed with exit code 1 (use -v to see invocation) Some qt ports, such as www/qt5-webkit, do not use qt-dist.mk but qt.mk, and qt-dist.mk includes qt.mk, so move the workaround that sets LDFLAGS to qt.mk instead. This should fix the problem for all qt ports. PR: 273992, 273753 Fixes: 3e5360df3584 MFH: 2023Q4 Mk/Uses/qt-dist.mk | 6 ------ Mk/Uses/qt.mk | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bfcd2a9b6f168c590da52dfefa0aacf1b021d30f commit bfcd2a9b6f168c590da52dfefa0aacf1b021d30f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-26 10:45:00 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-04 16:26:51 +0000 www/qt5-webengine: fix build with libc++ 17 Building www/qt5-webengine with libc++ 17 results in the following compile errors: In file included from ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/trace_sorter.cc:17: In file included from /usr/include/c++/v1/algorithm:1803: In file included from /usr/include/c++/v1/__algorithm/nth_element.h:15: /usr/include/c++/v1/__algorithm/sort.h:577:14: error: no viable overloaded '=' 577 | *__begin = _Ops::__iter_move(__pivot_pos); | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition<std::_ClassicAlgPolicy, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void> &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort<std::_ClassicAlgPolicy, std::__less<void, void> &, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch<std::_ClassicAlgPolicy, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void>>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void>>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort<perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void>>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/trace_sorter.cc:51:8: note: in instantiation of function template specialization 'std::sort<perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator>' requested here 51 | std::sort(sort_begin, events_.end()); | ^ ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/timestamped_trace_piece.h:191:26: note: candidate function not viable: 'this' argument has type 'const perfetto::trace_processor::TimestampedTracePiece', but method is not marked const 191 | TimestampedTracePiece& operator=(TimestampedTracePiece&& ttp) { | ^ ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/timestamped_trace_piece.h:202:26: note: candidate function not viable: 'this' argument has type 'const perfetto::trace_processor::TimestampedTracePiece', but method is not marked const 202 | TimestampedTracePiece& operator=(const TimestampedTracePiece&) = delete; | ^ This is because perfetto's CircularQueue template is only half const-correct. Upstream fixed this in: https://github.com/google/perfetto/commit/b82a213bcf71dd8e68b53941375936c7905c0ff2 so apply that fix to qt5-webengine's older copy of perfetto. PR: 274740, 273753 MFH: 2023Q4 ...clude_perfetto_ext_base_circular__queue.h (new) | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+)
The following should now be fixed: * www/webkit2-gtk3 : 375 skipped * graphics/libgphoto2 : 236 skipped * www/qt5-webengine : 148 skipped * editors/libreoffice : 119 skipped * www/qt5-webkit : 79 skipped * multimedia/totem-pl-parser : 28 skipped If there is some CPU capacity left on the builders, please do another run :)
installworld fails: --- all_subdir_tests/examples --- make[4]: make[4]: don't know how to make /poudriere/jails/mainamd64PR273753/usr/src/tests/examples/test_examples.py. Stop make[4]: stopped in /poudriere/jails/mainamd64PR273753/usr/src/tests/examples
(In reply to Antoine Brodin from comment #59) buildworld not installworld
(In reply to Antoine Brodin from comment #60) Oh that is probably due to https://cgit.FreeBSD.org/src/commit/?id=6120673f7566c35023921540d2d682572d1bf1ce, see also https://lists.freebsd.org/archives/dev-commits-src-all/2023-October/032774.html, which deleted .py files from the _source_ dir instead of the object dir. I need to sync up the llvm-17-update branch again, to pick up any possible fix.
(In reply to Dimitry Andric from comment #61) Okay, re-sync'd with main, please try https://github.com/DimitryAndric/freebsd-src/tree/llvm-17-update again (at commit 024a1e1879faaf9ea474174b0eb2e13b38eae5b6)
The ports with the most skipped in the last run: https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/wx30-gtk3-3.0.5.1_3.log : 193 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/wx32-gtk3-3.2.1_2.log : 46 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/qt6-webengine-6.5.3_1.log : 24 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/mlt7-7.20.0_2.log : 12 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/py39-qiskit-terra-0.25.1_2.log : 12 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/openjdk18-18.0.2+9.1_2.log : 5 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/openjfx14-14.0.2.1+1_13.log : 5 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/librevisa-0.0.20130412_1.log : 4 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/ldb22-2.2.3.log : 3 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/rubygem-pg_query-4.2.3.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/libHX-4.15.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/opensbi-1.3.1.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/wx30-gtk2-3.0.5.1_3.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/virtualgl-3.1.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/mongodb44-4.4.25.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/l-smash-2.18.0.10.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/quilc-1.26.0_5.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/opencl-clang-llvm11-11.0.0.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/opencl-clang-llvm12-12.0.0.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/opencl-clang-llvm13-13.0.0.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/opencl-clang-llvm14-14.0.0.log : 2 skipped https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/scummvm-2.7.1.log : 2 skipped
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9b214a66ea8788a6da299139decf506a4b4f5ff1 commit 9b214a66ea8788a6da299139decf506a4b4f5ff1 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-09 19:26:44 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-09 19:32:02 +0000 x11-toolkits/wxgtk32: fix build with lld 17 Building x11-toolkits/wxgtk32 with lld 17 results in the following link errors: ld: error: version script assignment of 'WXU_3.2.1' to symbol 'wxApp::GTKAllowDiagnosticsControl()' failed: symbol not defined ld: error: version script assignment of 'WXU_3.2.1' to symbol 'wxFileDialog::AddShortcut(const wxString&, int)' failed: symbol not defined Add -Wl,--undefined-version to LDFLAGS to suppress these errors, since wxWidgets reuses the same linker version script for all its shared libraries. PR: 273753 Approved by: blanket (desktop) MFH: 2023Q4 x11-toolkits/wxgtk32/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ff46b0fb8d1d41ebdec82818d6d12327edb5374b commit ff46b0fb8d1d41ebdec82818d6d12327edb5374b Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-09 19:24:08 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-09 19:31:58 +0000 x11-toolkits/wxgtk30: fix build with lld 17 Building x11-toolkits/wxgtk30 with lld 17 results in the following link errors: ld: error: version script assignment of 'WXU_3.0.5' to symbol 'wxSVGFileDCImpl::DoDrawPolyPolygon(int, int const*, wxPoint const*, int, int, wxPolygonFillMode)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.5' to symbol 'wxSVGFileDCImpl::SetAxisOrientation(bool, bool)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.5' to symbol 'wxSVGFileDCImpl::SetDeviceOrigin(int, int)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.5' to symbol 'wxSVGFileDCImpl::SetLogicalOrigin(int, int)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.5' to symbol 'wxWindow::GetContentScaleFactor() const' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.4' to symbol 'wxDirButton::DoApplyWidgetStyle(_GtkRcStyle*)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.4' to symbol 'wxFileButton::DoApplyWidgetStyle(_GtkRcStyle*)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.4' to symbol 'wxRibbonPage::ShowScrollButtons1()' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.4' to symbol 'wxWindow::GTKApplyCssStyle(char const*)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.3' to symbol 'wxDataViewRenderer::FinishEditing()' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.3' to symbol 'wxFloatProperty::DoGetAttribute(wxString const&) const' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.2' to symbol 'wxGenericListCtrl::EndEditLabel(bool)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.1' to symbol 'wxDataViewListCtrl::ClearColumns()' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.1' to symbol 'wxDataViewListStore::ClearColumns()' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.1' to symbol 'wxInfoBarGeneric::SetForegroundColour(wxColour const&)' failed: symbol not defined ld: error: version script assignment of 'WXU_3.0.1' to symbol 'wxTDIChildFrame::DoMoveWindow(int, int, int, int)' failed: symbol not defined Add -Wl,--undefined-version to LDFLAGS to suppress these errors, since wxWidgets reuses the same linker version script for all its shared libraries. PR: 273753 Approved by: blanket (desktop) MFH: 2023Q4 x11-toolkits/wxgtk30/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=660b01aa59ee1266ce0faf5718dc5c90abfa4f31 commit 660b01aa59ee1266ce0faf5718dc5c90abfa4f31 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-11 09:35:15 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-11 09:46:07 +0000 www/qt6-webengine: fix build with libc++ 17 Building www/qt6-webengine with libc++ 17 results in the following compile errors: In file included from gen/base/base_jumbo_2.cc:7: In file included from ./../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/check.cc:17: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/debug/crash_logging.h:16: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/strings/string_number_conversions.h:15: In file included from ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/containers/span.h:18: ../../../../../qtwebengine-everywhere-src-6.5.3/src/3rdparty/chromium/base/containers/checked_iterators.h:241:8: error: no template named '__is_cpp17_contiguous_iterator'; did you mean '__libcpp_is_contiguous_iterator'? 241 | struct __is_cpp17_contiguous_iterator<::base::CheckedContiguousIterator<T>> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | __libcpp_is_contiguous_iterator /usr/include/c++/v1/__iterator/iterator_traits.h:476:8: note: '__libcpp_is_contiguous_iterator' declared here 476 | struct __libcpp_is_contiguous_iterator : _Or< | ^ This is because the copy of chromium in qt6-webengine is missing an upstream fix for recent libc++ changes, in particular: https://chromium.googlesource.com/chromium/src/+/9bfbbffdba73668fdb483e5a850911d2b64c35d7 and its dependency: https://chromium.googlesource.com/chromium/src/+/5b5551edd3961481e617e510276b9f015a35b861 Apply these patches to work around the compile error. PR: 273753 MFH: 2023Q4 ...mium_base_containers_checked__iterators.h (new) | 75 ++++++++++++++++++++++ 1 file changed, 75 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=15c83087b3d08f00fd6d510df6491e9ff9e80ce8 commit 15c83087b3d08f00fd6d510df6491e9ff9e80ce8 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-11 17:41:29 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-11 17:46:13 +0000 multimedia/mlt7: fix build with lld 17 Building multimedia/mlt7 with lld 17 results in the following link errors: ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_frame_get_alpha_mask' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_close' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_fetch' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_get_length' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_init' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_insert' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_interpolate' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_next_key' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_parse' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_parse_item' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_prev_key' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_refresh' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_remove' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_serialise' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_serialise_cut' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_geometry_set_length' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_playlist_move_region' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_sample_calculator' failed: symbol not defined ld: error: version script assignment of 'MLT_0.8.8' to symbol 'mlt_sample_calculator_to_now' failed: symbol not defined ld: error: version script assignment of 'MLT_0.9.10' to symbol 'mlt_properties_to_utf8' failed: symbol not defined Add -Wl,--undefined-version to LDFLAGS to suppress these errors, since mlt7 has several symbols that are defined conditionally (depending on the target platform). PR: 273753 MFH: 2023Q4 multimedia/mlt7/Makefile | 3 +++ 1 file changed, 3 insertions(+)
science/py-qiskit-terra is a false positive: => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/Qiskit-qiskit-terra-0.25.1_GH0.tar.gz fetch: http://distcache.FreeBSD.org/ports-distfiles/Qiskit-qiskit-terra-0.25.1_GH0.tar.gz: Not Found At the moment (2023-11-12T20:16) the distfile is still not available, so the port was somehow badly updated.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8ff2feb5df79c0f6c3ac3d8746cc19567a1903b commit b8ff2feb5df79c0f6c3ac3d8746cc19567a1903b Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-12 20:00:48 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-12 20:04:01 +0000 java/openjdk18: fix build with lld 17 Building java/openjdk18 with lld 17 results in the following link errors: ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZ21WB_HandshakeWalkStackE16TraceSelfClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZ24WB_HandshakeReadMonitorsE19ReadMonitorsClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZ26WB_AsyncHandshakeWalkStackE16TraceSelfClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZL20reinitialize_itablesvE18ReinitTableClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN12JvmtiEnvBase27check_for_periodic_clean_upEvE28ThreadInsideIterationClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN15G1RemSetSummary6updateEvE11CollectData' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN16SATBMarkQueueSet22set_active_all_threadsEbbE22SetThreadActiveClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN16SATBMarkQueueSet23abandon_partial_markingEvE25AbandonThreadQueueClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN18G1ConcurrentRefine30get_and_reset_refinement_statsEvE12CollectStats' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN19G1DirtyCardQueueSet12abandon_logsEvE23AbandonThreadLogClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN19G1DirtyCardQueueSet16concatenate_logsEvE27ConcatenateThreadLogClosure' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN19G1DirtyCardQueueSet30get_and_reset_refinement_statsEvE12CollectStats' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.1' to symbol '_ZTVZN7Threads25change_thread_claim_tokenEvE11ResetClaims' failed: symbol not defined This is because lld 17 defaults to errors when undefined symbols are referenced in linker version scripts. The problem is due to the Makefile JvmMapfile.gmk, which generates a linker version script. It uses "nm --defined-only" to dump symbols in object files, but this also includes local (hidden) symbols. Add "--extern-only" to make it only dump global symbols. PR: 273753 MFH: 2023Q4 .../patch-make_hotspot_lib_JvmMapfile.gmk (new) | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e0c21e404ed0f04c06c3bce7dd093c6e5ffea188 commit e0c21e404ed0f04c06c3bce7dd093c6e5ffea188 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-13 13:16:57 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-13 19:06:23 +0000 java/openjfx14: fix build with lld 17 Building java/openjfx14 with lld 17 results in the following link errors: ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF6StringC1EPKtj' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF8LockBase8lockSlowEv' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF8LockBase10unlockSlowEv' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF10fastMallocEj' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZN3WTF16fastZeroedMallocEj' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol '_ZNK3WTF10StringView23underlyingStringIsValidEv' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_addRangeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_collapseImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_collapseToEndImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_collapseToStartImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_containsNodeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_deleteFromDocumentImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_dispose' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_emptyImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_extendImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getAnchorNodeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getAnchorOffsetImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getBaseNodeImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getBaseOffsetImpl' failed: symbol not defined ld: error: version script assignment of 'SUNWprivate_1.0' to symbol 'Java_com_sun_webkit_dom_DOMSelectionImpl_getExtentNodeImpl' failed: symbol not defined This is because lld 17 defaults to errors when undefined symbols are referenced in linker version scripts. Suppress the errors since openjfx14 is mostly unmaintained. PR: 273753 MFH: 2023Q4 java/openjfx14/Makefile | 3 +++ 1 file changed, 3 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b31c713f303a5da241f8efce52bf76bf3650165 commit 0b31c713f303a5da241f8efce52bf76bf3650165 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-14 20:09:53 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-14 22:31:35 +0000 devel/librevisa: fix build with lld 17 Building devel/librevisa with lld 17 results in the following link errors: ld: error: version script assignment of 'global' to symbol 'viAssertIntrSignal' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viAssertTrigger' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viAssertUtilSignal' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viBufRead' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viBufWrite' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viClear' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viDiscardEvents' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGetDefaultRM' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibCommand' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibControlATN' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibControlREN' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibPassControl' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viGpibSendIFC' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn16' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn16Ex' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn32' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn32Ex' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn64' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn64Ex' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'viIn8' failed: symbol not defined ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) The mentioned symbols have been removed from libvisa.so, so remove them from the linker version script. PR: 273753 MFH: 2023Q4 devel/librevisa/files/patch-src_libvisa.sym (new) | 112 ++++++++++++++++++++++ 1 file changed, 112 insertions(+)
Note: https://github.com/DimitryAndric/freebsd-src/tree/llvm-17-update has been re-synced with main as of https://github.com/freebsd/freebsd-src/commit/884eeff20ce91ff9fd5cd0a1766e094dcb15b463, and contrib/llvm-project has been updated to https://github.com/llvm/llvm-project/tree/llvmorg-17.0.5 .
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2932218a3cd1f02024412b4d6912d17f131b3d80 commit 2932218a3cd1f02024412b4d6912d17f131b3d80 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-19 20:02:35 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-19 20:10:09 +0000 databases/ldb22: fix build with lld 17 Building databases/ldb22 with lld 17 results in the following link errors: ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_connect_backend' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_init_module_chain' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_load_modules_list' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_asq_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_results_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_searches_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_rdn_name_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_sample_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_server_sort_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_skel_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_tdb_init' failed: symbol not defined ld: error: version script assignment of 'LDB_1.1.25' to symbol 'ldb_unpack_data_only_attr_list' failed: symbol not defined ld: error: version script assignment of 'LDB_1.1.27' to symbol 'ldb_unpack_data_only_attr_list_flags' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined Since the linker version scripts are generated dynamically, suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q4 databases/ldb22/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=242979f142ce076beb442e76560495e0c8a2031f commit 242979f142ce076beb442e76560495e0c8a2031f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-19 20:06:14 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-19 20:10:10 +0000 databases/ldb15: fix build with lld 17 Building databases/ldb15 with lld 17 results in the following link errors: ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_connect_backend' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_init_module_chain' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_load_modules_list' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_asq_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_results_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_searches_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_rdn_name_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_sample_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_server_sort_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_skel_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_tdb_init' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined Since the linker version scripts are generated dynamically, suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q4 databases/ldb15/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=d049bac0155cc703dc9d9b731897ec6c03803750 commit d049bac0155cc703dc9d9b731897ec6c03803750 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-19 20:05:09 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-19 20:10:09 +0000 databases/ldb21: fix build with lld 17 Building databases/ldb21 with lld 17 results in the following link errors: ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_connect_backend' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_init_module_chain' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_load_modules_list' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_asq_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_results_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_searches_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_rdn_name_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_sample_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_server_sort_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_skel_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_tdb_init' failed: symbol not defined ld: error: version script assignment of 'LDB_1.1.25' to symbol 'ldb_unpack_data_only_attr_list' failed: symbol not defined ld: error: version script assignment of 'LDB_1.1.27' to symbol 'ldb_unpack_data_only_attr_list_flags' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined Since the linker version scripts are generated dynamically, suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q4 databases/ldb21/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=15d19c74ba1a393fb74ec983c06b61cce329cc8a commit 15d19c74ba1a393fb74ec983c06b61cce329cc8a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-19 20:05:41 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-19 20:10:10 +0000 databases/ldb20: fix build with lld 17 Building databases/ldb20 with lld 17 results in the following link errors: ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_connect_backend' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_init_module_chain' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.10' to symbol 'ldb_load_modules_list' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_asq_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_results_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_paged_searches_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_rdn_name_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_sample_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_server_sort_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_skel_init' failed: symbol not defined ld: error: version script assignment of 'LDB_0.9.18' to symbol 'ldb_tdb_init' failed: symbol not defined ld: error: version script assignment of 'LDB_1.1.25' to symbol 'ldb_unpack_data_only_attr_list' failed: symbol not defined ld: error: version script assignment of 'LDB_1.1.27' to symbol 'ldb_unpack_data_only_attr_list_flags' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_end' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '__bss_start' failed: symbol not defined ld: error: version script assignment of 'local' to symbol '_edata' failed: symbol not defined Since the linker version scripts are generated dynamically, suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q4 databases/ldb20/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=aef056cf0fe1852a7b708d090310a6eb4853b269 commit aef056cf0fe1852a7b708d090310a6eb4853b269 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-19 20:35:30 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-19 20:36:08 +0000 databases/rubygem-pg_query: fix build with lld 17 Building databases/rubygem-pg_query with lld 17 results in the following link error: ld: error: version script assignment of 'global' to symbol '_Init_pg_query' failed: symbol not defined The mentioned symbol has been removed from pg_query.so, so remove it from the linker version script. PR: 273753 MFH: 2023Q4 .../rubygem-pg_query/files/patch-ext_pg__query_pg__query__ruby.sym | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=000f07df113165b4126a0108b51e4e2956d1fbfb commit 000f07df113165b4126a0108b51e4e2956d1fbfb Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-26 10:45:00 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2023-11-22 00:46:51 +0000 www/qt5-webengine: fix build with libc++ 17 Building www/qt5-webengine with libc++ 17 results in the following compile errors: In file included from ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/trace_sorter.cc:17: In file included from /usr/include/c++/v1/algorithm:1803: In file included from /usr/include/c++/v1/__algorithm/nth_element.h:15: /usr/include/c++/v1/__algorithm/sort.h:577:14: error: no viable overloaded '=' 577 | *__begin = _Ops::__iter_move(__pivot_pos); | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/v1/__algorithm/sort.h:802:20: note: in instantiation of function template specialization 'std::__bitset_partition<std::_ClassicAlgPolicy, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void> &>' requested here 802 | ? std::__bitset_partition<_AlgPolicy, _RandomAccessIterator, _Compare>(__first, __last, __comp) | ^ /usr/include/c++/v1/__algorithm/sort.h:878:8: note: in instantiation of function template specialization 'std::__introsort<std::_ClassicAlgPolicy, std::__less<void, void> &, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, false>' requested here 878 | std::__introsort<_AlgPolicy, | ^ /usr/include/c++/v1/__algorithm/sort.h:946:10: note: in instantiation of function template specialization 'std::__sort_dispatch<std::_ClassicAlgPolicy, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void>>' requested here 946 | std::__sort_dispatch<_AlgPolicy>(std::__unwrap_iter(__first), std::__unwrap_iter(__last), __comp); | ^ /usr/include/c++/v1/__algorithm/sort.h:954:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void>>' requested here 954 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp); | ^ /usr/include/c++/v1/__algorithm/sort.h:960:8: note: in instantiation of function template specialization 'std::sort<perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator, std::__less<void, void>>' requested here 960 | std::sort(__first, __last, __less<>()); | ^ ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/trace_sorter.cc:51:8: note: in instantiation of function template specialization 'std::sort<perfetto::base::CircularQueue<perfetto::trace_processor::TimestampedTracePiece>::Iterator>' requested here 51 | std::sort(sort_begin, events_.end()); | ^ ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/timestamped_trace_piece.h:191:26: note: candidate function not viable: 'this' argument has type 'const perfetto::trace_processor::TimestampedTracePiece', but method is not marked const 191 | TimestampedTracePiece& operator=(TimestampedTracePiece&& ttp) { | ^ ../../../../kde-qtwebengine-5.15.15p0/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/timestamped_trace_piece.h:202:26: note: candidate function not viable: 'this' argument has type 'const perfetto::trace_processor::TimestampedTracePiece', but method is not marked const 202 | TimestampedTracePiece& operator=(const TimestampedTracePiece&) = delete; | ^ This is because perfetto's CircularQueue template is only half const-correct. Upstream fixed this in: https://github.com/google/perfetto/commit/b82a213bcf71dd8e68b53941375936c7905c0ff2 so apply that fix to qt5-webengine's older copy of perfetto. PR: 274740, 273753 MFH: 2023Q4 (cherry picked from commit bfcd2a9b6f168c590da52dfefa0aacf1b021d30f) ...clude_perfetto_ext_base_circular__queue.h (new) | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3966e6733b0b54a503a6c14574dfbeffb7bdeabd commit 3966e6733b0b54a503a6c14574dfbeffb7bdeabd Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2023-11-22 16:37:00 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-11-22 16:38:26 +0000 lang/rust: Garbage collect powerpc patches PR: 273753 ..._llvm_lib_Driver_ToolChains_Arch_PPC.cpp (gone) | 12 ---------- ...llvm_lib_Target_PowerPC_PPCSubtarget.cpp (gone) | 13 ----------- ...et_src_spec_powerpc__unknown__freebsd.rs (gone) | 27 ---------------------- 3 files changed, 52 deletions(-)
Woops, sorry for the noise.
(In reply to Piotr Kubaj from comment #80) Piotr, is this because the FreeBSD <= 12 support can now be dropped? We still have similar patches in our contrib/llvm-project.
No, it's because it seems to have been upstreamed into LLVM, at least Rust's LLVM has it since https://github.com/rust-lang/llvm-project/commit/5d585c9dd07d0df4d450e2b1ba61fb17a5153aac
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=82a2ee4733f06470946894f5e38329274a29057d commit 82a2ee4733f06470946894f5e38329274a29057d Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-25 17:59:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-25 18:43:29 +0000 lang/libhx: fix build with lld 17 Building lang/libhx with lld 17 results in the following link errors: ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_basename' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_basename_exact' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_chomp' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_copy_dir' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_copy_file' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dirname' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlclose' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlerror' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlopen' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_dlsym' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_drand' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_exit' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_ffs' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_fls' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getl' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_help' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_help_cb' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_usage' failed: symbol not defined ld: error: version script assignment of 'LIBHX_3.25' to symbol 'HX_getopt_usage_cb' failed: symbol not defined Since the linker version script is also used for a "rtcheck" library which does not implement any of the symbols, suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2023Q4 lang/libhx/files/patch-src_Makefile.in (new) | 11 +++++++++++ 1 file changed, 11 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a864243fb7ae1932341fce17598cfc588150156d commit a864243fb7ae1932341fce17598cfc588150156d Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-25 19:15:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-11-25 19:21:34 +0000 sysutils/opensbi: fix build with clang 17 Building sysutils/opensbi with clang 17 results in the following errors: clang: error: unsupported option '-mno-unaligned-access' for target 'riscv64-unknown-elf' clang: error: unsupported option '-mno-unaligned-access' for target 'riscv64-unknown-elf' [... many more times...] The target-specific option -mno-unaligned-access (which is emitted from the compiler driver when -mstrict-align is used) did not do anything for riscv64, but clang 17 is now more strict about reporting unsupported options. Remove the -mstrict-align option from the Makefile's CFLAGS and ASFLAGS to fix it. PR: 273753 MFH: 2023Q4 sysutils/opensbi/files/patch-Makefile (new) | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
(In reply to commit-hook from comment #64) Could 9b214a66ea8788a6da299139decf506a4b4f5ff1 be MFH to 2023Q4? Thanks
(In reply to Nuno Teixeira from comment #85) I marked it for MFH, but I never do any MFHs myself. As far as I understand, these happen semi-automatically, at the discretion of portmgr, or some other regulatory body? :)
(In reply to Dimitry Andric from comment #86) https://docs.freebsd.org/en/articles/committers-guide/#ports-qa-misc-commit-mfh Well, when a committer marks an commit to be MFHed to quarterly, it is recommended that same committer will commit it to quarterly. This because he will know about current state of tests, exp-runs, etc. I could commit it but I will need to redo testing on quarterly again and thats does no make sense. A pratical example of a port marked to be MFHed: - commit on main: ### The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=736efe4e0149e1a5a887cd73fe4617462c8161d3 security/gopass: Update to 1.15.11 ChangeLog: https://github.com/gopasspw/gopass/blob/v1.15.11/CHANGELOG.md MFH: 2023Q4 ### and MFH to quarterly: ### The branch 2023Q4 has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=c150858e8e4fdc8da48471e17f103a9e7e9905ec security/gopass: Update to 1.15.11 ChangeLog: https://github.com/gopasspw/gopass/blob/v1.15.11/CHANGELOG.md MFH: 2023Q4 (cherry picked from commit 736efe4e0149e1a5a887cd73fe4617462c8161d3) ### Cheers
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=37790b26cbda11cd4bb6f237b86cd94739c4059c commit 37790b26cbda11cd4bb6f237b86cd94739c4059c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-03 14:35:33 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-03 14:40:25 +0000 x11/virtualgl: fix build with lld 17 Building x11/virtualgl with lld 17 results in the following link errors: ld: error: version script assignment of 'global' to symbol 'clCreateContext' failed: symbol not defined Since the same linker version script is used for all "libvglfaker" library variants, where only one of the implements the clCreateContext symbol, suppress errors with lld >= 17 due to this undefined symbol. PR: 273753 MFH: 2023Q4 x11/virtualgl/Makefile | 5 +++++ 1 file changed, 5 insertions(+)
(In reply to Nuno Teixeira from comment #87) Well, since these things are all build fixes, I assume it is no problem to MFH them. On the other hand, I will merge the llvm-17-update branch to 15-CURRENT soon (hopefully!) but not many -CURRENT users are likely to use the quarterly branch. Of course at some point I will MFC the llvm 17 update to stable/14 and stable/13, but that will certainly take at least a month, in which case the ports r2024Q1 branch should have been created? So that will automatically have all the fixes I have committed for this bug.
(In reply to Dimitry Andric from comment #89) Yes, you are right. I misunderstood MFH logic a little bit. Anyway, related to wxWidgets I will not do any MFH to 2023Q4 because it is almost ending and PR is still opened waiting for a upstream build fix to get merged. Thanks for explanation. Cheers
https://github.com/DimitryAndric/freebsd-src/commit/d2e9ccbb8b576705e190af5ff6067c99f9a528e1 should solve the databases/mongodb44 assertion (https://pkg-status.freebsd.org/gohan04/data/mainamd64PR273753-default-foo/2023-11-04_20h45m56s/logs/errors/mongodb44-4.4.25.log)
lang/quilc was a distfile error, not clang related.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0971018ca3f2753930333e2456650e6b6ce7dccf commit 0971018ca3f2753930333e2456650e6b6ce7dccf Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-07 20:05:12 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-07 20:09:19 +0000 multimedia/l-smash: fix build with lld 17 Building multimedia/l-smash with lld 17 results in the following link error: ld: error: version script assignment of 'local' to symbol 'lsmash_string_to_wchar' failed: symbol not defined The mentioned symbol is only used for Windows, but the configure script fails to remove it from the linker script. Ensure the configure script's sed command does removes it. PR: 273753 MFH: 2023Q4 multimedia/l-smash/files/patch-configure | 8 ++++++++ 1 file changed, 8 insertions(+)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb35b52f490f391b20885221e95d672e4b711dd6 commit bb35b52f490f391b20885221e95d672e4b711dd6 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-07 20:55:46 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-07 20:57:54 +0000 devel/opencl-clang: fix build with lld 17 Building devel/opencl-clang with lld 17 results in the following link error: ld: error: version script assignment of 'global' to symbol 'CheckLinkOptions' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'Link' failed: symbol not defined ld: error: version script assignment of 'global' to symbol 'GetKernelArgInfo' failed: symbol not defined The mentioned symbols are no longer in common_clang.cpp, so remove them from the linker version script. PR: 273753 MFH: 2023Q4 devel/opencl-clang/files/patch-common__clang.map (new) | 13 +++++++++++++ 1 file changed, 13 insertions(+)
games/scummvm builds fine now after the 17.0.6 import. So I think I have now done all ports mentioned in comment 63. Does portmgr@ now think the llvm-17-update branch is in good enough shape to merge to 15-CURRENT? (As noted, I will do 2023Q4 MFHs if they are requested, but the MFC of llvm-17 is not likely to occur before 2024Q1 is branched, so it is probably not necessary.)
(In reply to Dimitry Andric from comment #95) It should be fine. Please wait at lease 1 month and 2024Q1 before merging to stable/14
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c711af7727824da79d87f375f3d6829feec3799a commit c711af7727824da79d87f375f3d6829feec3799a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-08 17:36:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:36:40 +0000 Bump __FreeBSD_version for llvm 17.0.6 merge PR: 273753 MFC after: 1 month sys/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=feb5b0c76f9c7b510583b0489918300cbf966e0f commit feb5b0c76f9c7b510583b0489918300cbf966e0f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-07 12:47:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:36:06 +0000 Merge commit 158f4f30adb4 from llvm git (by Corentin Jabot): [Clang] Do not change the type of captured vars when checking lambda constraints When checking the constraint of a lambda, we need to respect the constness of the call operator when establishing the type of capture variables. In D124351, this was done by adding const to the captured variable... However, that would change the type of the variable outside of the scope of the lambda, which is clearly not the desired outcome. Instead, to ensure const-correctness, we need to populate a LambdaScopeInfo with the capture variables before checking the constraints of a generic lambda. There is no changelog as I'd like to tentatively propose we backport this change to RC3 as it is a regression introduced in the Clang 17 cycle. Fixes #61267 Reviewed By: aaron.ballman, #clang-language-wg Differential Revision: https://reviews.llvm.org/D158433 Merge commit 3ed9e9e3ace6 from llvm git (by Corentin Jabot): [Clang] Add captures to the instantiation scope of lambda call operators Like concepts checking, a trailing return type of a lambda in a dependent context may refer to captures in which case they may need to be rebuilt, so the map of local decl should include captures. This patch reveal a pre-existing issue. `this` is always recomputed by TreeTransform. `*this` (like all captures) only become `const` after the parameter list. However, if try to recompute the value of `this` (in a parameter) during template instantiation while determining the type of the call operator, we will determine it to be const (unless the lambda is mutable). There is no good way to know at that point that we are in a parameter or not, the easiest/best solution is to transform the type of this. Note that doing so break a handful of HLSL tests. So this is a prototype at this point. Fixes #65067 Fixes #63675 Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D159126 This fixes 'Assertion failed: (isa<LabelDecl>(D) && "declaration not instantiated in this scope"), function findInstantiationOf' error when building databases/mongodb44. PR: 273753 MFC after: 1 month .../llvm-project/clang/include/clang/Sema/Sema.h | 10 +++++++ .../llvm-project/clang/lib/Sema/SemaConcept.cpp | 29 ++++++-------------- contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 16 +++++++---- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 15 +++++----- contrib/llvm-project/clang/lib/Sema/SemaLambda.cpp | 32 ++++++++++++++++++++++ .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 3 ++ .../llvm-project/clang/lib/Sema/TreeTransform.h | 11 +++++++- 7 files changed, 82 insertions(+), 34 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=5c16e71d30c388dd43b217de10a3ccb4b0219d0d commit 5c16e71d30c388dd43b217de10a3ccb4b0219d0d Merge: b121cb0095c8 703029dbba78 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-30 20:06:52 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:35:59 +0000 Merge llvm-project release/17.x llvmorg-17.0.6-0-g6009708b4367 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.6-0-g6009708b4367. PR: 273753 MFC after: 1 month .../clang/include/clang/Driver/Options.td | 3 -- .../clang/Frontend/DependencyOutputOptions.h | 11 +++---- .../clang/include/clang/Frontend/Utils.h | 11 +------ .../clang/lib/Basic/Targets/OSTargets.h | 16 ++++++++- .../clang/lib/Driver/ToolChains/Clang.cpp | 3 -- .../clang/lib/Driver/ToolChains/WebAssembly.cpp | 38 ++++++++++++++-------- .../clang/lib/Format/TokenAnnotator.cpp | 4 +-- .../clang/lib/Format/WhitespaceManager.cpp | 4 ++- .../clang/lib/Format/WhitespaceManager.h | 2 +- .../clang/lib/Frontend/DependencyFile.cpp | 32 ++++-------------- contrib/llvm-project/clang/lib/Lex/ModuleMap.cpp | 8 ++--- .../llvm-project/clang/lib/Sema/SemaOverload.cpp | 19 ++++------- contrib/llvm-project/libcxx/include/__config | 2 +- .../libcxx/include/__memory/shared_ptr.h | 5 +-- .../llvm/lib/ExecutionEngine/JITLink/aarch32.cpp | 2 +- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 10 +++--- lib/clang/include/VCSVersion.inc | 6 ++-- lib/clang/include/clang/Basic/Version.inc | 6 ++-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 ++-- lib/clang/include/llvm/Config/config.h | 4 +-- lib/clang/include/llvm/Config/llvm-config.h | 4 +-- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 23 files changed, 94 insertions(+), 106 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b121cb0095c8c1a060f66a8c4b118a54ebaa2551 commit b121cb0095c8c1a060f66a8c4b118a54ebaa2551 Merge: bdb86d1a853a fc0a8108a55a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-16 21:58:12 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:35:50 +0000 Merge llvm-project release/17.x llvmorg-17.0.5-0-g98bfdac5ce82 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.5-0-g98bfdac5ce82. PR: 273753 MFC after: 1 month .../include/clang/Basic/DiagnosticASTKinds.td | 2 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 7 +- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 13 +- .../llvm-project/clang/lib/AST/Interp/Interp.cpp | 3 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 7 +- .../clang/lib/Driver/ToolChains/Solaris.cpp | 9 +- .../clang/lib/Format/TokenAnnotator.cpp | 6 + .../clang/lib/Format/WhitespaceManager.cpp | 2 +- contrib/llvm-project/clang/lib/Parse/ParseDecl.cpp | 11 +- contrib/llvm-project/libcxx/include/__config | 60 +++++-- .../libcxx/include/__expected/expected.h | 182 ++++++++++----------- .../llvm/lib/CodeGen/BranchFolding.cpp | 6 - .../llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 + .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 10 ++ .../llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 24 +++ .../Target/AArch64/AArch64TargetTransformInfo.h | 3 + .../Target/AArch64/GISel/AArch64CallLowering.cpp | 7 +- .../llvm/lib/Target/LoongArch/LoongArch.h | 2 + .../LoongArch/LoongArchExpandPseudoInsts.cpp | 121 ++++++++++++++ .../Target/LoongArch/LoongArchFloat32InstrInfo.td | 17 ++ .../Target/LoongArch/LoongArchFloatInstrFormats.td | 12 ++ .../lib/Target/LoongArch/LoongArchInstrInfo.cpp | 6 + .../lib/Target/LoongArch/LoongArchRegisterInfo.cpp | 7 - .../Target/LoongArch/LoongArchTargetMachine.cpp | 1 + .../llvm/lib/Target/Mips/MipsISelLowering.cpp | 14 +- .../llvm/lib/Target/RISCV/RISCVInstrInfo.cpp | 19 ++- .../llvm/lib/Transforms/IPO/GlobalOpt.cpp | 30 +++- .../Transforms/Scalar/ConstraintElimination.cpp | 16 +- .../Scalar/CorrelatedValuePropagation.cpp | 68 ++++---- .../llvm/lib/Transforms/Scalar/GVN.cpp | 11 +- .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 1 + .../lib/Transforms/Vectorize/SLPVectorizer.cpp | 3 +- .../openmp/runtime/src/kmp_runtime.cpp | 3 +- .../openmp/runtime/src/kmp_wrapper_getpid.h | 2 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 42 files changed, 490 insertions(+), 228 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bdb86d1a853a919764f65fdedcea76d76e4d619b commit bdb86d1a853a919764f65fdedcea76d76e4d619b Merge: 3bd749dbd90c cd255c5cf244 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-21 13:31:11 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:35:41 +0000 Merge llvm-project release/17.x llvmorg-17.0.3-0-g888437e1b600 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.3-0-g888437e1b600. PR: 273753 MFC after: 1 month .../clang/lib/Driver/ToolChains/MinGW.cpp | 2 + .../clang/lib/Format/UnwrappedLineParser.cpp | 24 +++++++++ .../clang/lib/Format/UnwrappedLineParser.h | 11 ++++ .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 25 +++++---- .../clang/utils/TableGen/ClangAttrEmitter.cpp | 17 +++--- contrib/llvm-project/libcxx/include/__config | 2 +- contrib/llvm-project/lld/COFF/InputFiles.cpp | 2 + .../llvm/lib/Analysis/LazyValueInfo.cpp | 2 +- contrib/llvm-project/llvm/lib/MC/MCWin64EH.cpp | 3 ++ .../lib/Target/AArch64/AArch64ISelLowering.cpp | 7 ++- .../llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 +- .../llvm/lib/Target/X86/X86ISelLowering.cpp | 21 ++++++-- .../Instrumentation/AddressSanitizer.cpp | 61 ++++++++++++---------- lib/clang/include/VCSVersion.inc | 6 +-- lib/clang/include/clang/Basic/Version.inc | 6 +-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +-- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 20 files changed, 139 insertions(+), 70 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3bd749dbd90cc3b95719b65393df5ca8a0fe919d commit 3bd749dbd90cc3b95719b65393df5ca8a0fe919d Merge: 4542f901cb0c 7d1b50167725 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-04 18:24:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:35:33 +0000 Merge llvm-project release/17.x llvmorg-17.0.2-0-gb2417f51dbbd This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.2-0-gb2417f51dbbd. PR: 273753 MFC after: 1 month .../clang/lib/Driver/ToolChains/MinGW.cpp | 7 ++-- .../llvm-project/libcxx/include/__utility/pair.h | 4 +-- contrib/llvm-project/lld/COFF/Driver.cpp | 42 +++++++++++----------- contrib/llvm-project/lld/Common/Filesystem.cpp | 2 +- .../lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 +- lib/clang/include/VCSVersion.inc | 6 ++-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 8 files changed, 36 insertions(+), 31 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4542f901cb0c5dd66ab5b541f2fbc659fd46f893 commit 4542f901cb0c5dd66ab5b541f2fbc659fd46f893 Merge: 8a4dda33d675 4bbf1f460eb3 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-29 18:51:44 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:35:22 +0000 Merge llvm-project release/17.x llvmorg-17.0.1-25-g098e653a5bed This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.1-25-g098e653a5bed. PR: 273753 MFC after: 1 month .../DependencyScanningFilesystem.h | 18 ++++- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 17 +++-- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 24 ------- .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 33 --------- .../clang/lib/CodeGen/CodeGenFunction.h | 5 -- .../clang/lib/Frontend/TextDiagnostic.cpp | 3 +- .../cuda_wrappers/bits/basic_string.h (new) | 9 +++ .../cuda_wrappers/bits/basic_string.tcc (new) | 9 +++ .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 6 +- .../DependencyScanningFilesystem.cpp | 79 ++++++++++++++++++---- contrib/llvm-project/libcxx/include/__config | 2 +- contrib/llvm-project/lld/COFF/Writer.cpp | 2 +- .../llvm/include/llvm/Transforms/Utils/Local.h | 10 +++ .../llvm-project/llvm/lib/Analysis/InlineCost.cpp | 20 ++---- .../llvm/lib/CodeGen/StackColoring.cpp | 62 ++++------------- .../lib/Target/AArch64/AArch64ISelLowering.cpp | 4 +- .../llvm/lib/Target/ARM/ARMInstrInfo.td | 2 +- .../llvm/lib/Target/ARM/ARMInstrThumb2.td | 2 +- .../llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 28 ++++++-- .../llvm/lib/Transforms/Scalar/GVN.cpp | 7 +- .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 23 ++++--- .../lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 61 +++++++++-------- .../llvm/lib/Transforms/Utils/Local.cpp | 31 +++++++-- .../llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 12 ++-- contrib/llvm-project/llvm/tools/lli/lli.cpp | 14 ++++ .../llvm/tools/llvm-readobj/COFFDumper.cpp | 30 ++++---- lib/clang/headers/Makefile | 22 ++++-- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 34 files changed, 319 insertions(+), 246 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8a4dda33d67586ca2624f2a38417baa03a533a7f commit 8a4dda33d67586ca2624f2a38417baa03a533a7f Merge: 06c3fb2749bd 8092e001bcd7 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-11 18:37:24 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 17:35:11 +0000 Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.0-rc4-10-g0176e8729ea4. PR: 273753 MFC after: 1 month .../clang/include/clang/AST/DeclBase.h | 6 +- .../clang/include/clang/AST/ExprConcepts.h | 14 +- .../clang/include/clang/Basic/CodeGenOptions.def | 1 - .../include/clang/Basic/DiagnosticASTKinds.td | 2 + .../clang/include/clang/Basic/DiagnosticGroups.td | 1 + .../include/clang/Basic/DiagnosticLexKinds.td | 4 + .../clang/include/clang/Basic/Sanitizers.h | 4 + .../clang/include/clang/Basic/TargetInfo.h | 4 +- .../clang/include/clang/Basic/riscv_vector.td | 52 +--- .../clang/include/clang/CodeGen/CGFunctionInfo.h | 29 +- .../clang/include/clang/Driver/Options.td | 14 +- .../clang/include/clang/Driver/ToolChain.h | 2 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 2 - contrib/llvm-project/clang/lib/AST/ASTContext.cpp | 5 +- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 27 +- .../clang/lib/Basic/Targets/LoongArch.cpp | 21 +- .../clang/lib/Basic/Targets/LoongArch.h | 13 + .../llvm-project/clang/lib/Basic/Targets/RISCV.cpp | 4 +- .../llvm-project/clang/lib/CodeGen/ABIInfoImpl.cpp | 13 +- .../llvm-project/clang/lib/CodeGen/ABIInfoImpl.h | 14 +- .../llvm-project/clang/lib/CodeGen/BackendUtil.cpp | 23 +- .../llvm-project/clang/lib/CodeGen/CGCXXABI.cpp | 3 +- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 244 +++++++++------- contrib/llvm-project/clang/lib/CodeGen/CGCall.h | 29 ++ contrib/llvm-project/clang/lib/CodeGen/CGClass.cpp | 106 ++++++- .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 33 +++ .../llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 13 +- .../llvm-project/clang/lib/CodeGen/CGDebugInfo.h | 2 +- contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp | 2 +- .../llvm-project/clang/lib/CodeGen/CGDeclCXX.cpp | 4 +- contrib/llvm-project/clang/lib/CodeGen/CGExpr.cpp | 9 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 2 +- .../clang/lib/CodeGen/CGOpenMPRuntime.cpp | 11 +- .../clang/lib/CodeGen/CodeGenABITypes.cpp | 5 +- .../clang/lib/CodeGen/CodeGenFunction.cpp | 26 +- .../clang/lib/CodeGen/CodeGenFunction.h | 19 +- .../clang/lib/CodeGen/CodeGenModule.cpp | 34 ++- .../llvm-project/clang/lib/CodeGen/CodeGenModule.h | 20 +- .../llvm-project/clang/lib/CodeGen/CodeGenTypes.h | 12 +- .../clang/lib/CodeGen/ItaniumCXXABI.cpp | 2 +- .../clang/lib/CodeGen/MicrosoftCXXABI.cpp | 3 +- .../clang/lib/CodeGen/Targets/LoongArch.cpp | 11 +- .../clang/lib/CodeGen/Targets/RISCV.cpp | 24 +- .../llvm-project/clang/lib/CodeGen/Targets/X86.cpp | 16 +- contrib/llvm-project/clang/lib/Driver/Driver.cpp | 17 +- .../clang/lib/Driver/SanitizerArgs.cpp | 32 +++ .../llvm-project/clang/lib/Driver/ToolChain.cpp | 6 + .../clang/lib/Driver/ToolChains/AIX.cpp | 6 + .../clang/lib/Driver/ToolChains/Arch/LoongArch.cpp | 43 +-- .../clang/lib/Driver/ToolChains/Arch/LoongArch.h | 6 + .../clang/lib/Driver/ToolChains/Arch/X86.cpp | 6 + .../clang/lib/Driver/ToolChains/Clang.cpp | 39 +-- .../clang/lib/Driver/ToolChains/CommonArgs.cpp | 9 +- .../clang/lib/Driver/ToolChains/Gnu.cpp | 22 +- .../clang/lib/Driver/ToolChains/Hexagon.cpp | 5 + .../clang/lib/Driver/ToolChains/Solaris.cpp | 41 ++- .../clang/lib/Format/UnwrappedLineParser.cpp | 5 +- .../clang/lib/Frontend/FrontendAction.cpp | 5 + .../clang/lib/Headers/__clang_cuda_math.h | 2 +- .../lib/Headers/__clang_hip_libdevice_declares.h | 2 +- contrib/llvm-project/clang/lib/Headers/cpuid.h | 10 - .../clang/lib/Interpreter/IncrementalExecutor.cpp | 19 +- .../llvm-project/clang/lib/Lex/LiteralSupport.cpp | 41 ++- .../llvm-project/clang/lib/Parse/ParseDeclCXX.cpp | 19 +- .../clang/lib/Parse/ParseTentative.cpp | 1 + .../clang/lib/Sema/SemaAvailability.cpp | 12 + contrib/llvm-project/clang/lib/Sema/SemaCast.cpp | 8 + contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 3 +- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 95 +++---- .../llvm-project/clang/lib/Sema/SemaExprCXX.cpp | 25 +- contrib/llvm-project/clang/lib/Sema/SemaLookup.cpp | 68 +++-- .../clang/lib/Sema/SemaTemplateInstantiate.cpp | 17 +- .../llvm-project/clang/lib/Sema/TreeTransform.h | 4 + .../clang/lib/Serialization/ASTReaderDecl.cpp | 66 +++-- .../clang/lib/Serialization/ASTWriterDecl.cpp | 4 +- .../lib/Tooling/Inclusions/Stdlib/StdSymbolMap.inc | 54 ++++ .../compiler-rt/lib/asan/asan_interceptors.cpp | 56 ++-- .../compiler-rt/lib/asan/asan_interceptors.h | 2 - .../compiler-rt/lib/asan/asan_win_dll_thunk.cpp | 2 + .../compiler-rt/lib/builtins/aarch64/lse.S | 40 ++- .../compiler-rt/lib/builtins/clear_cache.c | 2 +- .../compiler-rt/lib/builtins/cpu_model.c | 5 +- .../compiler-rt/lib/interception/interception.h | 2 +- .../compiler-rt/lib/msan/msan_interceptors.cpp | 37 +++ .../compiler-rt/lib/profile/InstrProfilingFile.c | 10 +- .../sanitizer_common_interceptors.inc | 73 +++-- .../sanitizer_common_interceptors_format.inc | 16 +- .../sanitizer_stacktrace_sparc.cpp | 6 - .../sanitizer_unwind_linux_libcdep.cpp | 6 - .../symbolizer/scripts/global_symbols.txt | 7 + .../libcxx/include/__algorithm/pstl_sort.h | 1 + contrib/llvm-project/libcxx/include/__config | 36 ++- .../libcxx/include/__format/format_functions.h | 3 + .../__locale_dir/locale_base_api/locale_guard.h | 1 + .../llvm-project/libcxx/include/__mdspan/extents.h | 63 +++-- .../libcxx/include/__mdspan/layout_left.h | 32 ++- .../libcxx/include/__mdspan/layout_right.h | 30 +- .../libcxx/include/__mdspan/mdspan.h (new) | 308 +++++++++++++++++++++ .../libcxx/include/__std_clang_module (new) | 226 +++++++++++++++ .../__type_traits/is_nothrow_constructible.h | 3 +- contrib/llvm-project/libcxx/include/mdspan | 130 +++++++++ .../libcxx/include/module.modulemap.in | 65 ++--- contrib/llvm-project/libcxx/include/sstream | 50 ++-- .../llvm-project/libcxx/modules/std/atomic.cppm | 3 - .../llvm-project/libcxx/modules/std/execution.cppm | 2 +- .../libcxx/modules/std/filesystem.cppm | 4 +- .../llvm-project/libcxx/modules/std/mdspan.cppm | 2 +- contrib/llvm-project/libcxx/src/chrono.cpp | 2 +- .../libcxx/src/filesystem/filesystem_clock.cpp | 2 +- .../llvm-project/libunwind/src/Unwind-EHABI.cpp | 7 +- contrib/llvm-project/lld/ELF/Arch/LoongArch.cpp | 7 + contrib/llvm-project/lld/ELF/Arch/PPC.cpp | 12 +- contrib/llvm-project/lld/ELF/Arch/PPC64.cpp | 86 ++++-- contrib/llvm-project/lld/ELF/Target.h | 1 + contrib/llvm-project/lld/docs/ReleaseNotes.rst | 5 + .../ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp | 42 ++- .../Process/Utility/RegisterContextPOSIX_arm64.cpp | 4 + .../Process/Utility/RegisterContextPOSIX_arm64.h | 1 + .../Process/Utility/RegisterInfoPOSIX_arm64.h | 1 + .../elf-core/RegisterContextPOSIXCore_arm64.cpp | 14 + .../elf-core/RegisterContextPOSIXCore_arm64.h | 1 + .../Plugins/Process/elf-core/RegisterUtilities.h | 4 + .../llvm/include/llvm/ADT/FunctionExtras.h | 12 +- .../llvm/include/llvm/ADT/SmallVector.h | 4 +- .../llvm/include/llvm/Analysis/LazyValueInfo.h | 3 + .../llvm/include/llvm/Analysis/RegionInfoImpl.h | 4 +- .../llvm/include/llvm/Analysis/ValueTracking.h | 4 - .../llvm/include/llvm/CodeGen/CodeGenPassBuilder.h | 2 +- .../llvm/include/llvm/CodeGen/LowLevelType.h | 7 +- .../llvm/CodeGen/PreISelIntrinsicLowering.h | 4 + .../llvm/include/llvm/CodeGen/TargetInstrInfo.h | 17 -- .../llvm-project/llvm/include/llvm/Object/Wasm.h | 10 +- .../llvm/include/llvm/ObjectYAML/WasmYAML.h | 1 + .../llvm/include/llvm/Option/ArgList.h | 1 + .../llvm/include/llvm/Support/type_traits.h | 38 --- .../llvm/TargetParser/LoongArchTargetParser.h | 5 +- .../AggressiveInstCombine/AggressiveInstCombine.h | 2 +- .../llvm/Transforms/IPO/FunctionSpecialization.h | 15 +- .../llvm/Transforms/Scalar/MemCpyOptimizer.h | 4 - .../llvm/lib/Analysis/LazyValueInfo.cpp | 9 + .../llvm/lib/Analysis/ScalarEvolution.cpp | 2 +- .../llvm/lib/Analysis/ValueTracking.cpp | 7 - .../llvm/lib/CodeGen/CalcSpillWeights.cpp | 15 +- .../llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp | 30 +- .../llvm/lib/CodeGen/InlineSpiller.cpp | 34 ++- .../llvm/lib/CodeGen/LiveRangeEdit.cpp | 3 +- .../llvm/lib/CodeGen/LiveRangeShrink.cpp | 4 +- .../llvm-project/llvm/lib/CodeGen/MachineLICM.cpp | 4 + .../llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 54 ++-- .../llvm/lib/CodeGen/RegAllocGreedy.cpp | 21 +- .../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 6 +- .../llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 + .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 99 ++++--- contrib/llvm-project/llvm/lib/CodeGen/SplitKit.cpp | 17 +- contrib/llvm-project/llvm/lib/CodeGen/SplitKit.h | 7 +- .../llvm/lib/CodeGen/TargetInstrInfo.cpp | 7 +- .../llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 +- .../lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 21 +- contrib/llvm-project/llvm/lib/LTO/LTO.cpp | 7 +- .../llvm/lib/ObjCopy/wasm/WasmObject.h | 1 + .../llvm/lib/ObjCopy/wasm/WasmReader.cpp | 4 +- .../llvm/lib/ObjCopy/wasm/WasmWriter.cpp | 13 +- .../llvm-project/llvm/lib/Object/SymbolSize.cpp | 17 +- .../llvm/lib/Object/WasmObjectFile.cpp | 4 + .../llvm/lib/ObjectYAML/WasmEmitter.cpp | 12 +- .../llvm-project/llvm/lib/ObjectYAML/WasmYAML.cpp | 1 + contrib/llvm-project/llvm/lib/Option/ArgList.cpp | 7 + .../llvm-project/llvm/lib/TableGen/TGParser.cpp | 9 +- .../llvm/lib/Target/AArch64/AArch64.td | 6 +- .../lib/Target/AArch64/AArch64FrameLowering.cpp | 13 +- .../lib/Target/AArch64/AArch64ISelLowering.cpp | 69 +++-- .../llvm/lib/Target/AArch64/AArch64InstrFormats.td | 9 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 11 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.td | 20 +- .../Target/AArch64/AArch64LoadStoreOptimizer.cpp | 8 +- .../llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 49 ++-- .../llvm/lib/Target/AArch64/AArch64Subtarget.h | 2 +- .../Target/AArch64/GISel/AArch64CallLowering.cpp | 5 + .../llvm/lib/Target/AArch64/SVEInstrFormats.td | 7 + .../llvm-project/llvm/lib/Target/AMDGPU/AMDGPU.h | 4 - .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 37 ++- .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h | 2 +- .../llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 47 +++- .../llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h | 2 +- .../llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp | 16 +- .../llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 4 - .../llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 16 +- .../llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 2 +- .../llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | 7 +- .../llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 45 +-- .../llvm/lib/Target/AMDGPU/SIInstrInfo.h | 19 +- .../llvm/lib/Target/AMDGPU/SIInstructions.td | 7 - .../llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp | 136 ++------- .../lib/Target/AMDGPU/SILowerWWMCopies.cpp (gone) | 141 ---------- .../lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 69 ++--- .../llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 39 ++- .../llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 23 +- .../llvm/lib/Target/AMDGPU/SIRegisterInfo.h | 17 +- .../llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 2 + .../Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp | 6 +- .../llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp | 26 +- .../llvm-project/llvm/lib/Target/BPF/BTFDebug.cpp | 2 + .../llvm/lib/Target/LoongArch/LoongArch.td | 5 + .../lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp | 50 +++- .../Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp | 14 +- .../llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 37 +-- .../llvm/lib/Target/PowerPC/PPCInstrFormats.td | 6 + .../llvm/lib/Target/PowerPC/PPCInstrInfo.td | 9 + .../llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 4 - .../llvm/lib/Target/PowerPC/PPCScheduleP9.td | 2 +- .../llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp | 15 +- .../Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp | 9 + .../llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 39 +-- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 13 +- .../llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 26 +- .../lib/Target/RISCV/RISCVPushPopOptimizer.cpp | 3 +- .../llvm/lib/Target/Sparc/SparcInstrInfo.td | 16 ++ .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 5 + contrib/llvm-project/llvm/lib/Target/X86/X86.td | 7 + .../llvm/lib/Target/X86/X86ISelLowering.cpp | 96 ++++--- .../llvm/lib/Target/X86/X86ISelLowering.h | 2 - .../llvm/lib/Target/X86/X86InstrAVX512.td | 10 + .../llvm/lib/Target/X86/X86InstrSSE.td | 5 + .../llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 14 +- .../llvm/lib/Target/X86/X86TargetTransformInfo.h | 1 + .../llvm-project/llvm/lib/TargetParser/Host.cpp | 10 +- .../lib/TargetParser/LoongArchTargetParser.cpp | 12 + .../AggressiveInstCombine.cpp | 217 ++++----------- .../llvm/lib/Transforms/Coroutines/CoroElide.cpp | 83 ++++-- .../lib/Transforms/IPO/FunctionSpecialization.cpp | 82 +----- .../InstCombine/InstructionCombining.cpp | 2 +- .../Instrumentation/ControlHeightReduction.cpp | 14 + .../Transforms/Instrumentation/GCOVProfiling.cpp | 4 +- .../Transforms/Scalar/ConstraintElimination.cpp | 2 +- .../llvm/lib/Transforms/Scalar/JumpThreading.cpp | 2 + .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 256 +---------------- .../Transforms/Scalar/TailRecursionElimination.cpp | 6 + .../llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 14 +- .../lib/Transforms/Vectorize/LoopVectorize.cpp | 38 ++- .../llvm/tools/llvm-readobj/ELFDumper.cpp | 2 +- .../openmp/runtime/src/ompt-event-specific.h | 13 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 4 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 2 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/libc++/__config_site | 1 + lib/libc++/module.modulemap | 65 ++--- 249 files changed, 3393 insertions(+), 2248 deletions(-)
On to llvm-18! :)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=8e0f41677998b304f46c940f14f52abbfd828091 commit 8e0f41677998b304f46c940f14f52abbfd828091 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-08 21:20:03 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-08 21:22:12 +0000 ObsoleteFiles.inc: fix dates after llvm 17.0.6 merge. PR: 273753 MFC after: 1 month ObsoleteFiles.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ca217224f17229570f40227893353ca10ae1dda1 commit ca217224f17229570f40227893353ca10ae1dda1 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-13 18:53:17 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-13 18:53:17 +0000 Proactively remove libc++ __tuple header file that became a directory This was already handled in ObsoleteFiles.inc (see the 20230622 entry), but some people never run "make delete-old", or want to upgrade directly from a revision that still had libc++ 15 to the most recent revision. They would then encounter a failure during installworld, similar to: install: target directory `/usr/include/c++/v1/__tuple/' does not exist Therefore, clean it up in the distrib-cleanup phase, similar to the earlier instance of the libc++ __string header file that became a directory. PR: 273753 MFC after: 1 month etc/Makefile | 1 + 1 file changed, 1 insertion(+)
FYI, % firefox XPCOMGlueLoad error for file /usr/local/lib/firefox/libmozgtk.so: /usr/local/lib/libdbus-1.so.3: version LIBDBUS_1_3 required by /usr/local/lib/libatk-bridge-2.0.so.0 not defined Couldn't load XPCOM. % readelf --wide -s /usr/local/lib/libdbus-1.so.3 | grep LIBDBUS_1_3 # nothing here % readelf -p .comment /usr/local/lib/libdbus-1.so.3 String dump of section '.comment': [ 1] FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) [ 68] Linker: LLD 17.0.6 (FreeBSD llvmorg-17.0.6-0-g6009708b4367-1500000) I'll also note those exp-runs managed to miss the port I maintain (emulators/libc6-shim). That's not a big deal and I'll fix it, but kind of curious.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=87eea35e3f8bc559a5142d613826100b758c08fe commit 87eea35e3f8bc559a5142d613826100b758c08fe Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-20 19:13:47 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-12-20 19:16:57 +0000 Add missing /usr/include/c++/v1/__mdspan/mdspan.h header I missed this header while updating the Makefile for libc++ 17. PR: 273753 MFC after: 1 month lib/libc++/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=68584c97ecfb3046de7fb1b16c2caa785392237c commit 68584c97ecfb3046de7fb1b16c2caa785392237c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-08 17:36:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:20 +0000 Bump __FreeBSD_version for llvm 17.0.6 merge PR: 273753 MFC after: 1 month (cherry picked from commit c711af7727824da79d87f375f3d6829feec3799a) sys/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a861b58439f1168b7bc8e44472559decb897b0e2 commit a861b58439f1168b7bc8e44472559decb897b0e2 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-20 19:13:47 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:19 +0000 Add missing /usr/include/c++/v1/__mdspan/mdspan.h header I missed this header while updating the Makefile for libc++ 17. PR: 273753 MFC after: 1 month (cherry picked from commit 87eea35e3f8bc559a5142d613826100b758c08fe) lib/libc++/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=be6857fe74898c5efa364c91b5a09ae92a15afa3 commit be6857fe74898c5efa364c91b5a09ae92a15afa3 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-16 21:58:12 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:18 +0000 Merge llvm-project release/17.x llvmorg-17.0.5-0-g98bfdac5ce82 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.5-0-g98bfdac5ce82. PR: 273753 MFC after: 1 month (cherry picked from commit b121cb0095c8c1a060f66a8c4b118a54ebaa2551) .../include/clang/Basic/DiagnosticASTKinds.td | 2 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 7 +- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 13 +- .../llvm-project/clang/lib/AST/Interp/Interp.cpp | 3 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 7 +- .../clang/lib/Driver/ToolChains/Solaris.cpp | 9 +- .../clang/lib/Format/TokenAnnotator.cpp | 6 + .../clang/lib/Format/WhitespaceManager.cpp | 2 +- contrib/llvm-project/clang/lib/Parse/ParseDecl.cpp | 11 +- contrib/llvm-project/libcxx/include/__config | 60 +++++-- .../libcxx/include/__expected/expected.h | 182 ++++++++++----------- .../llvm/lib/CodeGen/BranchFolding.cpp | 6 - .../llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 + .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 10 ++ .../llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 24 +++ .../Target/AArch64/AArch64TargetTransformInfo.h | 3 + .../Target/AArch64/GISel/AArch64CallLowering.cpp | 7 +- .../llvm/lib/Target/LoongArch/LoongArch.h | 2 + .../LoongArch/LoongArchExpandPseudoInsts.cpp | 121 ++++++++++++++ .../Target/LoongArch/LoongArchFloat32InstrInfo.td | 17 ++ .../Target/LoongArch/LoongArchFloatInstrFormats.td | 12 ++ .../lib/Target/LoongArch/LoongArchInstrInfo.cpp | 6 + .../lib/Target/LoongArch/LoongArchRegisterInfo.cpp | 7 - .../Target/LoongArch/LoongArchTargetMachine.cpp | 1 + .../llvm/lib/Target/Mips/MipsISelLowering.cpp | 14 +- .../llvm/lib/Target/RISCV/RISCVInstrInfo.cpp | 19 ++- .../llvm/lib/Transforms/IPO/GlobalOpt.cpp | 30 +++- .../Transforms/Scalar/ConstraintElimination.cpp | 16 +- .../Scalar/CorrelatedValuePropagation.cpp | 68 ++++---- .../llvm/lib/Transforms/Scalar/GVN.cpp | 11 +- .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 1 + .../lib/Transforms/Vectorize/SLPVectorizer.cpp | 3 +- .../openmp/runtime/src/kmp_runtime.cpp | 3 +- .../openmp/runtime/src/kmp_wrapper_getpid.h | 2 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 42 files changed, 490 insertions(+), 228 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=7126fb41c7339cf5d33ddd0eed249fc3c16f6a43 commit 7126fb41c7339cf5d33ddd0eed249fc3c16f6a43 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-29 18:51:44 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:18 +0000 Merge llvm-project release/17.x llvmorg-17.0.1-25-g098e653a5bed This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.1-25-g098e653a5bed. PR: 273753 MFC after: 1 month (cherry picked from commit 4542f901cb0c5dd66ab5b541f2fbc659fd46f893) .../DependencyScanningFilesystem.h | 18 ++++- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 17 +++-- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 24 ------- .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 33 --------- .../clang/lib/CodeGen/CodeGenFunction.h | 5 -- .../clang/lib/Frontend/TextDiagnostic.cpp | 3 +- .../cuda_wrappers/bits/basic_string.h (new) | 9 +++ .../cuda_wrappers/bits/basic_string.tcc (new) | 9 +++ .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 6 +- .../DependencyScanningFilesystem.cpp | 79 ++++++++++++++++++---- contrib/llvm-project/libcxx/include/__config | 2 +- contrib/llvm-project/lld/COFF/Writer.cpp | 2 +- .../llvm/include/llvm/Transforms/Utils/Local.h | 10 +++ .../llvm-project/llvm/lib/Analysis/InlineCost.cpp | 20 ++---- .../llvm/lib/CodeGen/StackColoring.cpp | 62 ++++------------- .../lib/Target/AArch64/AArch64ISelLowering.cpp | 4 +- .../llvm/lib/Target/ARM/ARMInstrInfo.td | 2 +- .../llvm/lib/Target/ARM/ARMInstrThumb2.td | 2 +- .../llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 28 ++++++-- .../llvm/lib/Transforms/Scalar/GVN.cpp | 7 +- .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 23 ++++--- .../lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 61 +++++++++-------- .../llvm/lib/Transforms/Utils/Local.cpp | 31 +++++++-- .../llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 12 ++-- contrib/llvm-project/llvm/tools/lli/lli.cpp | 14 ++++ .../llvm/tools/llvm-readobj/COFFDumper.cpp | 30 ++++---- lib/clang/headers/Makefile | 22 ++++-- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 34 files changed, 319 insertions(+), 246 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=86188fdaca05f6cac1d67e2a57547dc6f423ba1b commit 86188fdaca05f6cac1d67e2a57547dc6f423ba1b Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-13 18:53:17 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:19 +0000 Proactively remove libc++ __tuple header file that became a directory This was already handled in ObsoleteFiles.inc (see the 20230622 entry), but some people never run "make delete-old", or want to upgrade directly from a revision that still had libc++ 15 to the most recent revision. They would then encounter a failure during installworld, similar to: install: target directory `/usr/include/c++/v1/__tuple/' does not exist Therefore, clean it up in the distrib-cleanup phase, similar to the earlier instance of the libc++ __string header file that became a directory. PR: 273753 MFC after: 1 month (cherry picked from commit ca217224f17229570f40227893353ca10ae1dda1) etc/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=271697da6856a1357b397bf795eb95a998fe7483 commit 271697da6856a1357b397bf795eb95a998fe7483 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-11 18:37:24 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:18 +0000 Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.0-rc4-10-g0176e8729ea4. PR: 273753 MFC after: 1 month (cherry picked from commit 8a4dda33d67586ca2624f2a38417baa03a533a7f) .../clang/include/clang/AST/DeclBase.h | 6 +- .../clang/include/clang/AST/ExprConcepts.h | 14 +- .../clang/include/clang/Basic/CodeGenOptions.def | 1 - .../include/clang/Basic/DiagnosticASTKinds.td | 2 + .../clang/include/clang/Basic/DiagnosticGroups.td | 1 + .../include/clang/Basic/DiagnosticLexKinds.td | 4 + .../clang/include/clang/Basic/Sanitizers.h | 4 + .../clang/include/clang/Basic/TargetInfo.h | 4 +- .../clang/include/clang/Basic/riscv_vector.td | 52 +--- .../clang/include/clang/CodeGen/CGFunctionInfo.h | 29 +- .../clang/include/clang/Driver/Options.td | 14 +- .../clang/include/clang/Driver/ToolChain.h | 2 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 2 - contrib/llvm-project/clang/lib/AST/ASTContext.cpp | 5 +- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 27 +- .../clang/lib/Basic/Targets/LoongArch.cpp | 21 +- .../clang/lib/Basic/Targets/LoongArch.h | 13 + .../llvm-project/clang/lib/Basic/Targets/RISCV.cpp | 4 +- .../llvm-project/clang/lib/CodeGen/ABIInfoImpl.cpp | 13 +- .../llvm-project/clang/lib/CodeGen/ABIInfoImpl.h | 14 +- .../llvm-project/clang/lib/CodeGen/BackendUtil.cpp | 23 +- .../llvm-project/clang/lib/CodeGen/CGCXXABI.cpp | 3 +- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 244 +++++++++------- contrib/llvm-project/clang/lib/CodeGen/CGCall.h | 29 ++ contrib/llvm-project/clang/lib/CodeGen/CGClass.cpp | 106 ++++++- .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 33 +++ .../llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 13 +- .../llvm-project/clang/lib/CodeGen/CGDebugInfo.h | 2 +- contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp | 2 +- .../llvm-project/clang/lib/CodeGen/CGDeclCXX.cpp | 4 +- contrib/llvm-project/clang/lib/CodeGen/CGExpr.cpp | 9 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 2 +- .../clang/lib/CodeGen/CGOpenMPRuntime.cpp | 11 +- .../clang/lib/CodeGen/CodeGenABITypes.cpp | 5 +- .../clang/lib/CodeGen/CodeGenFunction.cpp | 26 +- .../clang/lib/CodeGen/CodeGenFunction.h | 19 +- .../clang/lib/CodeGen/CodeGenModule.cpp | 34 ++- .../llvm-project/clang/lib/CodeGen/CodeGenModule.h | 20 +- .../llvm-project/clang/lib/CodeGen/CodeGenTypes.h | 12 +- .../clang/lib/CodeGen/ItaniumCXXABI.cpp | 2 +- .../clang/lib/CodeGen/MicrosoftCXXABI.cpp | 3 +- .../clang/lib/CodeGen/Targets/LoongArch.cpp | 11 +- .../clang/lib/CodeGen/Targets/RISCV.cpp | 24 +- .../llvm-project/clang/lib/CodeGen/Targets/X86.cpp | 16 +- contrib/llvm-project/clang/lib/Driver/Driver.cpp | 17 +- .../clang/lib/Driver/SanitizerArgs.cpp | 32 +++ .../llvm-project/clang/lib/Driver/ToolChain.cpp | 6 + .../clang/lib/Driver/ToolChains/AIX.cpp | 6 + .../clang/lib/Driver/ToolChains/Arch/LoongArch.cpp | 43 +-- .../clang/lib/Driver/ToolChains/Arch/LoongArch.h | 6 + .../clang/lib/Driver/ToolChains/Arch/X86.cpp | 6 + .../clang/lib/Driver/ToolChains/Clang.cpp | 39 +-- .../clang/lib/Driver/ToolChains/CommonArgs.cpp | 9 +- .../clang/lib/Driver/ToolChains/Gnu.cpp | 22 +- .../clang/lib/Driver/ToolChains/Hexagon.cpp | 5 + .../clang/lib/Driver/ToolChains/Solaris.cpp | 41 ++- .../clang/lib/Format/UnwrappedLineParser.cpp | 5 +- .../clang/lib/Frontend/FrontendAction.cpp | 5 + .../clang/lib/Headers/__clang_cuda_math.h | 2 +- .../lib/Headers/__clang_hip_libdevice_declares.h | 2 +- contrib/llvm-project/clang/lib/Headers/cpuid.h | 10 - .../clang/lib/Interpreter/IncrementalExecutor.cpp | 19 +- .../llvm-project/clang/lib/Lex/LiteralSupport.cpp | 41 ++- .../llvm-project/clang/lib/Parse/ParseDeclCXX.cpp | 19 +- .../clang/lib/Parse/ParseTentative.cpp | 1 + .../clang/lib/Sema/SemaAvailability.cpp | 12 + contrib/llvm-project/clang/lib/Sema/SemaCast.cpp | 8 + contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 3 +- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 95 +++---- .../llvm-project/clang/lib/Sema/SemaExprCXX.cpp | 25 +- contrib/llvm-project/clang/lib/Sema/SemaLookup.cpp | 68 +++-- .../clang/lib/Sema/SemaTemplateInstantiate.cpp | 17 +- .../llvm-project/clang/lib/Sema/TreeTransform.h | 4 + .../clang/lib/Serialization/ASTReaderDecl.cpp | 66 +++-- .../clang/lib/Serialization/ASTWriterDecl.cpp | 4 +- .../lib/Tooling/Inclusions/Stdlib/StdSymbolMap.inc | 54 ++++ .../compiler-rt/lib/asan/asan_interceptors.cpp | 56 ++-- .../compiler-rt/lib/asan/asan_interceptors.h | 2 - .../compiler-rt/lib/asan/asan_win_dll_thunk.cpp | 2 + .../compiler-rt/lib/builtins/aarch64/lse.S | 40 ++- .../compiler-rt/lib/builtins/clear_cache.c | 2 +- .../compiler-rt/lib/builtins/cpu_model.c | 5 +- .../compiler-rt/lib/interception/interception.h | 2 +- .../compiler-rt/lib/msan/msan_interceptors.cpp | 37 +++ .../compiler-rt/lib/profile/InstrProfilingFile.c | 10 +- .../sanitizer_common_interceptors.inc | 73 +++-- .../sanitizer_common_interceptors_format.inc | 16 +- .../sanitizer_stacktrace_sparc.cpp | 6 - .../sanitizer_unwind_linux_libcdep.cpp | 6 - .../symbolizer/scripts/global_symbols.txt | 7 + .../libcxx/include/__algorithm/pstl_sort.h | 1 + contrib/llvm-project/libcxx/include/__config | 36 ++- .../libcxx/include/__format/format_functions.h | 3 + .../__locale_dir/locale_base_api/locale_guard.h | 1 + .../llvm-project/libcxx/include/__mdspan/extents.h | 63 +++-- .../libcxx/include/__mdspan/layout_left.h | 32 ++- .../libcxx/include/__mdspan/layout_right.h | 30 +- .../libcxx/include/__mdspan/mdspan.h (new) | 308 +++++++++++++++++++++ .../libcxx/include/__std_clang_module (new) | 226 +++++++++++++++ .../__type_traits/is_nothrow_constructible.h | 3 +- contrib/llvm-project/libcxx/include/mdspan | 130 +++++++++ .../libcxx/include/module.modulemap.in | 65 ++--- contrib/llvm-project/libcxx/include/sstream | 50 ++-- .../llvm-project/libcxx/modules/std/atomic.cppm | 3 - .../llvm-project/libcxx/modules/std/execution.cppm | 2 +- .../libcxx/modules/std/filesystem.cppm | 4 +- .../llvm-project/libcxx/modules/std/mdspan.cppm | 2 +- contrib/llvm-project/libcxx/src/chrono.cpp | 2 +- .../libcxx/src/filesystem/filesystem_clock.cpp | 2 +- .../llvm-project/libunwind/src/Unwind-EHABI.cpp | 7 +- contrib/llvm-project/lld/ELF/Arch/LoongArch.cpp | 7 + contrib/llvm-project/lld/ELF/Arch/PPC.cpp | 12 +- contrib/llvm-project/lld/ELF/Arch/PPC64.cpp | 86 ++++-- contrib/llvm-project/lld/ELF/Target.h | 1 + contrib/llvm-project/lld/docs/ReleaseNotes.rst | 5 + .../ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp | 42 ++- .../Process/Utility/RegisterContextPOSIX_arm64.cpp | 4 + .../Process/Utility/RegisterContextPOSIX_arm64.h | 1 + .../Process/Utility/RegisterInfoPOSIX_arm64.h | 1 + .../elf-core/RegisterContextPOSIXCore_arm64.cpp | 14 + .../elf-core/RegisterContextPOSIXCore_arm64.h | 1 + .../Plugins/Process/elf-core/RegisterUtilities.h | 4 + .../llvm/include/llvm/ADT/FunctionExtras.h | 12 +- .../llvm/include/llvm/ADT/SmallVector.h | 4 +- .../llvm/include/llvm/Analysis/LazyValueInfo.h | 3 + .../llvm/include/llvm/Analysis/RegionInfoImpl.h | 4 +- .../llvm/include/llvm/Analysis/ValueTracking.h | 4 - .../llvm/include/llvm/CodeGen/CodeGenPassBuilder.h | 2 +- .../llvm/include/llvm/CodeGen/LowLevelType.h | 7 +- .../llvm/CodeGen/PreISelIntrinsicLowering.h | 4 + .../llvm/include/llvm/CodeGen/TargetInstrInfo.h | 17 -- .../llvm-project/llvm/include/llvm/Object/Wasm.h | 10 +- .../llvm/include/llvm/ObjectYAML/WasmYAML.h | 1 + .../llvm/include/llvm/Option/ArgList.h | 1 + .../llvm/include/llvm/Support/type_traits.h | 38 --- .../llvm/TargetParser/LoongArchTargetParser.h | 5 +- .../AggressiveInstCombine/AggressiveInstCombine.h | 2 +- .../llvm/Transforms/IPO/FunctionSpecialization.h | 15 +- .../llvm/Transforms/Scalar/MemCpyOptimizer.h | 4 - .../llvm/lib/Analysis/LazyValueInfo.cpp | 9 + .../llvm/lib/Analysis/ScalarEvolution.cpp | 2 +- .../llvm/lib/Analysis/ValueTracking.cpp | 7 - .../llvm/lib/CodeGen/CalcSpillWeights.cpp | 15 +- .../llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp | 30 +- .../llvm/lib/CodeGen/InlineSpiller.cpp | 34 ++- .../llvm/lib/CodeGen/LiveRangeEdit.cpp | 3 +- .../llvm/lib/CodeGen/LiveRangeShrink.cpp | 4 +- .../llvm-project/llvm/lib/CodeGen/MachineLICM.cpp | 4 + .../llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 54 ++-- .../llvm/lib/CodeGen/RegAllocGreedy.cpp | 21 +- .../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 6 +- .../llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 + .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 99 ++++--- contrib/llvm-project/llvm/lib/CodeGen/SplitKit.cpp | 17 +- contrib/llvm-project/llvm/lib/CodeGen/SplitKit.h | 7 +- .../llvm/lib/CodeGen/TargetInstrInfo.cpp | 7 +- .../llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 +- .../lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 21 +- contrib/llvm-project/llvm/lib/LTO/LTO.cpp | 7 +- .../llvm/lib/ObjCopy/wasm/WasmObject.h | 1 + .../llvm/lib/ObjCopy/wasm/WasmReader.cpp | 4 +- .../llvm/lib/ObjCopy/wasm/WasmWriter.cpp | 13 +- .../llvm-project/llvm/lib/Object/SymbolSize.cpp | 17 +- .../llvm/lib/Object/WasmObjectFile.cpp | 4 + .../llvm/lib/ObjectYAML/WasmEmitter.cpp | 12 +- .../llvm-project/llvm/lib/ObjectYAML/WasmYAML.cpp | 1 + contrib/llvm-project/llvm/lib/Option/ArgList.cpp | 7 + .../llvm-project/llvm/lib/TableGen/TGParser.cpp | 9 +- .../llvm/lib/Target/AArch64/AArch64.td | 6 +- .../lib/Target/AArch64/AArch64FrameLowering.cpp | 13 +- .../lib/Target/AArch64/AArch64ISelLowering.cpp | 69 +++-- .../llvm/lib/Target/AArch64/AArch64InstrFormats.td | 9 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 11 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.td | 20 +- .../Target/AArch64/AArch64LoadStoreOptimizer.cpp | 8 +- .../llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 49 ++-- .../llvm/lib/Target/AArch64/AArch64Subtarget.h | 2 +- .../Target/AArch64/GISel/AArch64CallLowering.cpp | 5 + .../llvm/lib/Target/AArch64/SVEInstrFormats.td | 7 + .../llvm-project/llvm/lib/Target/AMDGPU/AMDGPU.h | 4 - .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 37 ++- .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h | 2 +- .../llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 47 +++- .../llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h | 2 +- .../llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp | 16 +- .../llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 4 - .../llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 16 +- .../llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 2 +- .../llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | 7 +- .../llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 45 +-- .../llvm/lib/Target/AMDGPU/SIInstrInfo.h | 19 +- .../llvm/lib/Target/AMDGPU/SIInstructions.td | 7 - .../llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp | 136 ++------- .../lib/Target/AMDGPU/SILowerWWMCopies.cpp (gone) | 141 ---------- .../lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 69 ++--- .../llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 39 ++- .../llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 23 +- .../llvm/lib/Target/AMDGPU/SIRegisterInfo.h | 17 +- .../llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 2 + .../Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp | 6 +- .../llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp | 26 +- .../llvm-project/llvm/lib/Target/BPF/BTFDebug.cpp | 2 + .../llvm/lib/Target/LoongArch/LoongArch.td | 5 + .../lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp | 50 +++- .../Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp | 14 +- .../llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 37 +-- .../llvm/lib/Target/PowerPC/PPCInstrFormats.td | 6 + .../llvm/lib/Target/PowerPC/PPCInstrInfo.td | 9 + .../llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 4 - .../llvm/lib/Target/PowerPC/PPCScheduleP9.td | 2 +- .../llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp | 15 +- .../Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp | 9 + .../llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 39 +-- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 13 +- .../llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 26 +- .../lib/Target/RISCV/RISCVPushPopOptimizer.cpp | 3 +- .../llvm/lib/Target/Sparc/SparcInstrInfo.td | 16 ++ .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 5 + contrib/llvm-project/llvm/lib/Target/X86/X86.td | 7 + .../llvm/lib/Target/X86/X86ISelLowering.cpp | 96 ++++--- .../llvm/lib/Target/X86/X86ISelLowering.h | 2 - .../llvm/lib/Target/X86/X86InstrAVX512.td | 10 + .../llvm/lib/Target/X86/X86InstrSSE.td | 5 + .../llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 14 +- .../llvm/lib/Target/X86/X86TargetTransformInfo.h | 1 + .../llvm-project/llvm/lib/TargetParser/Host.cpp | 10 +- .../lib/TargetParser/LoongArchTargetParser.cpp | 12 + .../AggressiveInstCombine.cpp | 217 ++++----------- .../llvm/lib/Transforms/Coroutines/CoroElide.cpp | 83 ++++-- .../lib/Transforms/IPO/FunctionSpecialization.cpp | 82 +----- .../InstCombine/InstructionCombining.cpp | 2 +- .../Instrumentation/ControlHeightReduction.cpp | 14 + .../Transforms/Instrumentation/GCOVProfiling.cpp | 4 +- .../Transforms/Scalar/ConstraintElimination.cpp | 2 +- .../llvm/lib/Transforms/Scalar/JumpThreading.cpp | 2 + .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 256 +---------------- .../Transforms/Scalar/TailRecursionElimination.cpp | 6 + .../llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 14 +- .../lib/Transforms/Vectorize/LoopVectorize.cpp | 38 ++- .../llvm/tools/llvm-readobj/ELFDumper.cpp | 2 +- .../openmp/runtime/src/ompt-event-specific.h | 13 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 4 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 2 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/libc++/__config_site | 1 + lib/libc++/module.modulemap | 65 ++--- 249 files changed, 3393 insertions(+), 2248 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4f2bdef80e8ef59a7d4c8e32ab895613cf73ba22 commit 4f2bdef80e8ef59a7d4c8e32ab895613cf73ba22 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-04 18:24:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:18 +0000 Merge llvm-project release/17.x llvmorg-17.0.2-0-gb2417f51dbbd This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.2-0-gb2417f51dbbd. PR: 273753 MFC after: 1 month (cherry picked from commit 3bd749dbd90cc3b95719b65393df5ca8a0fe919d) .../clang/lib/Driver/ToolChains/MinGW.cpp | 7 ++-- .../llvm-project/libcxx/include/__utility/pair.h | 4 +-- contrib/llvm-project/lld/COFF/Driver.cpp | 42 +++++++++++----------- contrib/llvm-project/lld/Common/Filesystem.cpp | 2 +- .../lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 +- lib/clang/include/VCSVersion.inc | 6 ++-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 8 files changed, 36 insertions(+), 31 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=c25d8933a86ad2ca82d38a2d8a1f1f7c1fc1e2f4 commit c25d8933a86ad2ca82d38a2d8a1f1f7c1fc1e2f4 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-21 13:31:11 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:18 +0000 Merge llvm-project release/17.x llvmorg-17.0.3-0-g888437e1b600 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.3-0-g888437e1b600. PR: 273753 MFC after: 1 month (cherry picked from commit bdb86d1a853a919764f65fdedcea76d76e4d619b) .../clang/lib/Driver/ToolChains/MinGW.cpp | 2 + .../clang/lib/Format/UnwrappedLineParser.cpp | 24 +++++++++ .../clang/lib/Format/UnwrappedLineParser.h | 11 ++++ .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 25 +++++---- .../clang/utils/TableGen/ClangAttrEmitter.cpp | 17 +++--- contrib/llvm-project/libcxx/include/__config | 2 +- contrib/llvm-project/lld/COFF/InputFiles.cpp | 2 + .../llvm/lib/Analysis/LazyValueInfo.cpp | 2 +- contrib/llvm-project/llvm/lib/MC/MCWin64EH.cpp | 3 ++ .../lib/Target/AArch64/AArch64ISelLowering.cpp | 7 ++- .../llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 +- .../llvm/lib/Target/X86/X86ISelLowering.cpp | 21 ++++++-- .../Instrumentation/AddressSanitizer.cpp | 61 ++++++++++++---------- lib/clang/include/VCSVersion.inc | 6 +-- lib/clang/include/clang/Basic/Version.inc | 6 +-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +-- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 20 files changed, 139 insertions(+), 70 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=4aee07d5cebcd550d59c7db19511f7269b6778e2 commit 4aee07d5cebcd550d59c7db19511f7269b6778e2 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-30 20:06:52 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:19 +0000 Merge llvm-project release/17.x llvmorg-17.0.6-0-g6009708b4367 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.6-0-g6009708b4367. PR: 273753 MFC after: 1 month (cherry picked from commit 5c16e71d30c388dd43b217de10a3ccb4b0219d0d) .../clang/include/clang/Driver/Options.td | 3 -- .../clang/Frontend/DependencyOutputOptions.h | 11 +++---- .../clang/include/clang/Frontend/Utils.h | 11 +------ .../clang/lib/Basic/Targets/OSTargets.h | 16 ++++++++- .../clang/lib/Driver/ToolChains/Clang.cpp | 3 -- .../clang/lib/Driver/ToolChains/WebAssembly.cpp | 38 ++++++++++++++-------- .../clang/lib/Format/TokenAnnotator.cpp | 4 +-- .../clang/lib/Format/WhitespaceManager.cpp | 4 ++- .../clang/lib/Format/WhitespaceManager.h | 2 +- .../clang/lib/Frontend/DependencyFile.cpp | 32 ++++-------------- contrib/llvm-project/clang/lib/Lex/ModuleMap.cpp | 8 ++--- .../llvm-project/clang/lib/Sema/SemaOverload.cpp | 19 ++++------- contrib/llvm-project/libcxx/include/__config | 2 +- .../libcxx/include/__memory/shared_ptr.h | 5 +-- .../llvm/lib/ExecutionEngine/JITLink/aarch32.cpp | 2 +- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 10 +++--- lib/clang/include/VCSVersion.inc | 6 ++-- lib/clang/include/clang/Basic/Version.inc | 6 ++-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 ++-- lib/clang/include/llvm/Config/config.h | 4 +-- lib/clang/include/llvm/Config/llvm-config.h | 4 +-- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 23 files changed, 94 insertions(+), 106 deletions(-)
A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=fc0670dd3a4d9d7c7e564d1138f109660881519e commit fc0670dd3a4d9d7c7e564d1138f109660881519e Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-07 12:47:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 17:46:19 +0000 Merge commit 158f4f30adb4 from llvm git (by Corentin Jabot): [Clang] Do not change the type of captured vars when checking lambda constraints When checking the constraint of a lambda, we need to respect the constness of the call operator when establishing the type of capture variables. In D124351, this was done by adding const to the captured variable... However, that would change the type of the variable outside of the scope of the lambda, which is clearly not the desired outcome. Instead, to ensure const-correctness, we need to populate a LambdaScopeInfo with the capture variables before checking the constraints of a generic lambda. There is no changelog as I'd like to tentatively propose we backport this change to RC3 as it is a regression introduced in the Clang 17 cycle. Fixes #61267 Reviewed By: aaron.ballman, #clang-language-wg Differential Revision: https://reviews.llvm.org/D158433 Merge commit 3ed9e9e3ace6 from llvm git (by Corentin Jabot): [Clang] Add captures to the instantiation scope of lambda call operators Like concepts checking, a trailing return type of a lambda in a dependent context may refer to captures in which case they may need to be rebuilt, so the map of local decl should include captures. This patch reveal a pre-existing issue. `this` is always recomputed by TreeTransform. `*this` (like all captures) only become `const` after the parameter list. However, if try to recompute the value of `this` (in a parameter) during template instantiation while determining the type of the call operator, we will determine it to be const (unless the lambda is mutable). There is no good way to know at that point that we are in a parameter or not, the easiest/best solution is to transform the type of this. Note that doing so break a handful of HLSL tests. So this is a prototype at this point. Fixes #65067 Fixes #63675 Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D159126 This fixes 'Assertion failed: (isa<LabelDecl>(D) && "declaration not instantiated in this scope"), function findInstantiationOf' error when building databases/mongodb44. PR: 273753 MFC after: 1 month (cherry picked from commit feb5b0c76f9c7b510583b0489918300cbf966e0f) .../llvm-project/clang/include/clang/Sema/Sema.h | 10 +++++++ .../llvm-project/clang/lib/Sema/SemaConcept.cpp | 29 ++++++-------------- contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 16 +++++++---- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 15 +++++----- contrib/llvm-project/clang/lib/Sema/SemaLambda.cpp | 32 ++++++++++++++++++++++ .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 3 ++ .../llvm-project/clang/lib/Sema/TreeTransform.h | 11 +++++++- 7 files changed, 82 insertions(+), 34 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=67b5f85a82c7bf5142b83e00827028bfd2e211a2 commit 67b5f85a82c7bf5142b83e00827028bfd2e211a2 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-20 19:13:47 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:42 +0000 Add missing /usr/include/c++/v1/__mdspan/mdspan.h header I missed this header while updating the Makefile for libc++ 17. PR: 273753 MFC after: 1 month (cherry picked from commit 87eea35e3f8bc559a5142d613826100b758c08fe) lib/libc++/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=45758665781dd63dfa38bcb646d4f36b0a6a104f commit 45758665781dd63dfa38bcb646d4f36b0a6a104f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-08 17:36:40 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:43 +0000 Bump __FreeBSD_version for llvm 17.0.6 merge PR: 273753 MFC after: 1 month (cherry picked from commit c711af7727824da79d87f375f3d6829feec3799a) sys/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=33605894103bd4de4b90790ef40d13595ccab0af commit 33605894103bd4de4b90790ef40d13595ccab0af Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-13 18:53:17 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:42 +0000 Proactively remove libc++ __tuple header file that became a directory This was already handled in ObsoleteFiles.inc (see the 20230622 entry), but some people never run "make delete-old", or want to upgrade directly from a revision that still had libc++ 15 to the most recent revision. They would then encounter a failure during installworld, similar to: install: target directory `/usr/include/c++/v1/__tuple/' does not exist Therefore, clean it up in the distrib-cleanup phase, similar to the earlier instance of the libc++ __string header file that became a directory. PR: 273753 MFC after: 1 month (cherry picked from commit ca217224f17229570f40227893353ca10ae1dda1) etc/Makefile | 1 + 1 file changed, 1 insertion(+)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=22dc259bb4dda880c7b1141c54433a4d1b0dbc45 commit 22dc259bb4dda880c7b1141c54433a4d1b0dbc45 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-21 13:31:11 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:40 +0000 Merge llvm-project release/17.x llvmorg-17.0.3-0-g888437e1b600 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.3-0-g888437e1b600. PR: 273753 MFC after: 1 month (cherry picked from commit bdb86d1a853a919764f65fdedcea76d76e4d619b) .../clang/lib/Driver/ToolChains/MinGW.cpp | 2 + .../clang/lib/Format/UnwrappedLineParser.cpp | 24 +++++++++ .../clang/lib/Format/UnwrappedLineParser.h | 11 ++++ .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 25 +++++---- .../clang/utils/TableGen/ClangAttrEmitter.cpp | 17 +++--- contrib/llvm-project/libcxx/include/__config | 2 +- contrib/llvm-project/lld/COFF/InputFiles.cpp | 2 + .../llvm/lib/Analysis/LazyValueInfo.cpp | 2 +- contrib/llvm-project/llvm/lib/MC/MCWin64EH.cpp | 3 ++ .../lib/Target/AArch64/AArch64ISelLowering.cpp | 7 ++- .../llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 2 +- .../llvm/lib/Target/X86/X86ISelLowering.cpp | 21 ++++++-- .../Instrumentation/AddressSanitizer.cpp | 61 ++++++++++++---------- lib/clang/include/VCSVersion.inc | 6 +-- lib/clang/include/clang/Basic/Version.inc | 6 +-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +-- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 20 files changed, 139 insertions(+), 70 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=af05e5589d61acfb9f58611755a16e0c1b975cd1 commit af05e5589d61acfb9f58611755a16e0c1b975cd1 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-12-07 12:47:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:41 +0000 Merge commit 158f4f30adb4 from llvm git (by Corentin Jabot): [Clang] Do not change the type of captured vars when checking lambda constraints When checking the constraint of a lambda, we need to respect the constness of the call operator when establishing the type of capture variables. In D124351, this was done by adding const to the captured variable... However, that would change the type of the variable outside of the scope of the lambda, which is clearly not the desired outcome. Instead, to ensure const-correctness, we need to populate a LambdaScopeInfo with the capture variables before checking the constraints of a generic lambda. There is no changelog as I'd like to tentatively propose we backport this change to RC3 as it is a regression introduced in the Clang 17 cycle. Fixes #61267 Reviewed By: aaron.ballman, #clang-language-wg Differential Revision: https://reviews.llvm.org/D158433 Merge commit 3ed9e9e3ace6 from llvm git (by Corentin Jabot): [Clang] Add captures to the instantiation scope of lambda call operators Like concepts checking, a trailing return type of a lambda in a dependent context may refer to captures in which case they may need to be rebuilt, so the map of local decl should include captures. This patch reveal a pre-existing issue. `this` is always recomputed by TreeTransform. `*this` (like all captures) only become `const` after the parameter list. However, if try to recompute the value of `this` (in a parameter) during template instantiation while determining the type of the call operator, we will determine it to be const (unless the lambda is mutable). There is no good way to know at that point that we are in a parameter or not, the easiest/best solution is to transform the type of this. Note that doing so break a handful of HLSL tests. So this is a prototype at this point. Fixes #65067 Fixes #63675 Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D159126 This fixes 'Assertion failed: (isa<LabelDecl>(D) && "declaration not instantiated in this scope"), function findInstantiationOf' error when building databases/mongodb44. PR: 273753 MFC after: 1 month (cherry picked from commit feb5b0c76f9c7b510583b0489918300cbf966e0f) .../llvm-project/clang/include/clang/Sema/Sema.h | 10 +++++++ .../llvm-project/clang/lib/Sema/SemaConcept.cpp | 29 ++++++-------------- contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 16 +++++++---- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 15 +++++----- contrib/llvm-project/clang/lib/Sema/SemaLambda.cpp | 32 ++++++++++++++++++++++ .../clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 3 ++ .../llvm-project/clang/lib/Sema/TreeTransform.h | 11 +++++++- 7 files changed, 82 insertions(+), 34 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=ef2ab9afdc8b3ede385742644a720b4477d7f467 commit ef2ab9afdc8b3ede385742644a720b4477d7f467 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-30 20:06:52 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:41 +0000 Merge llvm-project release/17.x llvmorg-17.0.6-0-g6009708b4367 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.6-0-g6009708b4367. PR: 273753 MFC after: 1 month (cherry picked from commit 5c16e71d30c388dd43b217de10a3ccb4b0219d0d) .../clang/include/clang/Driver/Options.td | 3 -- .../clang/Frontend/DependencyOutputOptions.h | 11 +++---- .../clang/include/clang/Frontend/Utils.h | 11 +------ .../clang/lib/Basic/Targets/OSTargets.h | 16 ++++++++- .../clang/lib/Driver/ToolChains/Clang.cpp | 3 -- .../clang/lib/Driver/ToolChains/WebAssembly.cpp | 38 ++++++++++++++-------- .../clang/lib/Format/TokenAnnotator.cpp | 4 +-- .../clang/lib/Format/WhitespaceManager.cpp | 4 ++- .../clang/lib/Format/WhitespaceManager.h | 2 +- .../clang/lib/Frontend/DependencyFile.cpp | 32 ++++-------------- contrib/llvm-project/clang/lib/Lex/ModuleMap.cpp | 8 ++--- .../llvm-project/clang/lib/Sema/SemaOverload.cpp | 19 ++++------- contrib/llvm-project/libcxx/include/__config | 2 +- .../libcxx/include/__memory/shared_ptr.h | 5 +-- .../llvm/lib/ExecutionEngine/JITLink/aarch32.cpp | 2 +- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 10 +++--- lib/clang/include/VCSVersion.inc | 6 ++-- lib/clang/include/clang/Basic/Version.inc | 6 ++-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 ++-- lib/clang/include/llvm/Config/config.h | 4 +-- lib/clang/include/llvm/Config/llvm-config.h | 4 +-- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 23 files changed, 94 insertions(+), 106 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=27485d5542b4af45e13a1069a76a6a68eee99440 commit 27485d5542b4af45e13a1069a76a6a68eee99440 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-10-04 18:24:05 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:40 +0000 Merge llvm-project release/17.x llvmorg-17.0.2-0-gb2417f51dbbd This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.2-0-gb2417f51dbbd. PR: 273753 MFC after: 1 month (cherry picked from commit 3bd749dbd90cc3b95719b65393df5ca8a0fe919d) .../clang/lib/Driver/ToolChains/MinGW.cpp | 7 ++-- .../llvm-project/libcxx/include/__utility/pair.h | 4 +-- contrib/llvm-project/lld/COFF/Driver.cpp | 42 +++++++++++----------- contrib/llvm-project/lld/Common/Filesystem.cpp | 2 +- .../lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 2 +- lib/clang/include/VCSVersion.inc | 6 ++-- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 8 files changed, 36 insertions(+), 31 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=cf22cca352b139718829154c545b88ddcee8c3ef commit cf22cca352b139718829154c545b88ddcee8c3ef Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-11-16 21:58:12 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:40 +0000 Merge llvm-project release/17.x llvmorg-17.0.5-0-g98bfdac5ce82 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.5-0-g98bfdac5ce82. PR: 273753 MFC after: 1 month (cherry picked from commit b121cb0095c8c1a060f66a8c4b118a54ebaa2551) .../include/clang/Basic/DiagnosticASTKinds.td | 2 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 7 +- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 13 +- .../llvm-project/clang/lib/AST/Interp/Interp.cpp | 3 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 7 +- .../clang/lib/Driver/ToolChains/Solaris.cpp | 9 +- .../clang/lib/Format/TokenAnnotator.cpp | 6 + .../clang/lib/Format/WhitespaceManager.cpp | 2 +- contrib/llvm-project/clang/lib/Parse/ParseDecl.cpp | 11 +- contrib/llvm-project/libcxx/include/__config | 60 +++++-- .../libcxx/include/__expected/expected.h | 182 ++++++++++----------- .../llvm/lib/CodeGen/BranchFolding.cpp | 6 - .../llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h | 1 + .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 10 ++ .../llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 2 +- .../Target/AArch64/AArch64TargetTransformInfo.cpp | 24 +++ .../Target/AArch64/AArch64TargetTransformInfo.h | 3 + .../Target/AArch64/GISel/AArch64CallLowering.cpp | 7 +- .../llvm/lib/Target/LoongArch/LoongArch.h | 2 + .../LoongArch/LoongArchExpandPseudoInsts.cpp | 121 ++++++++++++++ .../Target/LoongArch/LoongArchFloat32InstrInfo.td | 17 ++ .../Target/LoongArch/LoongArchFloatInstrFormats.td | 12 ++ .../lib/Target/LoongArch/LoongArchInstrInfo.cpp | 6 + .../lib/Target/LoongArch/LoongArchRegisterInfo.cpp | 7 - .../Target/LoongArch/LoongArchTargetMachine.cpp | 1 + .../llvm/lib/Target/Mips/MipsISelLowering.cpp | 14 +- .../llvm/lib/Target/RISCV/RISCVInstrInfo.cpp | 19 ++- .../llvm/lib/Transforms/IPO/GlobalOpt.cpp | 30 +++- .../Transforms/Scalar/ConstraintElimination.cpp | 16 +- .../Scalar/CorrelatedValuePropagation.cpp | 68 ++++---- .../llvm/lib/Transforms/Scalar/GVN.cpp | 11 +- .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 1 + .../lib/Transforms/Vectorize/SLPVectorizer.cpp | 3 +- .../openmp/runtime/src/kmp_runtime.cpp | 3 +- .../openmp/runtime/src/kmp_wrapper_getpid.h | 2 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 42 files changed, 490 insertions(+), 228 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=bbb0bdafca9e4b69db37b55d6d5a485ae342787c commit bbb0bdafca9e4b69db37b55d6d5a485ae342787c Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-11 18:37:24 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:39 +0000 Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4 This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.0-rc4-10-g0176e8729ea4. PR: 273753 MFC after: 1 month (cherry picked from commit 8a4dda33d67586ca2624f2a38417baa03a533a7f) .../clang/include/clang/AST/DeclBase.h | 6 +- .../clang/include/clang/AST/ExprConcepts.h | 14 +- .../clang/include/clang/Basic/CodeGenOptions.def | 1 - .../include/clang/Basic/DiagnosticASTKinds.td | 2 + .../clang/include/clang/Basic/DiagnosticGroups.td | 1 + .../include/clang/Basic/DiagnosticLexKinds.td | 4 + .../clang/include/clang/Basic/Sanitizers.h | 4 + .../clang/include/clang/Basic/TargetInfo.h | 4 +- .../clang/include/clang/Basic/riscv_vector.td | 52 +--- .../clang/include/clang/CodeGen/CGFunctionInfo.h | 29 +- .../clang/include/clang/Driver/Options.td | 14 +- .../clang/include/clang/Driver/ToolChain.h | 2 +- .../llvm-project/clang/include/clang/Sema/Sema.h | 2 - contrib/llvm-project/clang/lib/AST/ASTContext.cpp | 5 +- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 27 +- .../clang/lib/Basic/Targets/LoongArch.cpp | 21 +- .../clang/lib/Basic/Targets/LoongArch.h | 13 + .../llvm-project/clang/lib/Basic/Targets/RISCV.cpp | 4 +- .../llvm-project/clang/lib/CodeGen/ABIInfoImpl.cpp | 13 +- .../llvm-project/clang/lib/CodeGen/ABIInfoImpl.h | 14 +- .../llvm-project/clang/lib/CodeGen/BackendUtil.cpp | 23 +- .../llvm-project/clang/lib/CodeGen/CGCXXABI.cpp | 3 +- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 244 +++++++++------- contrib/llvm-project/clang/lib/CodeGen/CGCall.h | 29 ++ contrib/llvm-project/clang/lib/CodeGen/CGClass.cpp | 106 ++++++- .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 33 +++ .../llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 13 +- .../llvm-project/clang/lib/CodeGen/CGDebugInfo.h | 2 +- contrib/llvm-project/clang/lib/CodeGen/CGDecl.cpp | 2 +- .../llvm-project/clang/lib/CodeGen/CGDeclCXX.cpp | 4 +- contrib/llvm-project/clang/lib/CodeGen/CGExpr.cpp | 9 +- .../clang/lib/CodeGen/CGExprConstant.cpp | 2 +- .../clang/lib/CodeGen/CGOpenMPRuntime.cpp | 11 +- .../clang/lib/CodeGen/CodeGenABITypes.cpp | 5 +- .../clang/lib/CodeGen/CodeGenFunction.cpp | 26 +- .../clang/lib/CodeGen/CodeGenFunction.h | 19 +- .../clang/lib/CodeGen/CodeGenModule.cpp | 34 ++- .../llvm-project/clang/lib/CodeGen/CodeGenModule.h | 20 +- .../llvm-project/clang/lib/CodeGen/CodeGenTypes.h | 12 +- .../clang/lib/CodeGen/ItaniumCXXABI.cpp | 2 +- .../clang/lib/CodeGen/MicrosoftCXXABI.cpp | 3 +- .../clang/lib/CodeGen/Targets/LoongArch.cpp | 11 +- .../clang/lib/CodeGen/Targets/RISCV.cpp | 24 +- .../llvm-project/clang/lib/CodeGen/Targets/X86.cpp | 16 +- contrib/llvm-project/clang/lib/Driver/Driver.cpp | 17 +- .../clang/lib/Driver/SanitizerArgs.cpp | 32 +++ .../llvm-project/clang/lib/Driver/ToolChain.cpp | 6 + .../clang/lib/Driver/ToolChains/AIX.cpp | 6 + .../clang/lib/Driver/ToolChains/Arch/LoongArch.cpp | 43 +-- .../clang/lib/Driver/ToolChains/Arch/LoongArch.h | 6 + .../clang/lib/Driver/ToolChains/Arch/X86.cpp | 6 + .../clang/lib/Driver/ToolChains/Clang.cpp | 39 +-- .../clang/lib/Driver/ToolChains/CommonArgs.cpp | 9 +- .../clang/lib/Driver/ToolChains/Gnu.cpp | 22 +- .../clang/lib/Driver/ToolChains/Hexagon.cpp | 5 + .../clang/lib/Driver/ToolChains/Solaris.cpp | 41 ++- .../clang/lib/Format/UnwrappedLineParser.cpp | 5 +- .../clang/lib/Frontend/FrontendAction.cpp | 5 + .../clang/lib/Headers/__clang_cuda_math.h | 2 +- .../lib/Headers/__clang_hip_libdevice_declares.h | 2 +- contrib/llvm-project/clang/lib/Headers/cpuid.h | 10 - .../clang/lib/Interpreter/IncrementalExecutor.cpp | 19 +- .../llvm-project/clang/lib/Lex/LiteralSupport.cpp | 41 ++- .../llvm-project/clang/lib/Parse/ParseDeclCXX.cpp | 19 +- .../clang/lib/Parse/ParseTentative.cpp | 1 + .../clang/lib/Sema/SemaAvailability.cpp | 12 + contrib/llvm-project/clang/lib/Sema/SemaCast.cpp | 8 + contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 3 +- contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 95 +++---- .../llvm-project/clang/lib/Sema/SemaExprCXX.cpp | 25 +- contrib/llvm-project/clang/lib/Sema/SemaLookup.cpp | 68 +++-- .../clang/lib/Sema/SemaTemplateInstantiate.cpp | 17 +- .../llvm-project/clang/lib/Sema/TreeTransform.h | 4 + .../clang/lib/Serialization/ASTReaderDecl.cpp | 66 +++-- .../clang/lib/Serialization/ASTWriterDecl.cpp | 4 +- .../lib/Tooling/Inclusions/Stdlib/StdSymbolMap.inc | 54 ++++ .../compiler-rt/lib/asan/asan_interceptors.cpp | 56 ++-- .../compiler-rt/lib/asan/asan_interceptors.h | 2 - .../compiler-rt/lib/asan/asan_win_dll_thunk.cpp | 2 + .../compiler-rt/lib/builtins/aarch64/lse.S | 40 ++- .../compiler-rt/lib/builtins/clear_cache.c | 2 +- .../compiler-rt/lib/builtins/cpu_model.c | 5 +- .../compiler-rt/lib/interception/interception.h | 2 +- .../compiler-rt/lib/msan/msan_interceptors.cpp | 37 +++ .../compiler-rt/lib/profile/InstrProfilingFile.c | 10 +- .../sanitizer_common_interceptors.inc | 73 +++-- .../sanitizer_common_interceptors_format.inc | 16 +- .../sanitizer_stacktrace_sparc.cpp | 6 - .../sanitizer_unwind_linux_libcdep.cpp | 6 - .../symbolizer/scripts/global_symbols.txt | 7 + .../libcxx/include/__algorithm/pstl_sort.h | 1 + contrib/llvm-project/libcxx/include/__config | 36 ++- .../libcxx/include/__format/format_functions.h | 3 + .../__locale_dir/locale_base_api/locale_guard.h | 1 + .../llvm-project/libcxx/include/__mdspan/extents.h | 63 +++-- .../libcxx/include/__mdspan/layout_left.h | 32 ++- .../libcxx/include/__mdspan/layout_right.h | 30 +- .../libcxx/include/__mdspan/mdspan.h (new) | 308 +++++++++++++++++++++ .../libcxx/include/__std_clang_module (new) | 226 +++++++++++++++ .../__type_traits/is_nothrow_constructible.h | 3 +- contrib/llvm-project/libcxx/include/mdspan | 130 +++++++++ .../libcxx/include/module.modulemap.in | 65 ++--- contrib/llvm-project/libcxx/include/sstream | 50 ++-- .../llvm-project/libcxx/modules/std/atomic.cppm | 3 - .../llvm-project/libcxx/modules/std/execution.cppm | 2 +- .../libcxx/modules/std/filesystem.cppm | 4 +- .../llvm-project/libcxx/modules/std/mdspan.cppm | 2 +- contrib/llvm-project/libcxx/src/chrono.cpp | 2 +- .../libcxx/src/filesystem/filesystem_clock.cpp | 2 +- .../llvm-project/libunwind/src/Unwind-EHABI.cpp | 7 +- contrib/llvm-project/lld/ELF/Arch/LoongArch.cpp | 7 + contrib/llvm-project/lld/ELF/Arch/PPC.cpp | 12 +- contrib/llvm-project/lld/ELF/Arch/PPC64.cpp | 86 ++++-- contrib/llvm-project/lld/ELF/Target.h | 1 + contrib/llvm-project/lld/docs/ReleaseNotes.rst | 5 + .../ObjC/GNUstepObjCRuntime/GNUstepObjCRuntime.cpp | 42 ++- .../Process/Utility/RegisterContextPOSIX_arm64.cpp | 4 + .../Process/Utility/RegisterContextPOSIX_arm64.h | 1 + .../Process/Utility/RegisterInfoPOSIX_arm64.h | 1 + .../elf-core/RegisterContextPOSIXCore_arm64.cpp | 14 + .../elf-core/RegisterContextPOSIXCore_arm64.h | 1 + .../Plugins/Process/elf-core/RegisterUtilities.h | 4 + .../llvm/include/llvm/ADT/FunctionExtras.h | 12 +- .../llvm/include/llvm/ADT/SmallVector.h | 4 +- .../llvm/include/llvm/Analysis/LazyValueInfo.h | 3 + .../llvm/include/llvm/Analysis/RegionInfoImpl.h | 4 +- .../llvm/include/llvm/Analysis/ValueTracking.h | 4 - .../llvm/include/llvm/CodeGen/CodeGenPassBuilder.h | 2 +- .../llvm/include/llvm/CodeGen/LowLevelType.h | 7 +- .../llvm/CodeGen/PreISelIntrinsicLowering.h | 4 + .../llvm/include/llvm/CodeGen/TargetInstrInfo.h | 17 -- .../llvm-project/llvm/include/llvm/Object/Wasm.h | 10 +- .../llvm/include/llvm/ObjectYAML/WasmYAML.h | 1 + .../llvm/include/llvm/Option/ArgList.h | 1 + .../llvm/include/llvm/Support/type_traits.h | 38 --- .../llvm/TargetParser/LoongArchTargetParser.h | 5 +- .../AggressiveInstCombine/AggressiveInstCombine.h | 2 +- .../llvm/Transforms/IPO/FunctionSpecialization.h | 15 +- .../llvm/Transforms/Scalar/MemCpyOptimizer.h | 4 - .../llvm/lib/Analysis/LazyValueInfo.cpp | 9 + .../llvm/lib/Analysis/ScalarEvolution.cpp | 2 +- .../llvm/lib/Analysis/ValueTracking.cpp | 7 - .../llvm/lib/CodeGen/CalcSpillWeights.cpp | 15 +- .../llvm/lib/CodeGen/ComplexDeinterleavingPass.cpp | 30 +- .../llvm/lib/CodeGen/InlineSpiller.cpp | 34 ++- .../llvm/lib/CodeGen/LiveRangeEdit.cpp | 3 +- .../llvm/lib/CodeGen/LiveRangeShrink.cpp | 4 +- .../llvm-project/llvm/lib/CodeGen/MachineLICM.cpp | 4 + .../llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 54 ++-- .../llvm/lib/CodeGen/RegAllocGreedy.cpp | 21 +- .../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 6 +- .../llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 3 + .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 99 ++++--- contrib/llvm-project/llvm/lib/CodeGen/SplitKit.cpp | 17 +- contrib/llvm-project/llvm/lib/CodeGen/SplitKit.h | 7 +- .../llvm/lib/CodeGen/TargetInstrInfo.cpp | 7 +- .../llvm/lib/CodeGen/TargetLoweringBase.cpp | 2 +- .../lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 21 +- contrib/llvm-project/llvm/lib/LTO/LTO.cpp | 7 +- .../llvm/lib/ObjCopy/wasm/WasmObject.h | 1 + .../llvm/lib/ObjCopy/wasm/WasmReader.cpp | 4 +- .../llvm/lib/ObjCopy/wasm/WasmWriter.cpp | 13 +- .../llvm-project/llvm/lib/Object/SymbolSize.cpp | 17 +- .../llvm/lib/Object/WasmObjectFile.cpp | 4 + .../llvm/lib/ObjectYAML/WasmEmitter.cpp | 12 +- .../llvm-project/llvm/lib/ObjectYAML/WasmYAML.cpp | 1 + contrib/llvm-project/llvm/lib/Option/ArgList.cpp | 7 + .../llvm-project/llvm/lib/TableGen/TGParser.cpp | 9 +- .../llvm/lib/Target/AArch64/AArch64.td | 6 +- .../lib/Target/AArch64/AArch64FrameLowering.cpp | 13 +- .../lib/Target/AArch64/AArch64ISelLowering.cpp | 69 +++-- .../llvm/lib/Target/AArch64/AArch64InstrFormats.td | 9 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 11 +- .../llvm/lib/Target/AArch64/AArch64InstrInfo.td | 20 +- .../Target/AArch64/AArch64LoadStoreOptimizer.cpp | 8 +- .../llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 49 ++-- .../llvm/lib/Target/AArch64/AArch64Subtarget.h | 2 +- .../Target/AArch64/GISel/AArch64CallLowering.cpp | 5 + .../llvm/lib/Target/AArch64/SVEInstrFormats.td | 7 + .../llvm-project/llvm/lib/Target/AMDGPU/AMDGPU.h | 4 - .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp | 37 ++- .../llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h | 2 +- .../llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp | 47 +++- .../llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h | 2 +- .../llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp | 16 +- .../llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp | 4 - .../llvm/lib/Target/AMDGPU/SIFrameLowering.cpp | 16 +- .../llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 2 +- .../llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp | 7 +- .../llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 45 +-- .../llvm/lib/Target/AMDGPU/SIInstrInfo.h | 19 +- .../llvm/lib/Target/AMDGPU/SIInstructions.td | 7 - .../llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp | 136 ++------- .../lib/Target/AMDGPU/SILowerWWMCopies.cpp (gone) | 141 ---------- .../lib/Target/AMDGPU/SIMachineFunctionInfo.cpp | 69 ++--- .../llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h | 39 ++- .../llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp | 23 +- .../llvm/lib/Target/AMDGPU/SIRegisterInfo.h | 17 +- .../llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 2 + .../Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp | 6 +- .../llvm/lib/Target/BPF/BPFMISimplifyPatchable.cpp | 26 +- .../llvm-project/llvm/lib/Target/BPF/BTFDebug.cpp | 2 + .../llvm/lib/Target/LoongArch/LoongArch.td | 5 + .../lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp | 50 +++- .../Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp | 14 +- .../llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp | 37 +-- .../llvm/lib/Target/PowerPC/PPCInstrFormats.td | 6 + .../llvm/lib/Target/PowerPC/PPCInstrInfo.td | 9 + .../llvm/lib/Target/PowerPC/PPCMCInstLower.cpp | 4 - .../llvm/lib/Target/PowerPC/PPCScheduleP9.td | 2 +- .../llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp | 15 +- .../Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp | 9 + .../llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | 39 +-- .../llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp | 13 +- .../llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 26 +- .../lib/Target/RISCV/RISCVPushPopOptimizer.cpp | 3 +- .../llvm/lib/Target/Sparc/SparcInstrInfo.td | 16 ++ .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 5 + contrib/llvm-project/llvm/lib/Target/X86/X86.td | 7 + .../llvm/lib/Target/X86/X86ISelLowering.cpp | 96 ++++--- .../llvm/lib/Target/X86/X86ISelLowering.h | 2 - .../llvm/lib/Target/X86/X86InstrAVX512.td | 10 + .../llvm/lib/Target/X86/X86InstrSSE.td | 5 + .../llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 14 +- .../llvm/lib/Target/X86/X86TargetTransformInfo.h | 1 + .../llvm-project/llvm/lib/TargetParser/Host.cpp | 10 +- .../lib/TargetParser/LoongArchTargetParser.cpp | 12 + .../AggressiveInstCombine.cpp | 217 ++++----------- .../llvm/lib/Transforms/Coroutines/CoroElide.cpp | 83 ++++-- .../lib/Transforms/IPO/FunctionSpecialization.cpp | 82 +----- .../InstCombine/InstructionCombining.cpp | 2 +- .../Instrumentation/ControlHeightReduction.cpp | 14 + .../Transforms/Instrumentation/GCOVProfiling.cpp | 4 +- .../Transforms/Scalar/ConstraintElimination.cpp | 2 +- .../llvm/lib/Transforms/Scalar/JumpThreading.cpp | 2 + .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 256 +---------------- .../Transforms/Scalar/TailRecursionElimination.cpp | 6 + .../llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 14 +- .../lib/Transforms/Vectorize/LoopVectorize.cpp | 38 ++- .../llvm/tools/llvm-readobj/ELFDumper.cpp | 2 +- .../openmp/runtime/src/ompt-event-specific.h | 13 +- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 4 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 2 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- lib/libc++/__config_site | 1 + lib/libc++/module.modulemap | 65 ++--- 249 files changed, 3393 insertions(+), 2248 deletions(-)
A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=80a1bcb529d0c08c834f05de8ad6758ba093b591 commit 80a1bcb529d0c08c834f05de8ad6758ba093b591 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-09-29 18:51:44 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-07 23:04:39 +0000 Merge llvm-project release/17.x llvmorg-17.0.1-25-g098e653a5bed This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp to llvmorg-17.0.1-25-g098e653a5bed. PR: 273753 MFC after: 1 month (cherry picked from commit 4542f901cb0c5dd66ab5b541f2fbc659fd46f893) .../DependencyScanningFilesystem.h | 18 ++++- .../llvm-project/clang/lib/AST/ExprConstant.cpp | 17 +++-- contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 24 ------- .../llvm-project/clang/lib/CodeGen/CGCoroutine.cpp | 33 --------- .../clang/lib/CodeGen/CodeGenFunction.h | 5 -- .../clang/lib/Frontend/TextDiagnostic.cpp | 3 +- .../cuda_wrappers/bits/basic_string.h (new) | 9 +++ .../cuda_wrappers/bits/basic_string.tcc (new) | 9 +++ .../llvm-project/clang/lib/Sema/SemaChecking.cpp | 6 +- .../DependencyScanningFilesystem.cpp | 79 ++++++++++++++++++---- contrib/llvm-project/libcxx/include/__config | 2 +- contrib/llvm-project/lld/COFF/Writer.cpp | 2 +- .../llvm/include/llvm/Transforms/Utils/Local.h | 10 +++ .../llvm-project/llvm/lib/Analysis/InlineCost.cpp | 20 ++---- .../llvm/lib/CodeGen/StackColoring.cpp | 62 ++++------------- .../lib/Target/AArch64/AArch64ISelLowering.cpp | 4 +- .../llvm/lib/Target/ARM/ARMInstrInfo.td | 2 +- .../llvm/lib/Target/ARM/ARMInstrThumb2.td | 2 +- .../llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 28 ++++++-- .../llvm/lib/Transforms/Scalar/GVN.cpp | 7 +- .../llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp | 23 ++++--- .../lib/Transforms/Scalar/SimpleLoopUnswitch.cpp | 61 +++++++++-------- .../llvm/lib/Transforms/Utils/Local.cpp | 31 +++++++-- .../llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 12 ++-- contrib/llvm-project/llvm/tools/lli/lli.cpp | 14 ++++ .../llvm/tools/llvm-readobj/COFFDumper.cpp | 30 ++++---- lib/clang/headers/Makefile | 22 ++++-- lib/clang/include/VCSVersion.inc | 6 +- lib/clang/include/clang/Basic/Version.inc | 6 +- lib/clang/include/lld/Common/Version.inc | 2 +- lib/clang/include/lldb/Version/Version.inc | 6 +- lib/clang/include/llvm/Config/config.h | 4 +- lib/clang/include/llvm/Config/llvm-config.h | 4 +- lib/clang/include/llvm/Support/VCSRevision.h | 2 +- 34 files changed, 319 insertions(+), 246 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=2ed094adef32cc683a9a077f1c8eb2241754068a commit 2ed094adef32cc683a9a077f1c8eb2241754068a Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-01-10 16:19:00 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-10 16:20:30 +0000 databases/rrdtool: fix build with lld 17 Some symbols in the linker version script librrd.sym are undefined when the CACHE option is off. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2024Q1 databases/rrdtool/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
A commit in branch 2024Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=014c6ea64d07ff7f3e35d82d2db6e90c1e9eef9d commit 014c6ea64d07ff7f3e35d82d2db6e90c1e9eef9d Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-01-10 16:19:00 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-10 16:23:10 +0000 databases/rrdtool: fix build with lld 17 Some symbols in the linker version script librrd.sym are undefined when the CACHE option is off. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273753 MFH: 2024Q1 (cherry picked from commit 2ed094adef32cc683a9a077f1c8eb2241754068a) databases/rrdtool/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=05917d340dee6d2bf02463af53372f2da2ecab00 commit 05917d340dee6d2bf02463af53372f2da2ecab00 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-01-10 17:52:00 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-10 17:55:23 +0000 devel/ivykis: fix build with lld 17 The linker version script libivykis.posix.ver refers to several inotify related functions, which are never used on FreeBSD since we do not support the inotity interface. This causes errors with lld 17, so add a post-patch that deletes the undefined symbols from the linker script. PR: 273753 MFH: 2024Q1 devel/ivykis/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
A commit in branch 2024Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=280f70074cba4fcfe8b6ceb4f78ea1db2580877b commit 280f70074cba4fcfe8b6ceb4f78ea1db2580877b Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-01-10 17:52:00 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-01-10 17:55:38 +0000 devel/ivykis: fix build with lld 17 The linker version script libivykis.posix.ver refers to several inotify related functions, which are never used on FreeBSD since we do not support the inotity interface. This causes errors with lld 17, so add a post-patch that deletes the undefined symbols from the linker script. PR: 273753 MFH: 2024Q1 (cherry picked from commit 05917d340dee6d2bf02463af53372f2da2ecab00) devel/ivykis/Makefile | 4 ++++ 1 file changed, 4 insertions(+)
Should all problems involving --version-script be brought here? bug 277585, bug 276542 and more...