gnutls and LTS on 10.5
Riccardo Mottola
riccardo.mottola at libero.it
Sat Jan 12 19:20:52 UTC 2019
Hi,
I am rebuilding gnutls as an upgrade and it fails. The compile error I
see is:
libtool: compile: /opt/local/bin/clang-mp-3.4 -DHAVE_CONFIG_H -I.
-I.. -DLOCALEDIR=\"/opt/local/share/locale\" -I./../gl -I./../gl
-I./includes -I./x509 -I./includes -I./includes -I./x509
-I/opt/local/include/p11-kit-1 -I/opt/local/include
-I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport
-Wtype-limits -fno-common -W -Wabi -Waddress -Wall -Wattributes
-Wbad-function-cast -Wbuiltin-macro-redefined -Wcast-align
-Wchar-subscripts -Wcomment -Wcomments -Wdangling-else -Wdeprecated
-Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero
-Wduplicate-decl-specifier -Wempty-body -Wendif-labels -Wenum-compare
-Wextra -Wformat-extra-args -Wformat-security -Wformat-zero-length
-Wignored-attributes -Wignored-qualifiers -Wimplicit
-Wimplicit-function-declaration -Wimplicit-int
-Wincompatible-pointer-types -Winit-self -Wint-conversion
-Wint-to-pointer-cast -Winvalid-pch -Wlogical-not-parentheses -Wmain
-Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers
-Wmissing-include-dirs -Wmissing-prototypes -Wmultichar -Wnarrowing
-Wnested-externs -Wnonnull -Wnull-dereference -Wodr
-Wold-style-definition -Woverflow -Wpacked -Wparentheses
-Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wreturn-type
-Wsequence-point -Wshadow -Wshift-count-negative
-Wshift-count-overflow -Wsizeof-array-argument
-Wsizeof-pointer-memaccess -Wstrict-aliasing -Wstrict-prototypes
-Wswitch -Wtautological-compare -Wtrigraphs -Wtype-limits
-Wuninitialized -Wunknown-pragmas -Wunused -Wunused-function
-Wunused-label -Wunused-parameter -Wunused-result -Wunused-value
-Wunused-variable -Wvarargs -Wvariadic-macros -Wvolatile-register-var
-Wwrite-strings -Wno-missing-field-initializers
-Wno-missing-field-initializers -Wno-unused-parameter
-fdiagnostics-show-option -I/opt/local/include/p11-kit-1 -pipe -Os
-I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport
-arch i386 -MT random.lo -MD -MP -MF .deps/random.Tpo -c random.c
-fno-common -DPIC -o .libs/random.o
random.c:39:8: error: thread-local storage is unsupported for the
current target
static _Thread_local void *gnutls_rnd_ctx;
^
./gthreads.h:28:24: note: expanded from macro '_Thread_local'
# define _Thread_local __thread
^
random.c:40:8: error: thread-local storage is unsupported for the
current target
static _Thread_local unsigned rnd_initialized = 0;
^
./gthreads.h:28:24: note: expanded from macro '_Thread_local'
# define _Thread_local __thread
^
2 errors generated.
By default, clang 3.4 is being used.
"Strong" of Ken's work on clang 5.0 and TLS, I tried:
port -v upgrade gnutls configure.compiler=macports-clang-5.0
things look better but still don't build for me, I get this error:
libs/libcrypto.a | | /usr/bin/sed 's/.* //' | sort | uniq >
.libs/libgnutls.exp
../libtool: eval: line 1731: syntax error near unexpected token `|'
../libtool: eval: line 1731: `/usr/bin/nm -p .libs/range.o
.libs/record.o .libs/compress.o .libs/debug.o .libs/cipher.o .libs/h
full log attached.
Any ideas? Thank you
Riccardo
<main.log.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log.zip
Type: application/zip
Size: 48619 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190112/6bd3714e/attachment.zip>
More information about the macports-users
mailing list