relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._ZNSt6vectorISsSaISsEEC1Ev

kamaraju kusumanchi
Tue Apr 7 16:59:00 GMT 2009

On Tue, Apr 7, 2009 at 12:41 PM, Ian Lance Taylor <> wrote:
> kamaraju kusumanchi <> 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.

I see. Thanks.

Does using --with-build-time-tools have the same behavior? Will it
override the path search for the linker as well?


More information about the Gcc-help mailing list