Re: big number of relocations in gtk2 binding

Thierry Vignaud <tvignaud mandriva com> writes:

I put a new version of the patch at .

Diffstat says:

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

and 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/ ]
/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

The actual issue is with visibility. On x86_64, I'd to reverse some

Attachment: relocations-fixes.patch
Description: Text Data

$ blib/arch/auto/Gtk2/       
blib/arch/auto/Gtk2/ 262 relocations, 228 relative (87%), 3856 PLT entries, 28 for local syms (0%), 0 

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