tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: eh_globals.o in libstdc++.a not relocatable?



> This is telling you that _that_ object (and by extension the library itself)
> hasn't been compiled with -fPIC.

it was compiled with -fPIE... which i thought was a super-set of -fPIC,
but i see that the manual says otherwise.

> Q1: Why is this linking against the system libstdc++ instead of the
>      recently compiled one?

this is the host compiler's libstdc++, building a host tool, so
that it's using it is expected..

> Q2: If it really needs the system library (unlikely!) why doesn't it link
>      against the shared library libstdc++.so?

this part might be a build bug, i'm not sure why it wouldn't be.

Thomas, can you see if you can find where this is using the .a
instead of the .so?  if it really wants a .a, try feeding it the
_pic.a instead, which should be OK.

thanks.


.mrg.


Home | Main Index | Thread Index | Old Index