Re: Full disable of C++20 time zone support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Jun 2023 at 19:42, Alexey Lapshin wrote:

> 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()'
>
>
Which target are you building for?



>
> 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.
>

Well then we should fix that. We don't want *another* configure option when
we already have two for tzdb.



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



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux