[arch-general] [arch-dev-public] GCC 11 and new toolchain on [testing]
lists at sapience.com
Sat May 15 17:26:29 UTC 2021
On 5/15/21 6:33 AM, Lone_Wolf via arch-general wrote:
> On 15-05-2021 12:25, Lone_Wolf via arch-general wrote:
>> It seems gcc11 in C++11 mode has only partial support for thread
>> safety and the thread class .
>> Does it work if you build with -std=c++11 or -std=gnu++11 ?
> found another possible cause in
> https://gcc.gnu.org/gcc-11/porting_to.html .
> > The following headers are used less widely in libstdc++ and may need
> to be included explicitly when compiled with GCC 11:
> > <limits> (for std::numeric_limits)
> > <memory> (for std::unique_ptr, std::shared_ptr etc.)
> > <utility> (for std::pair, std::tuple_size, std::index_sequence etc.)
> > <thread> (for members of namespace std::this_thread.)
Thanks LM - perhaps you can offer your thoughts upstream by adding to
This problem exists with the released version in community as well as
git master, fyi.
More information about the arch-general