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

Re: [kfreebsd-amd64] Problem building glib2.0



Petr Salinger a écrit :
Hi.

/usr/bin/ld: .libs/gconvert.o: relocation R_X86_64_PC32 against `_g_charset_get_aliases' can not be
used when making a shared object; recompile with -fPIC

All the object files are built with -fPIC, so I think we have a problem
with the toolchain. Any hints?


It might be due to non-working visibility.
It is not sometimes fully supported in cross compiling.
Probably simply (native) rebuild of binutils and/or gcc-4.0 should suffice.

I will see with Robert Millan if they have been rebuilt at least once natively.

Prototype is "_g_charset_get_aliases () G_GNUC_INTERNAL;"

Expansion is either
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
or
#define G_GNUC_INTERNAL

Could you, please, check configure log for checking for GNUC visibility attribute... yes


There is a "yes" in the config log, so this seems to be supported.

Thanks,
Aurelien


--
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: