tce-load -i compiletc cmake pcre21042-dev wget https://github.com/editorconfig/editorconfig-core-c/archive/refs/tags/v0.12.6.tar.gz cd editorconfig-core-c-0.12.6 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE ../ [-fno-exceptions fails] make [0m 1.02s] sudo make install [100%] Linking C executable c-sample /tmp/tcloop/cmake/usr/local/bin/cmake -E cmake_link_script CMakeFiles/c-sample.dir/link.txt --verbose=1 /usr/local/bin/cc -flto -mtune=generic -Os -pipe "CMakeFiles/c-sample.dir/eg/c-sample.c.o" -o c-sample -Wl,-rpath,/usr/src/libptytty/build libptytty.so.0 /usr/local/bin/ld: libptytty.so.0: undefined reference to `std::__throw_out_of_range_fmt(char const*, ...)' cc -flto -mtune=generic -Os -pipe "CMakeFiles/c-sample.dir/eg/c-sample.c.o" -o c-sample -Wl,-rpath,/usr/src/libptytty/build libptytty.so.0 -lstdc++