Arm-none-eabi-g++: fatal error: -fuse-linker-plugin, but not found [Closed]


I downloaded firmware 0.4.9 to prepare a local setup(Ubuntu 14.04.3). Build for photon/p1 results in following error:

arm-none-eabi-g++: fatal error: -fuse-linker-plugin, but not found

However, the library is present in my system in the following path:


Inputs please. Thanks.

I don’t know exactly why it’s failing but /usr/lib/gcc/i686-linux-gnu is the x86 Linux library, not the ARM library needed to cross-compile to the Photon. On my system, it’s in:


The first part of the path depends on where you installed the gcc-arm toolchain on your system.

1 Like

Thank you @rickkas7 for the quick response. It helped.
I reinstalled gcc arm tools and it contains the mentioned library.
Build is successful. Good day.