Linux x86_64, Debug, clang 6.0, libc++ . Options: gm2calc:shared-True