public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Full disable of C++20 time zone support
@ 2023-06-28 18:42 Alexey Lapshin
  2023-06-28 19:33 ` Jonathan Wakely
  0 siblings, 1 reply; 9+ messages in thread
From: Alexey Lapshin @ 2023-06-28 18:42 UTC (permalink / raw)
  To: gcc-help; +Cc: jwakely

Hi!

I faced an issue with compiling libstdc++-v3/src/c++20/tzdb.cc:


[ERROR]    gcc/libstdc++-v3/src/c++20/tzdb.cc:110:21: error: 'constinit' variable 'std::chrono::{anonymous}::list_mutex' does not have a constant initializer
[ERROR]    gcc/libstdc++-v3/src/c++20/tzdb.cc:110:21: error: call to non-'constexpr' function 'std::mutex::mutex()'


Any plans to create a configure option to disable tzdb from build? Or at least make it compilable?

Tried --with-libstdcxx-zoneinfo=no but it does not take effect, because it does not cover line with the bug.

For now using workaround with changes in libstdc++-v3/src/c++20/Makefile*

Thanks

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-29 13:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-28 18:42 Full disable of C++20 time zone support Alexey Lapshin
2023-06-28 19:33 ` Jonathan Wakely
2023-06-28 19:40   ` Jonathan Wakely
2023-06-29  9:15     ` Alexey Lapshin
2023-06-29  9:23       ` Jonathan Wakely
2023-06-29  9:27         ` Alexey Lapshin
2023-06-29  9:39           ` Jonathan Wakely
2023-06-29 12:11             ` Jonathan Wakely
2023-06-29 13:51               ` Alexey Lapshin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).