Most (if not all) of global variables for command line options need to be defined as static. This is currently not the case. To find candidates use: git grep "cl::opt" *.cpp | grep -v static git grep "cl::OptionCategory" *.cpp | grep -v static