Compiled on RPI4B-4G with 5.10.77-piCore-v8 Compile Flags: CFLAGS='-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -flto -fuse-linker-plugin -fno-exceptions' CXXFLAGS='-march=armv8-a+crc -mtune=cortex-a72 -Os -pipe -flto -fuse-linker-plugin -fno-exceptions -fno-rtti' LDFLAGS='-Wl,-O1' export CFLAGS CXXFLAGS LDFLAGS Dependencies: compiletc automake libtool-dev intltool llvm-bin Commands: wget https://dist.libuv.org/dist/v1.43.0/libuv-v1.43.0.tar.gz tar -xf libuv-v1.43.0.tar.gz cd libuv-v1.43.0/ # fix LTO plugin 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 ./autogen.sh ./configure --prefix=/usr/local --localstatedir=/var --enable-static time make -j4 real 0m 31.17s user 0m 59.28s sys 0m 18.06s DESTDIR=/tmp/packing-libuv make install strip --strip-unneeded /tmp/packing-libuv/usr/local/lib/libuv.so.1.0.0 llvm-strip --strip-debug /tmp/packing-libuv/usr/local/lib/libuv.a # dev mkdir -p /tmp/packing-libuv-dev/usr/local/lib mv /tmp/packing-libuv/usr/local/lib/*a /tmp/packing-libuv-dev/usr/local/lib mv /tmp/packing-libuv/usr/local/lib/pkgconfig/ /tmp/packing-libuv-dev/usr/local/lib mv /tmp/packing-libuv/usr/local/include /tmp/packing-libuv-dev/usr/local/