RE: why is g++ relocation error linking only showing when listing objects explicitly?

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

 



OK.  Thank you for help

> ls -l foobar.a
-rw-r--r-- 1 mgaleck 140132266 Dec 21 06:10 foobar.a

>g++ -shared -fPIC -mlongcall -Wl,--whole-archive foobar.a

(...)
crtbeginS.o: In function `__do_global_dtors_aux':
crtstuff.c:(.text+0x54): relocation truncated to fit: R_PPC_PLTREL24 against symbol `__cxa_finalize@@GLIBC_2.1.3' defined in .text section in (...)/libc.so.6+8000

> objdump --reloc foobar.a | grep cxa_finalize
> objdump --reloc foobar.a | grep dtors_aux
>


??  what do you want me to call objdump --reloc with??




[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