[gnutls-help] warning message
Nikos Mavrogiannopoulos
n.mavrogiannopoulos at gmail.com
Sun Apr 3 09:44:16 CEST 2016
On Fri, 2016-04-01 at 10:44 -0600, Roger Pack wrote:
> On 5/15/14, Nikos Mavrogiannopoulos <nmav at gnutls.org> wrote:
> > On Wed, May 14, 2014 at 8:57 PM, Roger Pack <rogerdpack2 at gmail.com>
> > 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
More information about the Gnutls-help
mailing list