[gnutls-help] Compiling gnutls on solaris

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Sep 26 08:20:46 CEST 2014


On Thu, 2014-09-25 at 16:42 -0700, Mat Troi wrote:
> I modified libtool manually and now I am at:
> ld: warning: symbol referencing errors
> Text relocation remains                         referenced
>     against symbol                  offset      in file
> _gnutls_x86_cpuid_s                 0x3a
> accelerated/.libs/libaccelerated.a(sha256-ssse3-x86.o)
> ld: fatal: relocations remain against allocatable but non-writable
> sections
> collect2: error: ld returned 1 exit status
> *** Error code 1

Hi,
 This symbol is defined in x86-common.c with
__attribute__((visibility("hidden"))) if compiled with gcc. If not
you'll have to provide the equivalent for your compiler (and possibly
provide a patch).

Another solution is to completely disable asm with
--disable-hardware-acceleration.

regards,
Nikos






More information about the Gnutls-help mailing list