This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Tue, Apr 7, 2009 at 12:41 PM, Ian Lance Taylor <iant@google.com> wrote:
> 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.
>


I see. Thanks.

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

raju


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]