This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Errors when compiling C++ using cross GCC


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]