Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78731 - [clang] The 'memory' header from libstdc++ won't compile with Clang 15 in C++23 mode

Attached to Project: Arch Linux
Opened by Jules Pénuchot (jpenuchot) - Wednesday, 07 June 2023, 13:28 GMT
Last edited by Toolybird (Toolybird) - Thursday, 08 June 2023, 00:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Clang is out of date and libstdc++ expects C++23 compilers to support P0634R3[1] which is implemented in Clang 16[2].
Essential libstdc++ headers will not compile in C++23 as long as Clang remains out of date.

[1] https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0634r3.html
[2] https://clang.llvm.org/cxx_status.html

Steps to reproduce:

Try to compile the following code with `clang++ --std=c++2b`:

```c++
#include <algorithm>
```

NB: The algorithm header is included in many other STL headers like memory.
This task depends upon

Closed by  Toolybird (Toolybird)
Thursday, 08 June 2023, 00:18 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Jules Pénuchot (jpenuchot) - Wednesday, 07 June 2023, 13:39 GMT
PS: I know that bugs shouldn't be reported for out of date packages, but this is also a consequence of the libstdc++ update.
Comment by Toolybird (Toolybird) - Thursday, 08 June 2023, 00:18 GMT
clang/llvm is not upgraded lightly because it's super complex and heaps of stuff depends on it. The Arch PM (notified) will have *very* good reasons for not upgrading. It will happen when it's ready.

> I know that bugs shouldn't be reported for out of date packages

Correct :)

Loading...