Re: big number of relocations in gtk2 binding

On Feb 12, 2008, at 11:28 AM, Thierry Vignaud wrote:

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
$ blib/arch/auto/Gtk2/
blib/arch/auto/Gtk2/ 262 relocations, 228 relative (87%), 3856 PLT entries, 28 for local syms (0%), 0 users

Odd. Was -fPIC really not included in the build or was the warning spurious? (Setting VERBOSE=1 in the environment will show the full link command.)

The one difference between Dali and a crazy man is very simple: Dali is not crazy at all.
  -- Salvador Dali

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