Bug 284297 - [exp-run] update LLVM_DEFAULT to 19
Summary: [exp-run] update LLVM_DEFAULT to 19
Status: Open
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: 284344 284422 284432 284407
Blocks:
  Show dependency treegraph
 
Reported: 2025-01-23 20:43 UTC by Dimitry Andric
Modified: 2025-01-29 10:10 UTC (History)
6 users (show)

See Also:


Attachments
Bump LLVM_DEFAULT to 19. (715 bytes, patch)
2025-01-23 20:44 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 2025-01-23 20:43:34 UTC
Please perform an exp-run with LLVM_DEFAULT set to 19. Depending on the fallout, I would like this bug to replace bug 283013 (update LLVM_DEFAULT to 18).
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2025-01-23 20:44:14 UTC
Created attachment 256938 [details]
Bump LLVM_DEFAULT to 19.
Comment 2 Dimitry Andric freebsd_committer freebsd_triage 2025-01-25 16:46:44 UTC
* bug 284344 for lang/ldc
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2025-01-27 18:23:36 UTC
New failure logs:

https://pkg-status.freebsd.org/gohan05/data/134i386-default-foo/2025-01-25_23h41m46s/logs/ccls-0.20240202.log
https://pkg-status.freebsd.org/gohan05/data/134i386-default-foo/2025-01-25_23h41m46s/logs/mesa-dri-24.1.7_2.log
https://pkg-status.freebsd.org/gohan05/data/134i386-default-foo/2025-01-25_23h41m46s/logs/mesa-gallium-va-24.1.7.log
https://pkg-status.freebsd.org/gohan05/data/134i386-default-foo/2025-01-25_23h41m46s/logs/mesa-gallium-vdpau-24.1.7.log
https://pkg-status.freebsd.org/gohan05/data/134i386-default-foo/2025-01-25_23h41m46s/logs/clover-24.1.7_1.log
https://pkg-status.freebsd.org/gohan05/data/134i386-default-foo/2025-01-25_23h41m46s/logs/py311-qh3-1.0.9_4.log

https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/ccls-0.20240202.log
https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/libdatadog-12.0.0_4.log
https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/openshadinglanguage-1.13.10.0_4.log
https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/dotnet-9.0.1.log
https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/dotnet8-8.0.6_2.log
https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/ldc-1.40.0.log
https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/py311-qh3-1.0.9_4.log
https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/ungoogled-chromium-132.0.6834.110_1.log
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-01-27 19:25:28 UTC
(In reply to Antoine Brodin from comment #3)
> https://pkg-status.freebsd.org/gohan06/data/134amd64-default-foo/2025-01-27_08h07m01s/logs/ungoogled-chromium-132.0.6834.110_1.log

warning: unknown warning option '-Wno-missing-template-arg-list-after-template-kw'; did you mean '-Wno-gnu-string-literal-operator-template'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-dangling-assignment-gsl'; did you mean '-Wno-dangling-gsl'? [-Wunknown-warning-option]
2 warnings generated.
Killed
===> Compilation failed unexpectedly.

Out of memory?
Comment 6 Dimitry Andric freebsd_committer freebsd_triage 2025-01-28 13:54:51 UTC
(In reply to Thierry Thomas from comment #5)
While that is indeed an error, I don't think it has to do with bumping LLVM_DEFAULT. It is due to libc++ 19 in -CURRENT, which no longer provides std::basic_string<unsigned char>. But yes, that needs to be patched somehow :)
Comment 7 Dimitry Andric freebsd_committer freebsd_triage 2025-01-28 17:56:22 UTC
(In reply to Antoine Brodin from comment #3)
The mesa-related failures on i386 are due to:

  llvm-config found: YES (/usr/local/bin/llvm-config19) 19.1.7
  Run-time dependency LLVM (modules: amdgpu(missing), asmparser, bitreader, bitwriter, core, coverage, engine, executionengine, instcombine, ipo, irreader, libdriver, linker, lto, mcdisassembler, mcjit, native, option, scalaropts, target, transformutils, all-targets, coroutines, frontenddriver, frontendhlsl, lto, windowsdriver) found: NO (tried config-tool)

This affects at least:
* graphics/mesa-dri
* graphics/mesa-gallium-va
* graphics/mesa-gallium-vdpau
* lang/clover

It is because on i386 the AMDGPU backend isn't built by default for devel/llvm19. It looks like Brooks did this to save a bit of build time, and it is not very likely that i386 users are going to run a full-blown X server. (Although, you can never be sure :)

If we can turn on this backend again for i386, I assume that quite a few failures will go away.
Comment 8 Dimitry Andric freebsd_committer freebsd_triage 2025-01-28 19:22:29 UTC
* bug 284422 for devel/ccls
Comment 9 Dimitry Andric freebsd_committer freebsd_triage 2025-01-29 10:10:00 UTC
* bug 284432 for math/openturns