Bug 282433 - update default version of LLVM from 15 to 17
Summary: update default version of LLVM from 15 to 17
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-30 22:19 UTC by Sergey A. Osokin
Modified: 2024-12-24 17:08 UTC (History)
8 users (show)

See Also:
sunpoet: exp-run?


Attachments
[PATCH] Mk/bsd.default-versions.mk - update LLVM default version (528 bytes, patch)
2024-10-30 22:19 UTC, Sergey A. Osokin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey A. Osokin freebsd_committer freebsd_triage 2024-10-30 22:19:30 UTC
Created attachment 254754 [details]
[PATCH] Mk/bsd.default-versions.mk - update LLVM default version

Hi,

here's the patch to update the LLVM default version from 15 to 17.  The LLVM default value is corresponding to the LLVM version in the recent 13.x release.
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-10-30 22:26:11 UTC
(In reply to Sergey A. Osokin from comment #0)

> The LLVM default value is corresponding to the LLVM version in the recent 13.x release.

The recent 13.x release is 13.4 which uses Clang 18.
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-30 22:35:05 UTC
www/firefox and clones uses 17.
I'm using 17 as default from spring without issues.
Comment 3 Sergey A. Osokin freebsd_committer freebsd_triage 2024-10-30 22:54:04 UTC
(In reply to Po-Chuan Hsieh from comment #1)

I do believe that exp-run is required for this change, so we'll see how much ports need to be updated (and one of those is graphics/mesa* family).
Comment 4 Sergey A. Osokin freebsd_committer freebsd_triage 2024-10-30 22:59:25 UTC
(In reply to Po-Chuan Hsieh from comment #1)

13.3 is still supported release, will be EoLed in two months Dec 31, 2024, has LLVM and the clang compiler version 17.0.6.  So, we can start to test ports tree against LLVM18 to ready to bump default LLVM version Jan 1st, 2025!
Comment 5 Sergey A. Osokin freebsd_committer freebsd_triage 2024-10-30 23:09:49 UTC
(In reply to Po-Chuan Hsieh from comment #1)

Please visit https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282436
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2024-10-30 23:35:39 UTC
(In reply to Sergey A. Osokin from comment #3)
> (and one of those is graphics/mesa* family)
Build and work on 14.1 amd64 with default llvm 17 (without llvm 15 installed).
Comment 7 Sergey A. Osokin freebsd_committer freebsd_triage 2024-10-30 23:45:10 UTC
(In reply to Vladimir Druzenko from comment #6)

Thanks for the confirmation, Vladimir!
I do believe we're closer with the update.
Comment 8 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-10-31 09:26:37 UTC
(In reply to Sergey A. Osokin from comment #4)

The reason for my comment was that you mentioned choosing llvm 17 due to the "recent" 13.x (which is 13.4).
I would have no question if you said "supported" 13.x. :)

(In reply to Sergey A. Osokin from comment #5)

Thanks for bug report.
Comment 9 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-10-31 09:42:18 UTC
Request exp-run.
Comment 11 Sergey A. Osokin freebsd_committer freebsd_triage 2024-11-08 20:08:06 UTC
Add maintainers of the exp-run failed ports.

Folks, could you please take a look on this.
Thank you in advance!
Comment 12 commit-hook freebsd_committer freebsd_triage 2024-11-12 05:32:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c4bdeedd071d370e693f36fb18b0735a1734f1a

commit 1c4bdeedd071d370e693f36fb18b0735a1734f1a
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-11-11 08:51:11 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-11-12 05:31:34 +0000

    PySide2: Add workaround for devel/shiboken2 issues with LLVM >= 16

    Shiboken2 itself builds fine, but the code it generates for devel/pyside2
    is broken.

    In file included from /wrkdirs/usr/ports/devel/pyside2/work-py311/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:63:
    /wrkdirs/usr/ports/devel/pyside2/work-py311/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:220:
    error: no member named 'DragMove' in 'QOpenGLShader'; did you mean simply 'DragMove'?

    PR:             270715, 282433
    Obtained from:  OpenMandriva
    MFH:            2024Q4

 x11-toolkits/qt5-gui/Makefile                      |  1 +
 .../qt5-gui/files/patch-src_gui_configure.json     |  8 +--
 .../files/patch-src_gui_kernel_qevent.h (new)      | 76 ++++++++++++++++++++++
 ...t_input_evdevkeyboard_qevdevkeyboardhandler.cpp |  6 +-
 ...support_input_evdevtouch_qevdevtouchhandler.cpp |  8 +--
 x11-toolkits/qt5-widgets/Makefile                  |  1 +
 ...idgets_graphicsview_qgraphicssceneevent.h (new) | 56 ++++++++++++++++
 7 files changed, 145 insertions(+), 11 deletions(-)
Comment 13 commit-hook freebsd_committer freebsd_triage 2024-11-12 05:33:45 UTC
A commit in branch 2024Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8fb94b4b4f0221def7b63600400f47609703c07b

commit 8fb94b4b4f0221def7b63600400f47609703c07b
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-11-11 08:51:11 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-11-12 05:32:22 +0000

    PySide2: Add workaround for devel/shiboken2 issues with LLVM >= 16

    Shiboken2 itself builds fine, but the code it generates for devel/pyside2
    is broken.

    In file included from /wrkdirs/usr/ports/devel/pyside2/work-py311/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.cpp:63:
    /wrkdirs/usr/ports/devel/pyside2/work-py311/.build/PySide2/QtGui/PySide2/QtGui/qdragmoveevent_wrapper.h:55:220:
    error: no member named 'DragMove' in 'QOpenGLShader'; did you mean simply 'DragMove'?

    PR:             270715, 282433
    Obtained from:  OpenMandriva
    MFH:            2024Q4

    (cherry picked from commit 1c4bdeedd071d370e693f36fb18b0735a1734f1a)

 x11-toolkits/qt5-gui/Makefile                      |  1 +
 .../qt5-gui/files/patch-src_gui_configure.json     |  8 +--
 .../files/patch-src_gui_kernel_qevent.h (new)      | 76 ++++++++++++++++++++++
 ...t_input_evdevkeyboard_qevdevkeyboardhandler.cpp |  6 +-
 ...support_input_evdevtouch_qevdevtouchhandler.cpp |  8 +--
 x11-toolkits/qt5-widgets/Makefile                  |  1 +
 ...idgets_graphicsview_qgraphicssceneevent.h (new) | 56 ++++++++++++++++
 7 files changed, 145 insertions(+), 11 deletions(-)
Comment 14 commit-hook freebsd_committer freebsd_triage 2024-11-12 08:33:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ecfd72cda3b5af8b1bd1dc43e1342d2183b99849

commit ecfd72cda3b5af8b1bd1dc43e1342d2183b99849
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-12 07:50:51 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-12 08:32:33 +0000

    textproc/castxml: Remove LLVM-related options and use llvm19

    PR:             282433

 textproc/castxml/Makefile | 21 ++-------------------
 1 file changed, 2 insertions(+), 19 deletions(-)