This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: why is g++ relocation error linking only showing when listing objects explicitly?
>Aha! The error is in crtbeginS.o. This is important: it is not one of the files you compiled. Therefore, no matter what you do with -mlongcall", it won't help. It may be that recompiling crtbeginS.o with
-mlongcall" would help, but we'd need a PPC export to confirm that.
Out of the question... :( can't recompile any system stuff.
>It may be easier simply to split the shared library.
Also out of the question I am afraid. Has to be one lib.
Well, the thing is, there is one particular order of the .o files, that seems to work. It's just that, I am using a different order. I don't want to use that other order, besides, it's like hit-and-miss, one day (perhaps tomorrow), someone will add another object and it won't work any more.
It's a pain, huge pain, for me to use that other order. But I guess I won't have a choice.