https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105340
Bug ID: 105340 Summary: xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found Product: gcc Version: 7.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: szy_mailbox at 126 dot com Target Milestone: --- When compiled with a helloword program, it reports the above error, how to solve? does it exist in high version gcc? My gcc version is: [root]# /home/gcc-7.5.0/host-aarch64-unknown-linux-gnu/gcc/xgcc -v Using built-in specs. COLLECT_GCC=/home/gcc-7.5.0/host-aarch64-unknown-linux-gnu/gcc/xgcc Target: aarch64-unknown-linux-gnu Configured with: ./configure Thread model: posix gcc version 7.5.0 (GCC) which is compiled from source code.