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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



kamaraju kusumanchi <raju.mailinglists@xxxxxxxxx> writes:

> This g++ 4.4.0 20090206 is compiled with GNU ld 2.14 20030612.

2.14 is fairly old.


>> g++ -m64 -B<munge1>/software/myroot/binutils-2.19.1/bin -L<munge1>/software/myroot/binutils-2.19.1/lib a.cpp b.cpp
> /var/tmp//cc4Tw4B3.o(.eh_frame+0x40): relocation truncated to fit:
> R_SPARC_DISP32 .gnu.linkonce.t._ZNSt6vectorISsSaISsEEC1Ev
> collect2: ld returned 1 exit status
>
>
> BTW, is the -B option correct way to specify the location of the linker?

Yes, that should work.  You can confirm by using -Wl,-debug and making
sure that it does indeed run your newly installed linker.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux