Re: [kfreebsd-amd64] Problem building glib2.0
/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.
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 attribute... yes