[gnutls-devel] Assembler problems in gnutls-3.2.8.1+

Thomas Klausner wiz at NetBSD.org
Sun Feb 9 13:01:29 CET 2014


Hi!

Starting from gnutls-3.2.8.1 (we didn't have 3.2.8 in pkgsrc;
reportedly still there in 3.2.9) there were problems with assembler
files in pkgsrc, in particular on the SunOS and Mac OS X (built for
32bit) platforms.

Here are the outputs for SunOS:
32bit:
http://us-east.manta.joyent.com/pkgsrc/public/reports/upstream-trunk32/20140121.2027/gnutls-3.2.8.1/build.log

64bit:
http://us-east.manta.joyent.com/pkgsrc/public/reports/upstream-trunk64/20140120.2248/gnutls-3.2.8.1/build.log

For Mac OS X, I got this report:

Mac OS X Lion:

>uname -a
Darwin example.com 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:26:45 PDT 2012; root:xnu-1699.32.7~1/RELEASE_I386 i386
>gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

The error message is:

  CCLD     libgnutls.la
nm: no name list
nm: no name list
nm: no name list
nm: no name list
nm: no name list
nm: no name list
nm: no name list
duplicate symbol __gnutls_x86_cpuid_s in:
    accelerated/.libs/libaccelerated.a(aes-cbc-x86-aesni.o)
    accelerated/.libs/libaccelerated.a(aes-cbc-x86-ssse3.o)
duplicate symbol __gnutls_x86_cpuid_s in:
    accelerated/.libs/libaccelerated.a(aes-cbc-x86-aesni.o)
    accelerated/.libs/libaccelerated.a(x86-common.o)
ld: 2 duplicate symbols for architecture i386
collect2: ld returned 1 exit status
gnumake[4]: *** [libgnutls.la] Error 1
gnumake[3]: *** [all-recursive] Error 1
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all-recursive] Error 1
gnumake: *** [all] Error 2
*** Error code 2

For this reason we're currently using --disable-hardware-acceleration
on these platforms, but that's obviously just a workaround.

Please advise!

Thanks,
 Thomas



More information about the Gnutls-devel mailing list