[gnutls-help] Compiling gnutls on solaris

dev dev at cor0.com
Fri Sep 26 21:31:47 CEST 2014



On September 26, 2014 at 2:20 AM Nikos Mavrogiannopoulos
<nmav at gnutls.org> wrote:
> 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.

Which is what I do.  That gets past that problem neatly.

dev



More information about the Gnutls-help mailing list