kraj / meta-clang

Clang C/C++ cross compiler and runtime for OpenEmbedded/Yocto Project
MIT License
155 stars 198 forks source link

clang: Upgrade to 19.x release #982

Closed kraj closed 2 weeks ago

kraj commented 2 months ago

Contributor checklist

Reviewer Guidelines

shr-project commented 3 weeks ago

FYI: I've noticed one more small issue introduced by this PR in some multilib builds:

ERROR: QA Issue: lib32-clang: Files/directories were installed but not shipped in any package:
  /usr/lib/libscanbuild
  /usr/lib/libscanbuild/intercept.py
  /usr/lib/libscanbuild/analyze.py
  /usr/lib/libscanbuild/clang.py
  /usr/lib/libscanbuild/report.py
  /usr/lib/libscanbuild/arguments.py
  /usr/lib/libscanbuild/shell.py
  /usr/lib/libscanbuild/compilation.py
  /usr/lib/libscanbuild/__init__.py
  /usr/lib/libscanbuild/resources
  /usr/lib/libscanbuild/resources/sorttable.js
  /usr/lib/libscanbuild/resources/selectable.js
  /usr/lib/libscanbuild/resources/scanview.css
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-clang: 13 installed and not shipped files. [installed-vs-shipped]

In these builds we use a bit strange libdir /usr/lib32 (instead of usr/lib and usr/lib64), but other parts of clang respect that, only libscanbuild doesn't. Will investigate and send fix (I don't think it should block this PR, it's just FYI).

shr-project commented 3 weeks ago

installed-vs-shipped QA issue fixed in: https://github.com/shr-project/meta-clang/commit/ff430da341c0489543c9f806a0ff54a795b7c80f

if you want to pick it to this PR (or I can open separate PR on top of this)

kraj commented 3 weeks ago

installed-vs-shipped QA issue fixed in: shr-project@ff430da

if you want to pick it to this PR (or I can open separate PR on top of this)

yeah I have cherry-picked it into clang19 PR and also to my llvm fork.