Bug 273753 - [exp-run] Against llvm-17-update branch on GitHub
Summary: [exp-run] Against llvm-17-update branch on GitHub
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Port Management Team
URL:
Keywords:
Depends on: 273775 273789 273791 273794 273959 273981 273992 273995 273998 274000 274036 274037 274038 274039 274040 274041 274042 274056 274088 274089 274106 274108 274109 274111 274146 274147 274148 274150 274196 274313 274329 274332 274334 274335 274336 274337 274356 274464 274626 274677 274697 274740 275854
Blocks:
  Show dependency treegraph
 
Reported: 2023-09-13 06:57 UTC by Dimitry Andric
Modified: 2024-03-09 00:24 UTC (History)
6 users (show)

See Also:


Attachments
Fix ports-mgmt/pkg build with lld 17 (812 bytes, patch)
2023-09-14 07:15 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2023-09-13 06:57:32 UTC
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.
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2023-09-14 07:15:47 UTC
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.
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2023-09-14 08:54:51 UTC
* bug 273775 for security/rhash
Comment 3 Dimitry Andric freebsd_committer freebsd_triage 2023-09-14 17:07:23 UTC
* bug 273789 for textproc/libxml2
Comment 4 Dimitry Andric freebsd_committer freebsd_triage 2023-09-14 17:43:44 UTC
* bug 273791 for devel/binutils
Comment 5 Dimitry Andric freebsd_committer freebsd_triage 2023-09-14 19:25:48 UTC
* bug 273794 for sysutils/fusefs-libs
Comment 6 Dimitry Andric freebsd_committer freebsd_triage 2023-09-20 07:29:26 UTC
* bug 273959 for devel/llvm1[0-5]
Comment 7 Dimitry Andric freebsd_committer freebsd_triage 2023-09-20 17:53:45 UTC
* bug 273981 for graphics/mesa-dri
Comment 8 Dimitry Andric freebsd_committer freebsd_triage 2023-09-21 08:48:42 UTC
* 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)
Comment 9 Dimitry Andric freebsd_committer freebsd_triage 2023-09-21 09:10:31 UTC
* bug 273995 for audio/lame
Comment 10 commit-hook freebsd_committer freebsd_triage 2023-09-21 15:47:01 UTC
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(+)
Comment 11 Dimitry Andric freebsd_committer freebsd_triage 2023-09-21 16:45:59 UTC
* bug 274000 for devel/talloc
Comment 12 Antoine Brodin freebsd_committer freebsd_triage 2023-09-22 21:05:50 UTC
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
Comment 13 Dimitry Andric freebsd_committer freebsd_triage 2023-09-23 08:05:08 UTC
* 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
Comment 14 Dimitry Andric freebsd_committer freebsd_triage 2023-09-23 19:33:05 UTC
(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...
Comment 15 Dimitry Andric freebsd_committer freebsd_triage 2023-09-23 20:08:00 UTC
* bug 274056 for devel/libffi
Comment 16 Antoine Brodin freebsd_committer freebsd_triage 2023-09-24 19:02:54 UTC
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
Comment 17 Dimitry Andric freebsd_committer freebsd_triage 2023-09-25 19:04:51 UTC
* bug 274088 for multimedia/libva
Comment 18 Dimitry Andric freebsd_committer freebsd_triage 2023-09-25 19:26:20 UTC
* bug 274089 for devel/gamin
Comment 19 Antoine Brodin freebsd_committer freebsd_triage 2023-09-26 07:31:39 UTC
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
Comment 20 Dimitry Andric freebsd_committer freebsd_triage 2023-09-26 12:58:29 UTC
* bug 274106 for java/openjdk8
Comment 21 Dimitry Andric freebsd_committer freebsd_triage 2023-09-26 14:26:10 UTC
* bug 274108 for devel/libnotify
Comment 22 Dimitry Andric freebsd_committer freebsd_triage 2023-09-26 15:31:06 UTC
* bug 274109 for java/openjdk17
Comment 23 Dimitry Andric freebsd_committer freebsd_triage 2023-09-26 19:00:24 UTC
* bug 274111 for audio/pulseaudio
Comment 24 Dimitry Andric freebsd_committer freebsd_triage 2023-09-26 19:08:30 UTC
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.
Comment 25 Dimitry Andric freebsd_committer freebsd_triage 2023-09-28 17:10:09 UTC
* bug 274146 for databases/tdb
Comment 26 Dimitry Andric freebsd_committer freebsd_triage 2023-09-28 17:24:54 UTC
* bug 274147 for devel/tevent
Comment 27 Dimitry Andric freebsd_committer freebsd_triage 2023-09-28 17:40:47 UTC
* bug 274148 for devel/basu
Comment 28 Dimitry Andric freebsd_committer freebsd_triage 2023-09-28 17:44:27 UTC
* bug 273998 for devel/elfutils
Comment 29 Dimitry Andric freebsd_committer freebsd_triage 2023-09-28 18:38:47 UTC
* bug 274150 for devel/schilybase
Comment 30 Dimitry Andric freebsd_committer freebsd_triage 2023-10-01 12:06:20 UTC
* bug 274196 for sysutils/libcdio
Comment 31 Dimitry Andric freebsd_committer freebsd_triage 2023-10-06 18:18:58 UTC
* bug 274313 for net/samba413
Comment 32 Dimitry Andric freebsd_committer freebsd_triage 2023-10-07 14:04:12 UTC
* bug 274329 for x11-toolkits/libwnck3
Comment 33 Dimitry Andric freebsd_committer freebsd_triage 2023-10-07 14:42:20 UTC
* bug 274332 for security/clamav
Comment 34 Dimitry Andric freebsd_committer freebsd_triage 2023-10-07 14:56:59 UTC
* bug 274332 for graphics/libgphoto2
Comment 35 Dimitry Andric freebsd_committer freebsd_triage 2023-10-07 15:58:09 UTC
* bug 274335 for databases/firebird30-server (and databases/firebird30-client)
* bug 274336 for databases/firebird40-server (and databases/firebird40-client)
Comment 36 Dimitry Andric freebsd_committer freebsd_triage 2023-10-07 16:53:13 UTC
* bug 274337 for devel/onetbb
Comment 37 Dimitry Andric freebsd_committer freebsd_triage 2023-10-08 15:27:40 UTC
* bug 274356 for x11/libxklavier
Comment 38 Dimitry Andric freebsd_committer freebsd_triage 2023-10-14 14:02:16 UTC
* bug 274464 for databases/mysql80-server
Comment 39 Dimitry Andric freebsd_committer freebsd_triage 2023-10-20 16:30:55 UTC
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?
Comment 41 Dimitry Andric freebsd_committer freebsd_triage 2023-10-21 10:20:24 UTC
(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.
Comment 42 Dimitry Andric freebsd_committer freebsd_triage 2023-10-21 10:22:56 UTC
(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)!
Comment 43 Dimitry Andric freebsd_committer freebsd_triage 2023-10-21 11:01:46 UTC
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.
Comment 44 Dimitry Andric freebsd_committer freebsd_triage 2023-10-21 12:28:32 UTC
* bug 274626 for multimedia/totem-pl-parser
Comment 48 Dimitry Andric freebsd_committer freebsd_triage 2023-10-23 16:47:14 UTC
* bug 274677 for www/webkit2-gtk3
Comment 49 Dimitry Andric freebsd_committer freebsd_triage 2023-10-24 16:25:51 UTC
* bug 274697 for editors/libreoffice
Comment 50 Dimitry Andric freebsd_committer freebsd_triage 2023-10-26 16:32:28 UTC
* bug 274740 for www/qt5-webengine
Comment 51 Dimitry Andric freebsd_committer freebsd_triage 2023-10-26 16:46:07 UTC
(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.
Comment 52 Dimitry Andric freebsd_committer freebsd_triage 2023-10-26 18:10:01 UTC
(In reply to Dimitry Andric from comment #51)
Yep, just verified it: www/qt5-webkit builds OK after the fix for bug 273992.
Comment 53 Antoine Brodin freebsd_committer freebsd_triage 2023-10-26 18:36:09 UTC
(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
Comment 54 Dimitry Andric freebsd_committer freebsd_triage 2023-10-26 21:27:47 UTC
(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.
Comment 55 Dimitry Andric freebsd_committer freebsd_triage 2023-11-04 10:20:08 UTC
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.
Comment 56 commit-hook freebsd_committer freebsd_triage 2023-11-04 16:27:37 UTC
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(-)
Comment 57 commit-hook freebsd_committer freebsd_triage 2023-11-04 16:27:39 UTC
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(+)
Comment 58 Dimitry Andric freebsd_committer freebsd_triage 2023-11-04 16:36:39 UTC
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 :)
Comment 59 Antoine Brodin freebsd_committer freebsd_triage 2023-11-04 17:25:11 UTC
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
Comment 60 Antoine Brodin freebsd_committer freebsd_triage 2023-11-04 17:27:26 UTC
(In reply to Antoine Brodin from comment #59)
buildworld not installworld
Comment 61 Dimitry Andric freebsd_committer freebsd_triage 2023-11-04 18:09:11 UTC
(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.
Comment 62 Dimitry Andric freebsd_committer freebsd_triage 2023-11-04 18:26:44 UTC
(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)
Comment 63 Antoine Brodin freebsd_committer freebsd_triage 2023-11-07 10:05:26 UTC
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
Comment 64 commit-hook freebsd_committer freebsd_triage 2023-11-09 19:33:00 UTC
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(+)
Comment 65 commit-hook freebsd_committer freebsd_triage 2023-11-09 19:33:01 UTC
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(+)
Comment 66 commit-hook freebsd_committer freebsd_triage 2023-11-11 09:47:28 UTC
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(+)
Comment 67 commit-hook freebsd_committer freebsd_triage 2023-11-11 17:46:46 UTC
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(+)
Comment 68 Dimitry Andric freebsd_committer freebsd_triage 2023-11-12 19:17:22 UTC
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.
Comment 69 commit-hook freebsd_committer freebsd_triage 2023-11-12 20:05:49 UTC
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(+)
Comment 70 commit-hook freebsd_committer freebsd_triage 2023-11-13 19:07:18 UTC
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(+)
Comment 71 commit-hook freebsd_committer freebsd_triage 2023-11-14 22:32:31 UTC
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(+)
Comment 73 commit-hook freebsd_committer freebsd_triage 2023-11-19 20:10:45 UTC
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(+)
Comment 74 commit-hook freebsd_committer freebsd_triage 2023-11-19 20:10:46 UTC
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(-)
Comment 75 commit-hook freebsd_committer freebsd_triage 2023-11-19 20:10:48 UTC
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(+)
Comment 76 commit-hook freebsd_committer freebsd_triage 2023-11-19 20:10:49 UTC
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(-)
Comment 77 commit-hook freebsd_committer freebsd_triage 2023-11-19 20:36:52 UTC
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(-)
Comment 78 commit-hook freebsd_committer freebsd_triage 2023-11-22 00:54:05 UTC
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(+)
Comment 79 commit-hook freebsd_committer freebsd_triage 2023-11-22 16:38:58 UTC
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(-)
Comment 80 Piotr Kubaj freebsd_committer freebsd_triage 2023-11-22 16:39:30 UTC
Woops, sorry for the noise.
Comment 81 Dimitry Andric freebsd_committer freebsd_triage 2023-11-22 17:26:20 UTC
(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.
Comment 82 Piotr Kubaj freebsd_committer freebsd_triage 2023-11-22 19:36:28 UTC
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
Comment 83 commit-hook freebsd_committer freebsd_triage 2023-11-25 18:45:54 UTC
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(+)
Comment 84 commit-hook freebsd_committer freebsd_triage 2023-11-25 19:21:59 UTC
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(+)
Comment 85 Nuno Teixeira freebsd_committer freebsd_triage 2023-11-27 12:14:39 UTC
(In reply to commit-hook from comment #64)
Could 9b214a66ea8788a6da299139decf506a4b4f5ff1 be MFH to 2023Q4?

Thanks
Comment 86 Dimitry Andric freebsd_committer freebsd_triage 2023-12-02 11:06:26 UTC
(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? :)
Comment 87 Nuno Teixeira freebsd_committer freebsd_triage 2023-12-02 11:22:03 UTC
(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
Comment 88 commit-hook freebsd_committer freebsd_triage 2023-12-03 14:44:35 UTC
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(+)
Comment 89 Dimitry Andric freebsd_committer freebsd_triage 2023-12-06 22:16:18 UTC
(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.
Comment 90 Nuno Teixeira freebsd_committer freebsd_triage 2023-12-07 11:16:10 UTC
(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
Comment 92 Dimitry Andric freebsd_committer freebsd_triage 2023-12-07 19:25:27 UTC
lang/quilc was a distfile error, not clang related.
Comment 93 commit-hook freebsd_committer freebsd_triage 2023-12-07 20:10:52 UTC
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(+)
Comment 94 commit-hook freebsd_committer freebsd_triage 2023-12-07 20:59:01 UTC
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(+)
Comment 95 Dimitry Andric freebsd_committer freebsd_triage 2023-12-07 21:56:14 UTC
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.)
Comment 96 Antoine Brodin freebsd_committer freebsd_triage 2023-12-08 07:24:59 UTC
(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
Comment 97 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:07 UTC
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(-)
Comment 98 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:09 UTC
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(-)
Comment 99 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:10 UTC
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(-)
Comment 100 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:11 UTC
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(-)
Comment 101 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:13 UTC
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(-)
Comment 102 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:14 UTC
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(-)
Comment 103 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:15 UTC
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(-)
Comment 104 commit-hook freebsd_committer freebsd_triage 2023-12-08 17:40:17 UTC
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(-)
Comment 105 Dimitry Andric freebsd_committer freebsd_triage 2023-12-08 17:45:25 UTC
On to llvm-18! :)
Comment 106 commit-hook freebsd_committer freebsd_triage 2023-12-08 21:23:58 UTC
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(-)
Comment 107 commit-hook freebsd_committer freebsd_triage 2023-12-13 18:54:18 UTC
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(+)
Comment 108 Alex S 2023-12-17 21:19:12 UTC
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.
Comment 109 commit-hook freebsd_committer freebsd_triage 2023-12-20 19:19:23 UTC
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(+)
Comment 110 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:50:55 UTC
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(-)
Comment 111 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:50:57 UTC
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(+)
Comment 112 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:50:58 UTC
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(-)
Comment 113 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:51:00 UTC
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(-)
Comment 114 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:51:01 UTC
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(+)
Comment 115 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:51:04 UTC
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(-)
Comment 116 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:51:05 UTC
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(-)
Comment 117 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:51:06 UTC
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(-)
Comment 118 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:51:08 UTC
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(-)
Comment 119 commit-hook freebsd_committer freebsd_triage 2024-01-07 17:51:09 UTC
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(-)
Comment 120 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:03 UTC
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(+)
Comment 121 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:05 UTC
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(-)
Comment 122 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:06 UTC
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(+)
Comment 123 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:08 UTC
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(-)
Comment 124 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:09 UTC
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(-)
Comment 125 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:10 UTC
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(-)
Comment 126 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:12 UTC
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(-)
Comment 127 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:13 UTC
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(-)
Comment 128 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:16 UTC
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(-)
Comment 129 commit-hook freebsd_committer freebsd_triage 2024-01-07 23:09:17 UTC
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(-)
Comment 130 commit-hook freebsd_committer freebsd_triage 2024-01-10 16:21:12 UTC
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(-)
Comment 131 commit-hook freebsd_committer freebsd_triage 2024-01-10 16:24:14 UTC
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(-)
Comment 132 commit-hook freebsd_committer freebsd_triage 2024-01-10 17:56:23 UTC
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(+)
Comment 133 commit-hook freebsd_committer freebsd_triage 2024-01-10 17:58:25 UTC
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(+)
Comment 134 Tatsuki Makino 2024-03-09 00:24:55 UTC
Should all problems involving --version-script be brought here?

bug 277585, bug 276542 and more...