Re: [kfreebsd-amd64] Problem building glib2.0
Petr Salinger a écrit :
/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
Prototype is "_g_charset_get_aliases () G_GNUC_INTERNAL;"
Expansion is either
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
Could you, please, check configure log for checking for GNUC visibility
There is a "yes" in the config log, so this seems to be supported.
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' firstname.lastname@example.org | email@example.com
`- people.debian.org/~aurel32 | www.aurel32.net