Errors when compiling C++ using cross GCC

Mark G markg735@gmail.com
Sun Nov 20 21:56:00 GMT 2016


On Sun, Nov 20, 2016 at 4:45 PM, Florian Weimer <fw@deneb.enyo.de> wrote:

> Uh-oh.  Is there no libm.so.6?

No. There is. I just hit ^C on the find since it was taking a while.

$ find /emb-root -name libm.so\*
/emb-root/lib/arm-linux-gnueabihf/libm.so.6
/emb-root/usr/lib/arm-linux-gnueabihf/libm.so

> It could be that it's a symbol alias which is not visible in the
> disassembly.

Maybe. If so I don't know the right incantation to dump it. But from
the assembly in the compiled libstdc++.so it's clear it isn't the
wrapper. I'm pretty sure it pulled in the libm.a code.

Thanks,
Mark



More information about the Gcc-help mailing list