Re: big number of relocations in gtk2 binding



muppet <scott asofyet org> writes:

I put a new version of the patch at
http://asofyet.org/muppet/software/gtk2-perl/relocations-2.patch .

Diffstat says:

    213 files changed, 328 insertions(+), 226 deletions(-)

and relinfo.pl says:

    267 relocations, 228 relative (85%), 3845 PLT entries, 26 for  
local syms (0%), 0 users

That's 85% versus 76% with the previous patch, and a drop of 3 PLTs.   
Nearly all of the PLTs are for things from dependent libraries, so  
there's not much we can do about that.

note that with that release, -fPIC became mandatory on x86_64:

[ LD blib/arch/auto/Gtk2/Gtk2.so ]
/usr/bin/ld: xs/GtkStock.o: relocation R_X86_64_PC32 against `gtk2perl_translate_func_create' can not be used 
when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status



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