顯示具有 [OpenWRT]Missing lto 標籤的文章。 顯示所有文章
顯示具有 [OpenWRT]Missing lto 標籤的文章。 顯示所有文章

2024年6月29日 星期六

[OpenWRT] Missing lto (liblto_plugin.so)

1. 少了lto
plugin needed to handle lto object
這其實是一個error,但卻沒顯示error,還把.a建出來,他的意思是組libubusd_library.a時找不到liblto_plugin.so
[ 62%] Linking C static library libubusd_library.a
toolchain-aarch64_xxx/bin/aarch64-openwrt-linux-ar: CMakeFiles/ubusd_library.dir/ubusd.c.o: plugin needed to handle lto object
toolchain-aarch64_xxx/bin/aarch64-openwrt-linux-ar: CMakeFiles/ubusd_library.dir/ubusd_proto.c.o: plugin needed to handle lto object
toolchain-aarch64_xxx/bin/aarch64-openwrt-linux-ar: CMakeFiles/ubusd_library.dir/ubusd_id.c.o: plugin needed to handle lto object