[arch-general] [arch-dev-public] GCC 11 and new toolchain on [testing]
lone_wolf at klaas-de-kat.nl
Sat May 15 10:25:08 UTC 2021
On 14-05-2021 23:06, Genes Lists via arch-general wrote:
> On 5/13/21 9:29 PM, Giancarlo Razzolini via arch-dev-public wrote:
>> Also, if you guys notice any issues, let me know.
>> Giancarlo Razzolini
> FYI, I've come across one issue which was triggered after updating to
> gcc 11.
> Building kea (from git) worked fine using gcc 10, I am now seeing fail :
> checking thread support... no
> configure: WARNING: unsupported C++11 feature
> configure: retrying by adding --std=c++1x to g++ --std=c++0x
> checking --std=c++1x support... no
> configure: error: thread (a C++11 feature) is not supported
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 ?
More information about the arch-general