-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang: Upgrade to 19.x release #982
Conversation
56cf8ea
to
afedde8
Compare
cabe4f2
to
3e63668
Compare
515b3c3
to
b994e44
Compare
...bedded-layer/recipes-devtools/bpftrace/bpftrace/0001-cmake-Bump-max-LLVM-version-to-19.patch
Outdated
Show resolved
Hide resolved
file://run-ptest \ | ||
file://0001-cmake-Bump-max-LLVM-version-to-19.patch \ | ||
" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you happen to have buildpaths disabled or lowered to WARN_QA?
With ptest enabled I'm seeing (with older 0.20.1 version):
http://errors.yoctoproject.org/Errors/Build/190235/
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/bpftrace_test in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testprogs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/cmake_install.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/lib/bpftrace/ptest/tests/testlibs/CTestTestfile.cmake in package bpftrace-ptest contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/src/debug/bpftrace/0.20.1+git/parser.tab.hh in package bpftrace-src contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/src/debug/bpftrace/0.20.1+git/lex.yy.cc in package bpftrace-src contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/src/debug/bpftrace/0.20.1+git/parser.tab.cc in package bpftrace-src contains reference to TMPDIR [buildpaths]
ERROR: bpftrace-0.20.1+git-r0 do_package_qa: QA Issue: File /usr/src/debug/bpftrace/0.20.1+git/location.hh in package bpftrace-src contains reference to TMPDIR [buildpaths]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes in yoe buildpaths
is downgraded to be a warning.
f58697e
to
1737e3b
Compare
d996339
to
bd67b38
Compare
it need to be ported to not use generic char_traits Signed-off-by: Khem Raj <[email protected]>
Fixes build with clang-19 Signed-off-by: Khem Raj <[email protected]>
Brings clang-19 support Signed-off-by: Khem Raj <[email protected]>
FYI: I've noticed one more small issue introduced by this PR in some multilib builds:
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). |
installed-vs-shipped QA issue fixed in: 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. |
Release Notes below llvm - https://releases.llvm.org/19.1.0/docs/ReleaseNotes.html clang - https://releases.llvm.org/19.1.0/tools/clang/docs/ReleaseNotes.html lld - https://releases.llvm.org/19.1.0/tools/lld/docs/ReleaseNotes.html libc++ - https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.html clang-extra - https://releases.llvm.org/19.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html Signed-off-by: Khem Raj <[email protected]>
* other libraries are installed in 'lib64' or 'lib32' based on LLVM_LIBDIR_SUFFIX value, but libscanbuild files were always installed in 'lib' * fixes: 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] e.g. in multilib build where libdir is set to /usr/lib32 or /usr/lib64. Signed-off-by: Martin Jansa <[email protected]> Signed-off-by: Khem Raj <[email protected]>
These recipes do not yet build with libc++-19, for now use libstdc++, poco and netdata do not compile with clang-19 at all Signed-off-by: Khem Raj <[email protected]>
This is a workaround until [1] is fixed [1] llvm/llvm-project#108262 Signed-off-by: Khem Raj <[email protected]>
With clang-19 LLDB is building fine for RISCV64 Signed-off-by: Khem Raj <[email protected]>
This is no longer needed with clang-19 Signed-off-by: Khem Raj <[email protected]>
openmp port for riscv32 is not yet available so we can not use clang for it for now. Signed-off-by: Khem Raj <[email protected]>
ptest tries to compile some portions on the target and demands the compiler that was used to cross-compile it Signed-off-by: Khem Raj <[email protected]>
Contributor checklist
Signed-off-by
is presentReviewer Guidelines