Errors when compiling C++ using cross GCC

Andrew Haley aph@redhat.com
Sun Nov 20 17:23:00 GMT 2016


On 20/11/16 16:26, Mark G wrote:
> Hmmm. I took a look and didn't see anything obvious. It should be
> pulling libstdc++ from the install directory of GCC. I find it odd
> it's reporting multiple definitions within the same SO.
> 
> Anything I missed that a second pair of eyes sees?

So do I.  Try using -Wl,-Map,mapfile.  That should explain what is
happening.

Turn some things off.

-fno-lto

It is possible you're looking at linker bugs or the linker has been#
miscompiled.  Keep an open mind.

Andrew.



More information about the Gcc-help mailing list