[gnutls-help] warning message

Roger Pack rogerdpack2 at gmail.com
Fri Apr 1 18:44:38 CEST 2016


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

perhaps the comm directive redefines it, or perhaps that's just under
mingw that it does?

gnutls-3.4.10 $ i686-w64-mingw32-gcc-nm -a
./lib/accelerated/x86/x86-common.o | grep _gnutls_x86_cpuid_s
0000000c C __gnutls_x86_cpuid_s

gnutls-3.4.10 $ i686-w64-mingw32-gcc-nm -a
./lib/accelerated/x86/coff/sha256-ssse3-x86.o | grep
_gnutls_x86_cpuid_s
00000010 C __gnutls_x86_cpuid_s

FWIW.
Thanks!
-roger-



More information about the Gnutls-help mailing list