Re: big number of relocations in gtk2 binding
- From: muppet <scott asofyet org>
- To: gtk2-perl List <gtk-perl-list gnome org>
- Subject: Re: big number of relocations in gtk2 binding
- Date: Tue, 12 Feb 2008 21:21:39 -0500
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/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
The actual issue is with visibility. On x86_64, I'd to reverse some
bits:
<relocations-fixes.patch>
$ relinfo.pl blib/arch/auto/Gtk2/Gtk2.so
blib/arch/auto/Gtk2/Gtk2.so: 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]