This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZNSt6vectorISsSaISsEEC1Ev
kamaraju kusumanchi <raju.mailinglists@gmail.com> writes:
> Very weird. Even after specifying the new linker using -B, -L options,
> the g++ is still linking the object files with the old linker.
It's because of this configure option:
--with-ld=<munge2>/bin/ld
It turns out that that overrides the path search for the linker. -B
affects the path search.
It looks like if you configure using --with-ld, and that executable
exists, then it will always be used. There doesn't seem to be a way to
override it.
Ian