[OpenWrt-Devel] GCC 7.4.0 ld LTO plugin issues with SDK
Daniel F. Dickinson
cshore at thecshore.com
Wed Jan 2 20:58:50 EST 2019
On 2019-01-02 3:06 p.m., Daniel F. Dickinson wrote:
> With the SDK I'm getting errors with LTO -- at least for json-c LD is
> trying to load the *target's* LTO plugin instead of host.
> error loading plugin:
> invalid ELF header
So it turns out that for the SDK that it turns libraries into
library.bin and the original *.so* becomes a bash script. Apparently
GCC doesn't like that, at least for it's own plugins.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel