linker problem: relocation truncated to fit
Ralf Baechle
ralf@oss.sgi.com
Sun Sep 16 18:55:00 GMT 2001
On Sun, Sep 16, 2001 at 03:50:03PM -0700, H . J . Lu wrote:
> I don't think mips is the only platform which has this problem. Do
> Alpha, PowerPC and Sparc have similar problems like that? What are
> the solutions for them?
>
> BTW, it sounds like the -fpic vs. -fPIC issue.
It is. Yet I wouldn't like to assign a different meaning to -fpic and
-fPIC as most makefiles make little difference between these two options,
so that would imply quite some overhead.
Ralf
More information about the Gcc
mailing list