Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: polikuo on January 19, 2022, 08:40:18 AM
-
PiCore 13.1 aarch64 5.10.77-piCore-v8
Compiling with LTO when I got
plugin needed to handle lto object
It appears the liblto_plugin.so is in /usr/lib/bfd-plugins instead of /usr/local/lib/bfd-plugins
I can soft link to bypass, but it should be fixed.
$ sudo mkdir /usr/local/lib/bfd-plugins
$ sudo ln -s /tmp/tcloop/gcc/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10.2.0/liblto_plugin.so.0.0.0 /usr/local/lib/bfd-plugins/liblto_plugin.so
-
I haven't used lto at all on aarch64, but Juanito just asked to have it linked this way...
ln -sfv /usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10.2.0/liblto_plugin.so /usr/lib/bfd-plugins/
-
What ? How ?
I have to manually link it there to compile.
-
That looks like a typo - sorry.
/usr/local/lib/bfd-plugins/?
-
lto is not part of the armhf/aarch64 standard build flags, so I've never really played with it. But I'll make the updates when I can.