clang-native on Debian Bookworm fails to compile
Description
Environment
relates to
Activity
Edi Feschiyan July 21, 2023 at 7:37 AM
I confirm, even after the revert clang-native still fails to build on debian bookworm.

Denys Dmytriyenko July 20, 2023 at 2:33 AM
So, it doesn't appear to be specifically caused by YP 4.0.11 update or clang version in meta-clang, as version 14.0.3 was added more than a year ago. I'm suspecting that Debian "bookworm" (released just a month ago) is too new with all the latest host tool, which are used when building native packages like clang-native. I would assume that even previous YP 4.0.10 would fail on "bookworm". could you please confirm?
meta-clang/kirkstone comes with clang/llvm 14.0.3, where master has 16.0.6. This issue got fixed in llvm 16 and backported to 15, but not 14. We could try submitting such backport to meta-clang/kirkstone... Need more testing.

Denys Dmytriyenko July 19, 2023 at 9:42 PM(edited)
I'll see what I can do here. Probably need to create a new VM with Debian...
Worst case scenario, we can pin down meta-clang but upgrade everything else.

Jan-Simon Moeller July 19, 2023 at 9:11 AM
got a few cycles to look at this ?

Jan-Simon Moeller July 19, 2023 at 9:11 AM
The Clang issue is likely caused by an uprev to clang-14 (or a point release of it).
Check if there is a patch in meta-clang we can uprev to or submit a fix.
Details
Details
Assignee

Building AGL fails on Debian bookworm which has clang-14.
The issue is already known and in couple trackers:
https://bugs.gentoo.org/878449
https://github.com/llvm/llvm-project/issues/58018
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1877392.html