While testing for Apple M1's we noticed a couple of things. First, Apple finally fixed static initialization. It is a C++11 core feature, but it was never available until BigSur.
Second, Clang on BigSur uses C++03 by default. To get C++11 features you have to add -std=c++11 to CXXFLAGS or the command line.
Jeff