Compiled on PI4B4G with 5.10.77-piCore-v8 Compile Flags: CC='gcc' CXX='g++' CPPFLAGS='-DNDEBUG' CFLAGS='-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -flto' CXXFLAGS='-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -flto' LDFLAGS='-Wl,-O1 -Wl,-v -fuse-ld=gold -L/usr/local/lib' export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS AR='gcc-ar' NM='gcc-nm' RANLIB='gcc-ranlib' LD='ld.gold' export AR NM RANLIB LD Dependencies: compiletc gnutls-dev Commands: # fix LTO P=/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10.2.0/liblto_plugin.so.0.0.0 sudo mkdir -p /usr/local/lib/bfd-plugins sudo ln -sfv $P /usr/local/lib/bfd-plugins/liblto_plugin.so tar -xf gloox-1.0.24.tar.bz2 cd gloox-1.0.24/ ./configure time make -j4 real 9m 0.85s user 14m 11.31s sys 1m 24.43s # .la file need fixing (lib64)