On Fri, 2016-04-01 at 10:44 -0600, Roger Pack wrote:
> On 5/15/14, Nikos Mavrogiannopoulos <[email protected]> wrote:
> > On Wed, May 14, 2014 at 8:57 PM, Roger Pack <[email protected]> 
> > wrote:
> > > Hello.  As a note, with 3.2.14 I get this (somewhat annoying) 
> > > error
> > > message when linking against gnutls static:
> > > /home/rogerdpack/dev/ffmpeg-windows-build-helpers/sandbox/mingw
> > > -w64-i686/i686-w64-mingw32/lib/libgnutls.a(sha256-ssse3-x86.o):
> > > warning: multiple common of `_gnutls_x86_cpuid_s'
> > 
> > I don't see any obvious multiple definition on these files. It 
> > could
> > be an issue I couldn't figure though, if it is, a fix is welcome.
> 
> Linking against 3.4.10 libgnutls.a file:
> 
> .../lib/libgnutls.a(sha256-ssse3-x86.o): warning: common of
> `_gnutls_x86_cpuid_s' overriding smaller common
> ...lib/libgnutls.a(x86-common.o): warning: smaller common is here
> 
> declarations appear to be here:
> 
> lib/accelerated/x86/x86-common.c
> 49:unsigned int _gnutls_x86_cpuid_s[3];
> lib/accelerated/x86/coff/sha256-ssse3-x86.s
> 67:   leal    __gnutls_x86_cpuid_s-.L001K256(%ebp),%edx
> 3400:.comm    __gnutls_x86_cpuid_s,16

If you change the unsigned int _gnutls_x86_cpuid_s[3] to 
unsigned int _gnutls_x86_cpuid_s[4] would it compile?

ld should have allocated the largest size for this symbol
automatically, but it could be some incompatibility with that
platform's ld.

regards,
Nikos


_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to