rbnacl-libsodium 1.0.15 → 1.0.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/lib/rbnacl/libsodium/version.rb +1 -1
- data/vendor/libsodium/Makefile.in +4 -1
- data/vendor/libsodium/aclocal.m4 +1 -0
- data/vendor/libsodium/autom4te.cache/output.1 +540 -161
- data/vendor/libsodium/autom4te.cache/output.3 +20629 -0
- data/vendor/libsodium/autom4te.cache/requests +654 -409
- data/vendor/libsodium/autom4te.cache/traces.1 +724 -657
- data/vendor/libsodium/autom4te.cache/traces.3 +4243 -0
- data/vendor/libsodium/builds/Makefile.in +548 -0
- data/vendor/libsodium/configure +540 -161
- data/vendor/libsodium/contrib/Makefile.in +3 -1
- data/vendor/libsodium/dist-build/Makefile.in +3 -1
- data/vendor/libsodium/msvc-scripts/Makefile.in +3 -1
- data/vendor/libsodium/src/Makefile.in +3 -1
- data/vendor/libsodium/src/libsodium/Makefile.in +88 -145
- data/vendor/libsodium/src/libsodium/include/Makefile.in +9 -5
- data/vendor/libsodium/test/Makefile.in +3 -1
- data/vendor/libsodium/test/default/Makefile.in +143 -52
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83d600396fb9e671bdb984562258d9afac860ef5
|
4
|
+
data.tar.gz: c95ce5dc460b745e6b91a6eff7247ff35f252053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9729c0befc501d5e5ea7b75467da93b225a8024c3f761cf7125f5f3ff16a5fe1c3738c1b725cc9d2f3b14e5fcc87e738ef0e31bdef7f555f7bb0ec9b3543a435
|
7
|
+
data.tar.gz: 59d775e61f456c036c128c480687b82658c40a9abceb177b9b69ad29a0f530afd472dd8ebc17cc02b538824514573b31bb00a7cd9fc67e2ac750fa032db6190c
|
data/CHANGES.md
CHANGED
@@ -90,7 +90,8 @@ build_triplet = @build@
|
|
90
90
|
host_triplet = @host@
|
91
91
|
subdir = .
|
92
92
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
93
|
-
am__aclocal_m4_deps = $(top_srcdir)/m4/
|
93
|
+
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_catchable_abrt.m4 \
|
94
|
+
$(top_srcdir)/m4/ax_check_catchable_segv.m4 \
|
94
95
|
$(top_srcdir)/m4/ax_check_compile_flag.m4 \
|
95
96
|
$(top_srcdir)/m4/ax_check_define.m4 \
|
96
97
|
$(top_srcdir)/m4/ax_check_link_flag.m4 \
|
@@ -267,6 +268,7 @@ CFLAGS = @CFLAGS@
|
|
267
268
|
CFLAGS_AESNI = @CFLAGS_AESNI@
|
268
269
|
CFLAGS_AVX = @CFLAGS_AVX@
|
269
270
|
CFLAGS_AVX2 = @CFLAGS_AVX2@
|
271
|
+
CFLAGS_AVX512F = @CFLAGS_AVX512F@
|
270
272
|
CFLAGS_MMX = @CFLAGS_MMX@
|
271
273
|
CFLAGS_PCLMUL = @CFLAGS_PCLMUL@
|
272
274
|
CFLAGS_SSE2 = @CFLAGS_SSE2@
|
@@ -416,6 +418,7 @@ EXTRA_DIST = \
|
|
416
418
|
THANKS
|
417
419
|
|
418
420
|
SUBDIRS = \
|
421
|
+
builds \
|
419
422
|
contrib \
|
420
423
|
dist-build \
|
421
424
|
msvc-scripts \
|
data/vendor/libsodium/aclocal.m4
CHANGED
@@ -1206,6 +1206,7 @@ AC_SUBST([am__tar])
|
|
1206
1206
|
AC_SUBST([am__untar])
|
1207
1207
|
]) # _AM_PROG_TAR
|
1208
1208
|
|
1209
|
+
m4_include([m4/ax_check_catchable_abrt.m4])
|
1209
1210
|
m4_include([m4/ax_check_catchable_segv.m4])
|
1210
1211
|
m4_include([m4/ax_check_compile_flag.m4])
|
1211
1212
|
m4_include([m4/ax_check_define.m4])
|
@@ -1,6 +1,6 @@
|
|
1
1
|
@%:@! /bin/sh
|
2
2
|
@%:@ Guess values for system-dependent variables and create Makefiles.
|
3
|
-
@%:@ Generated by GNU Autoconf 2.69 for libsodium 1.0.
|
3
|
+
@%:@ Generated by GNU Autoconf 2.69 for libsodium 1.0.15.
|
4
4
|
@%:@
|
5
5
|
@%:@ Report bugs to <https://github.com/jedisct1/libsodium/issues>.
|
6
6
|
@%:@
|
@@ -590,8 +590,8 @@ MAKEFLAGS=
|
|
590
590
|
# Identity of this package.
|
591
591
|
PACKAGE_NAME='libsodium'
|
592
592
|
PACKAGE_TARNAME='libsodium'
|
593
|
-
PACKAGE_VERSION='1.0.
|
594
|
-
PACKAGE_STRING='libsodium 1.0.
|
593
|
+
PACKAGE_VERSION='1.0.15'
|
594
|
+
PACKAGE_STRING='libsodium 1.0.15'
|
595
595
|
PACKAGE_BUGREPORT='https://github.com/jedisct1/libsodium/issues'
|
596
596
|
PACKAGE_URL='https://github.com/jedisct1/libsodium'
|
597
597
|
|
@@ -657,6 +657,7 @@ HAVE_AMD64_ASM_FALSE
|
|
657
657
|
HAVE_AMD64_ASM_TRUE
|
658
658
|
CFLAGS_PCLMUL
|
659
659
|
CFLAGS_AESNI
|
660
|
+
CFLAGS_AVX512F
|
660
661
|
CFLAGS_AVX2
|
661
662
|
CFLAGS_AVX
|
662
663
|
CFLAGS_SSE41
|
@@ -710,6 +711,9 @@ EGREP
|
|
710
711
|
GREP
|
711
712
|
CPP
|
712
713
|
SED
|
714
|
+
SODIUM_LIBRARY_MINIMAL_DEF
|
715
|
+
MINIMAL_FALSE
|
716
|
+
MINIMAL_TRUE
|
713
717
|
am__fastdepCC_FALSE
|
714
718
|
am__fastdepCC_TRUE
|
715
719
|
CCDEPMODE
|
@@ -723,9 +727,6 @@ CPPFLAGS
|
|
723
727
|
LDFLAGS
|
724
728
|
CFLAGS
|
725
729
|
CC
|
726
|
-
SODIUM_LIBRARY_MINIMAL_DEF
|
727
|
-
MINIMAL_FALSE
|
728
|
-
MINIMAL_TRUE
|
729
730
|
DLL_VERSION
|
730
731
|
SODIUM_LIBRARY_VERSION
|
731
732
|
SODIUM_LIBRARY_VERSION_MINOR
|
@@ -1396,7 +1397,7 @@ if test "$ac_init_help" = "long"; then
|
|
1396
1397
|
# Omit some internal or obsolete options to make the list less imposing.
|
1397
1398
|
# This message is too long to be a string in the A/UX 3.1 sh.
|
1398
1399
|
cat <<_ACEOF
|
1399
|
-
\`configure' configures libsodium 1.0.
|
1400
|
+
\`configure' configures libsodium 1.0.15 to adapt to many kinds of systems.
|
1400
1401
|
|
1401
1402
|
Usage: $0 [OPTION]... [VAR=VALUE]...
|
1402
1403
|
|
@@ -1466,7 +1467,7 @@ fi
|
|
1466
1467
|
|
1467
1468
|
if test -n "$ac_init_help"; then
|
1468
1469
|
case $ac_init_help in
|
1469
|
-
short | recursive ) echo "Configuration of libsodium 1.0.
|
1470
|
+
short | recursive ) echo "Configuration of libsodium 1.0.15:";;
|
1470
1471
|
esac
|
1471
1472
|
cat <<\_ACEOF
|
1472
1473
|
|
@@ -1614,7 +1615,7 @@ fi
|
|
1614
1615
|
test -n "$ac_init_help" && exit $ac_status
|
1615
1616
|
if $ac_init_version; then
|
1616
1617
|
cat <<\_ACEOF
|
1617
|
-
libsodium configure 1.0.
|
1618
|
+
libsodium configure 1.0.15
|
1618
1619
|
generated by GNU Autoconf 2.69
|
1619
1620
|
|
1620
1621
|
Copyright (C) 2012 Free Software Foundation, Inc.
|
@@ -1983,7 +1984,7 @@ cat >config.log <<_ACEOF
|
|
1983
1984
|
This file contains any messages produced by compilers while
|
1984
1985
|
running configure, to aid debugging if configure makes a mistake.
|
1985
1986
|
|
1986
|
-
It was created by libsodium $as_me 1.0.
|
1987
|
+
It was created by libsodium $as_me 1.0.15, which was
|
1987
1988
|
generated by GNU Autoconf 2.69. Invocation command line was
|
1988
1989
|
|
1989
1990
|
$ $0 $@
|
@@ -2919,7 +2920,7 @@ fi
|
|
2919
2920
|
|
2920
2921
|
# Define the identity of the package.
|
2921
2922
|
PACKAGE='libsodium'
|
2922
|
-
VERSION='1.0.
|
2923
|
+
VERSION='1.0.15'
|
2923
2924
|
|
2924
2925
|
|
2925
2926
|
cat >>confdefs.h <<_ACEOF
|
@@ -3214,10 +3215,10 @@ fi
|
|
3214
3215
|
ISODATE=`date +%Y-%m-%d`
|
3215
3216
|
|
3216
3217
|
|
3217
|
-
SODIUM_LIBRARY_VERSION_MAJOR=
|
3218
|
-
SODIUM_LIBRARY_VERSION_MINOR=
|
3218
|
+
SODIUM_LIBRARY_VERSION_MAJOR=10
|
3219
|
+
SODIUM_LIBRARY_VERSION_MINOR=0
|
3219
3220
|
DLL_VERSION=8
|
3220
|
-
SODIUM_LIBRARY_VERSION=
|
3221
|
+
SODIUM_LIBRARY_VERSION=23:0:0
|
3221
3222
|
# | | |
|
3222
3223
|
# +------+ | +---+
|
3223
3224
|
# | | |
|
@@ -3284,92 +3285,6 @@ else
|
|
3284
3285
|
fi
|
3285
3286
|
|
3286
3287
|
|
3287
|
-
if test "x$EMSCRIPTEN" != "x"; then :
|
3288
|
-
|
3289
|
-
enable_asm="no"
|
3290
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiling to JavaScript - asm implementations disabled" >&5
|
3291
|
-
$as_echo "$as_me: WARNING: compiling to JavaScript - asm implementations disabled" >&2;}
|
3292
|
-
|
3293
|
-
fi
|
3294
|
-
if test "$host_os" = "nacl" -o "$host_os" = "pnacl"; then :
|
3295
|
-
|
3296
|
-
enable_asm="no"
|
3297
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiling to Native Client - asm implementations disabled" >&5
|
3298
|
-
$as_echo "$as_me: WARNING: compiling to Native Client - asm implementations disabled" >&2;}
|
3299
|
-
|
3300
|
-
fi
|
3301
|
-
|
3302
|
-
@%:@ Check whether --enable-pie was given.
|
3303
|
-
if test "${enable_pie+set}" = set; then :
|
3304
|
-
enableval=$enable_pie; enable_pie=$enableval
|
3305
|
-
else
|
3306
|
-
enable_pie="maybe"
|
3307
|
-
fi
|
3308
|
-
|
3309
|
-
|
3310
|
-
case $host_os in @%:@(
|
3311
|
-
mingw*|cygwin*|msys) :
|
3312
|
-
enable_pie="no" ;; @%:@(
|
3313
|
-
*) :
|
3314
|
-
;;
|
3315
|
-
esac
|
3316
|
-
|
3317
|
-
@%:@ Check whether --enable-blocking-random was given.
|
3318
|
-
if test "${enable_blocking_random+set}" = set; then :
|
3319
|
-
enableval=$enable_blocking_random;
|
3320
|
-
if test "x$enableval" = "xyes"; then :
|
3321
|
-
|
3322
|
-
|
3323
|
-
$as_echo "@%:@define USE_BLOCKING_RANDOM 1" >>confdefs.h
|
3324
|
-
|
3325
|
-
|
3326
|
-
fi
|
3327
|
-
|
3328
|
-
fi
|
3329
|
-
|
3330
|
-
|
3331
|
-
@%:@ Check whether --enable-minimal was given.
|
3332
|
-
if test "${enable_minimal+set}" = set; then :
|
3333
|
-
enableval=$enable_minimal;
|
3334
|
-
if test "x$enableval" = "xyes"; then :
|
3335
|
-
|
3336
|
-
enable_minimal="yes"
|
3337
|
-
SODIUM_LIBRARY_MINIMAL_DEF="#define SODIUM_LIBRARY_MINIMAL 1"
|
3338
|
-
|
3339
|
-
$as_echo "@%:@define MINIMAL 1" >>confdefs.h
|
3340
|
-
|
3341
|
-
|
3342
|
-
else
|
3343
|
-
|
3344
|
-
enable_minimal="no"
|
3345
|
-
|
3346
|
-
fi
|
3347
|
-
|
3348
|
-
else
|
3349
|
-
|
3350
|
-
enable_minimal="no"
|
3351
|
-
|
3352
|
-
fi
|
3353
|
-
|
3354
|
-
if test x$enable_minimal = xyes; then
|
3355
|
-
MINIMAL_TRUE=
|
3356
|
-
MINIMAL_FALSE='#'
|
3357
|
-
else
|
3358
|
-
MINIMAL_TRUE='#'
|
3359
|
-
MINIMAL_FALSE=
|
3360
|
-
fi
|
3361
|
-
|
3362
|
-
|
3363
|
-
|
3364
|
-
|
3365
|
-
@%:@ Check whether --with-pthreads was given.
|
3366
|
-
if test "${with_pthreads+set}" = set; then :
|
3367
|
-
withval=$with_pthreads;
|
3368
|
-
else
|
3369
|
-
withval="yes"
|
3370
|
-
fi
|
3371
|
-
|
3372
|
-
|
3373
3288
|
DEPDIR="${am__leading_dot}deps"
|
3374
3289
|
|
3375
3290
|
ac_config_commands="$ac_config_commands depfiles"
|
@@ -4390,6 +4305,135 @@ else
|
|
4390
4305
|
fi
|
4391
4306
|
|
4392
4307
|
|
4308
|
+
|
4309
|
+
if test "x$EMSCRIPTEN" != "x"; then :
|
4310
|
+
|
4311
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -s ASSERTIONS=0" >&5
|
4312
|
+
$as_echo_n "checking whether C compiler accepts -s ASSERTIONS=0... " >&6; }
|
4313
|
+
if ${ax_cv_check_cflags___s_ASSERTIONS_0+:} false; then :
|
4314
|
+
$as_echo_n "(cached) " >&6
|
4315
|
+
else
|
4316
|
+
|
4317
|
+
ax_check_save_flags=$CFLAGS
|
4318
|
+
CFLAGS="$CFLAGS -s ASSERTIONS=0"
|
4319
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
4320
|
+
/* end confdefs.h. */
|
4321
|
+
#include <time.h>
|
4322
|
+
int
|
4323
|
+
main ()
|
4324
|
+
{
|
4325
|
+
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
4326
|
+
;
|
4327
|
+
return 0;
|
4328
|
+
}
|
4329
|
+
_ACEOF
|
4330
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
4331
|
+
ax_cv_check_cflags___s_ASSERTIONS_0=yes
|
4332
|
+
else
|
4333
|
+
ax_cv_check_cflags___s_ASSERTIONS_0=no
|
4334
|
+
fi
|
4335
|
+
rm -f core conftest.err conftest.$ac_objext \
|
4336
|
+
conftest$ac_exeext conftest.$ac_ext
|
4337
|
+
CFLAGS=$ax_check_save_flags
|
4338
|
+
fi
|
4339
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___s_ASSERTIONS_0" >&5
|
4340
|
+
$as_echo "$ax_cv_check_cflags___s_ASSERTIONS_0" >&6; }
|
4341
|
+
if test "x$ax_cv_check_cflags___s_ASSERTIONS_0" = xyes; then :
|
4342
|
+
|
4343
|
+
enable_asm="no"
|
4344
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiling to JavaScript - asm implementations disabled" >&5
|
4345
|
+
$as_echo "$as_me: WARNING: compiling to JavaScript - asm implementations disabled" >&2;}
|
4346
|
+
|
4347
|
+
else
|
4348
|
+
|
4349
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: EMSCRIPTEN environment variable defined, but emcc doesn't appear to be used - Assuming compilation to native code" >&5
|
4350
|
+
$as_echo "$as_me: WARNING: EMSCRIPTEN environment variable defined, but emcc doesn't appear to be used - Assuming compilation to native code" >&2;}
|
4351
|
+
CFLAGS="$CFLAGS -U__EMSCRIPTEN__"
|
4352
|
+
unset EMSCRIPTEN
|
4353
|
+
|
4354
|
+
fi
|
4355
|
+
|
4356
|
+
|
4357
|
+
fi
|
4358
|
+
if test "$host_os" = "nacl" -o "$host_os" = "pnacl"; then :
|
4359
|
+
|
4360
|
+
enable_asm="no"
|
4361
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: compiling to Native Client - asm implementations disabled" >&5
|
4362
|
+
$as_echo "$as_me: WARNING: compiling to Native Client - asm implementations disabled" >&2;}
|
4363
|
+
|
4364
|
+
fi
|
4365
|
+
|
4366
|
+
@%:@ Check whether --enable-pie was given.
|
4367
|
+
if test "${enable_pie+set}" = set; then :
|
4368
|
+
enableval=$enable_pie; enable_pie=$enableval
|
4369
|
+
else
|
4370
|
+
enable_pie="maybe"
|
4371
|
+
fi
|
4372
|
+
|
4373
|
+
|
4374
|
+
case $host_os in @%:@(
|
4375
|
+
mingw*|cygwin*|msys) :
|
4376
|
+
enable_pie="no" ;; @%:@(
|
4377
|
+
*) :
|
4378
|
+
;;
|
4379
|
+
esac
|
4380
|
+
|
4381
|
+
@%:@ Check whether --enable-blocking-random was given.
|
4382
|
+
if test "${enable_blocking_random+set}" = set; then :
|
4383
|
+
enableval=$enable_blocking_random;
|
4384
|
+
if test "x$enableval" = "xyes"; then :
|
4385
|
+
|
4386
|
+
|
4387
|
+
$as_echo "@%:@define USE_BLOCKING_RANDOM 1" >>confdefs.h
|
4388
|
+
|
4389
|
+
|
4390
|
+
fi
|
4391
|
+
|
4392
|
+
fi
|
4393
|
+
|
4394
|
+
|
4395
|
+
@%:@ Check whether --enable-minimal was given.
|
4396
|
+
if test "${enable_minimal+set}" = set; then :
|
4397
|
+
enableval=$enable_minimal;
|
4398
|
+
if test "x$enableval" = "xyes"; then :
|
4399
|
+
|
4400
|
+
enable_minimal="yes"
|
4401
|
+
SODIUM_LIBRARY_MINIMAL_DEF="#define SODIUM_LIBRARY_MINIMAL 1"
|
4402
|
+
|
4403
|
+
$as_echo "@%:@define MINIMAL 1" >>confdefs.h
|
4404
|
+
|
4405
|
+
|
4406
|
+
else
|
4407
|
+
|
4408
|
+
enable_minimal="no"
|
4409
|
+
|
4410
|
+
fi
|
4411
|
+
|
4412
|
+
else
|
4413
|
+
|
4414
|
+
enable_minimal="no"
|
4415
|
+
|
4416
|
+
fi
|
4417
|
+
|
4418
|
+
if test x$enable_minimal = xyes; then
|
4419
|
+
MINIMAL_TRUE=
|
4420
|
+
MINIMAL_FALSE='#'
|
4421
|
+
else
|
4422
|
+
MINIMAL_TRUE='#'
|
4423
|
+
MINIMAL_FALSE=
|
4424
|
+
fi
|
4425
|
+
|
4426
|
+
|
4427
|
+
|
4428
|
+
|
4429
|
+
@%:@ Check whether --with-pthreads was given.
|
4430
|
+
if test "${with_pthreads+set}" = set; then :
|
4431
|
+
withval=$with_pthreads;
|
4432
|
+
else
|
4433
|
+
withval="yes"
|
4434
|
+
fi
|
4435
|
+
|
4436
|
+
|
4393
4437
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
|
4394
4438
|
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
|
4395
4439
|
if ${ac_cv_path_SED+:} false; then :
|
@@ -4459,7 +4503,6 @@ $as_echo "$ac_cv_path_SED" >&6; }
|
|
4459
4503
|
SED="$ac_cv_path_SED"
|
4460
4504
|
rm -f conftest.sed
|
4461
4505
|
|
4462
|
-
|
4463
4506
|
ac_ext=c
|
4464
4507
|
ac_cpp='$CPP $CPPFLAGS'
|
4465
4508
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
@@ -5417,7 +5460,7 @@ esac
|
|
5417
5460
|
CFLAGS="$nxflags -O0 -g3"
|
5418
5461
|
|
5419
5462
|
fi
|
5420
|
-
CPPFLAGS="$CPPFLAGS -DDEBUG=1"
|
5463
|
+
CPPFLAGS="$CPPFLAGS -DDEBUG=1 -UFORTIFY_SOURCE"
|
5421
5464
|
|
5422
5465
|
fi
|
5423
5466
|
|
@@ -7001,6 +7044,52 @@ fi
|
|
7001
7044
|
;;
|
7002
7045
|
esac
|
7003
7046
|
|
7047
|
+
case $host_os in @%:@(
|
7048
|
+
cygwin*|mingw*|msys|pw32*|cegcc*) :
|
7049
|
+
|
7050
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -fno-asynchronous-unwind-tables" >&5
|
7051
|
+
$as_echo_n "checking whether C compiler accepts -fno-asynchronous-unwind-tables... " >&6; }
|
7052
|
+
if ${ax_cv_check_cflags___fno_asynchronous_unwind_tables+:} false; then :
|
7053
|
+
$as_echo_n "(cached) " >&6
|
7054
|
+
else
|
7055
|
+
|
7056
|
+
ax_check_save_flags=$CFLAGS
|
7057
|
+
CFLAGS="$CFLAGS -fno-asynchronous-unwind-tables"
|
7058
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7059
|
+
/* end confdefs.h. */
|
7060
|
+
#include <time.h>
|
7061
|
+
int
|
7062
|
+
main ()
|
7063
|
+
{
|
7064
|
+
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
7065
|
+
;
|
7066
|
+
return 0;
|
7067
|
+
}
|
7068
|
+
_ACEOF
|
7069
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
7070
|
+
ax_cv_check_cflags___fno_asynchronous_unwind_tables=yes
|
7071
|
+
else
|
7072
|
+
ax_cv_check_cflags___fno_asynchronous_unwind_tables=no
|
7073
|
+
fi
|
7074
|
+
rm -f core conftest.err conftest.$ac_objext \
|
7075
|
+
conftest$ac_exeext conftest.$ac_ext
|
7076
|
+
CFLAGS=$ax_check_save_flags
|
7077
|
+
fi
|
7078
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___fno_asynchronous_unwind_tables" >&5
|
7079
|
+
$as_echo "$ax_cv_check_cflags___fno_asynchronous_unwind_tables" >&6; }
|
7080
|
+
if test "x$ax_cv_check_cflags___fno_asynchronous_unwind_tables" = xyes; then :
|
7081
|
+
|
7082
|
+
CFLAGS="$CFLAGS -fno-asynchronous-unwind-tables"
|
7083
|
+
|
7084
|
+
else
|
7085
|
+
:
|
7086
|
+
fi
|
7087
|
+
|
7088
|
+
;; @%:@(
|
7089
|
+
*) :
|
7090
|
+
;;
|
7091
|
+
esac
|
7092
|
+
|
7004
7093
|
if test "x$enable_ssp" != "xno"; then :
|
7005
7094
|
|
7006
7095
|
|
@@ -7288,7 +7377,7 @@ main ()
|
|
7288
7377
|
{
|
7289
7378
|
|
7290
7379
|
#ifndef __clang__
|
7291
|
-
|
7380
|
+
#error Not clang
|
7292
7381
|
#endif
|
7293
7382
|
|
7294
7383
|
;
|
@@ -7686,6 +7775,44 @@ else
|
|
7686
7775
|
:
|
7687
7776
|
fi
|
7688
7777
|
|
7778
|
+
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-type-limits" | $as_tr_sh`
|
7779
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-type-limits" >&5
|
7780
|
+
$as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-type-limits... " >&6; }
|
7781
|
+
if eval \${$as_CACHEVAR+:} false; then :
|
7782
|
+
$as_echo_n "(cached) " >&6
|
7783
|
+
else
|
7784
|
+
|
7785
|
+
ax_check_save_flags=$CFLAGS
|
7786
|
+
CFLAGS="$CFLAGS $CWFLAGS -Wno-type-limits"
|
7787
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7788
|
+
/* end confdefs.h. */
|
7789
|
+
#include <time.h>
|
7790
|
+
int
|
7791
|
+
main ()
|
7792
|
+
{
|
7793
|
+
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
7794
|
+
;
|
7795
|
+
return 0;
|
7796
|
+
}
|
7797
|
+
_ACEOF
|
7798
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
7799
|
+
eval "$as_CACHEVAR=yes"
|
7800
|
+
else
|
7801
|
+
eval "$as_CACHEVAR=no"
|
7802
|
+
fi
|
7803
|
+
rm -f core conftest.err conftest.$ac_objext \
|
7804
|
+
conftest$ac_exeext conftest.$ac_ext
|
7805
|
+
CFLAGS=$ax_check_save_flags
|
7806
|
+
fi
|
7807
|
+
eval ac_res=\$$as_CACHEVAR
|
7808
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
7809
|
+
$as_echo "$ac_res" >&6; }
|
7810
|
+
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
7811
|
+
CWFLAGS="$CWFLAGS -Wno-type-limits"
|
7812
|
+
else
|
7813
|
+
:
|
7814
|
+
fi
|
7815
|
+
|
7689
7816
|
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-unknown-pragmas" | $as_tr_sh`
|
7690
7817
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-unknown-pragmas" >&5
|
7691
7818
|
$as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-unknown-pragmas... " >&6; }
|
@@ -7694,7 +7821,45 @@ if eval \${$as_CACHEVAR+:} false; then :
|
|
7694
7821
|
else
|
7695
7822
|
|
7696
7823
|
ax_check_save_flags=$CFLAGS
|
7697
|
-
CFLAGS="$CFLAGS $CWFLAGS -Wno-unknown-pragmas"
|
7824
|
+
CFLAGS="$CFLAGS $CWFLAGS -Wno-unknown-pragmas"
|
7825
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7826
|
+
/* end confdefs.h. */
|
7827
|
+
#include <time.h>
|
7828
|
+
int
|
7829
|
+
main ()
|
7830
|
+
{
|
7831
|
+
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
7832
|
+
;
|
7833
|
+
return 0;
|
7834
|
+
}
|
7835
|
+
_ACEOF
|
7836
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
7837
|
+
eval "$as_CACHEVAR=yes"
|
7838
|
+
else
|
7839
|
+
eval "$as_CACHEVAR=no"
|
7840
|
+
fi
|
7841
|
+
rm -f core conftest.err conftest.$ac_objext \
|
7842
|
+
conftest$ac_exeext conftest.$ac_ext
|
7843
|
+
CFLAGS=$ax_check_save_flags
|
7844
|
+
fi
|
7845
|
+
eval ac_res=\$$as_CACHEVAR
|
7846
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
7847
|
+
$as_echo "$ac_res" >&6; }
|
7848
|
+
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
7849
|
+
CWFLAGS="$CWFLAGS -Wno-unknown-pragmas"
|
7850
|
+
else
|
7851
|
+
:
|
7852
|
+
fi
|
7853
|
+
|
7854
|
+
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnormalized=id" | $as_tr_sh`
|
7855
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnormalized=id" >&5
|
7856
|
+
$as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnormalized=id... " >&6; }
|
7857
|
+
if eval \${$as_CACHEVAR+:} false; then :
|
7858
|
+
$as_echo_n "(cached) " >&6
|
7859
|
+
else
|
7860
|
+
|
7861
|
+
ax_check_save_flags=$CFLAGS
|
7862
|
+
CFLAGS="$CFLAGS $CWFLAGS -Wnormalized=id"
|
7698
7863
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7699
7864
|
/* end confdefs.h. */
|
7700
7865
|
#include <time.h>
|
@@ -7719,20 +7884,20 @@ eval ac_res=\$$as_CACHEVAR
|
|
7719
7884
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
7720
7885
|
$as_echo "$ac_res" >&6; }
|
7721
7886
|
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
7722
|
-
CWFLAGS="$CWFLAGS -
|
7887
|
+
CWFLAGS="$CWFLAGS -Wnormalized=id"
|
7723
7888
|
else
|
7724
7889
|
:
|
7725
7890
|
fi
|
7726
7891
|
|
7727
|
-
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -
|
7728
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -
|
7729
|
-
$as_echo_n "checking whether C compiler accepts $CWFLAGS -
|
7892
|
+
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wnull-dereference" | $as_tr_sh`
|
7893
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wnull-dereference" >&5
|
7894
|
+
$as_echo_n "checking whether C compiler accepts $CWFLAGS -Wnull-dereference... " >&6; }
|
7730
7895
|
if eval \${$as_CACHEVAR+:} false; then :
|
7731
7896
|
$as_echo_n "(cached) " >&6
|
7732
7897
|
else
|
7733
7898
|
|
7734
7899
|
ax_check_save_flags=$CFLAGS
|
7735
|
-
CFLAGS="$CFLAGS $CWFLAGS -
|
7900
|
+
CFLAGS="$CFLAGS $CWFLAGS -Wnull-dereference"
|
7736
7901
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7737
7902
|
/* end confdefs.h. */
|
7738
7903
|
#include <time.h>
|
@@ -7757,20 +7922,20 @@ eval ac_res=\$$as_CACHEVAR
|
|
7757
7922
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
7758
7923
|
$as_echo "$ac_res" >&6; }
|
7759
7924
|
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
7760
|
-
CWFLAGS="$CWFLAGS -
|
7925
|
+
CWFLAGS="$CWFLAGS -Wnull-dereference"
|
7761
7926
|
else
|
7762
7927
|
:
|
7763
7928
|
fi
|
7764
7929
|
|
7765
|
-
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -
|
7766
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -
|
7767
|
-
$as_echo_n "checking whether C compiler accepts $CWFLAGS -
|
7930
|
+
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wold-style-declaration" | $as_tr_sh`
|
7931
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wold-style-declaration" >&5
|
7932
|
+
$as_echo_n "checking whether C compiler accepts $CWFLAGS -Wold-style-declaration... " >&6; }
|
7768
7933
|
if eval \${$as_CACHEVAR+:} false; then :
|
7769
7934
|
$as_echo_n "(cached) " >&6
|
7770
7935
|
else
|
7771
7936
|
|
7772
7937
|
ax_check_save_flags=$CFLAGS
|
7773
|
-
CFLAGS="$CFLAGS $CWFLAGS -
|
7938
|
+
CFLAGS="$CFLAGS $CWFLAGS -Wold-style-declaration"
|
7774
7939
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
7775
7940
|
/* end confdefs.h. */
|
7776
7941
|
#include <time.h>
|
@@ -7795,7 +7960,7 @@ eval ac_res=\$$as_CACHEVAR
|
|
7795
7960
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
7796
7961
|
$as_echo "$ac_res" >&6; }
|
7797
7962
|
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
7798
|
-
CWFLAGS="$CWFLAGS -
|
7963
|
+
CWFLAGS="$CWFLAGS -Wold-style-declaration"
|
7799
7964
|
else
|
7800
7965
|
:
|
7801
7966
|
fi
|
@@ -8028,44 +8193,6 @@ else
|
|
8028
8193
|
:
|
8029
8194
|
fi
|
8030
8195
|
|
8031
|
-
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CWFLAGS -Wno-type-limits" | $as_tr_sh`
|
8032
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CWFLAGS -Wno-type-limits" >&5
|
8033
|
-
$as_echo_n "checking whether C compiler accepts $CWFLAGS -Wno-type-limits... " >&6; }
|
8034
|
-
if eval \${$as_CACHEVAR+:} false; then :
|
8035
|
-
$as_echo_n "(cached) " >&6
|
8036
|
-
else
|
8037
|
-
|
8038
|
-
ax_check_save_flags=$CFLAGS
|
8039
|
-
CFLAGS="$CFLAGS $CWFLAGS -Wno-type-limits"
|
8040
|
-
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8041
|
-
/* end confdefs.h. */
|
8042
|
-
#include <time.h>
|
8043
|
-
int
|
8044
|
-
main ()
|
8045
|
-
{
|
8046
|
-
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
8047
|
-
;
|
8048
|
-
return 0;
|
8049
|
-
}
|
8050
|
-
_ACEOF
|
8051
|
-
if ac_fn_c_try_link "$LINENO"; then :
|
8052
|
-
eval "$as_CACHEVAR=yes"
|
8053
|
-
else
|
8054
|
-
eval "$as_CACHEVAR=no"
|
8055
|
-
fi
|
8056
|
-
rm -f core conftest.err conftest.$ac_objext \
|
8057
|
-
conftest$ac_exeext conftest.$ac_ext
|
8058
|
-
CFLAGS=$ax_check_save_flags
|
8059
|
-
fi
|
8060
|
-
eval ac_res=\$$as_CACHEVAR
|
8061
|
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
8062
|
-
$as_echo "$ac_res" >&6; }
|
8063
|
-
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
8064
|
-
CWFLAGS="$CWFLAGS -Wno-type-limits"
|
8065
|
-
else
|
8066
|
-
:
|
8067
|
-
fi
|
8068
|
-
|
8069
8196
|
|
8070
8197
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the linker accepts -Wl,-z,relro" >&5
|
8071
8198
|
$as_echo_n "checking whether the linker accepts -Wl,-z,relro... " >&6; }
|
@@ -8176,6 +8303,72 @@ else
|
|
8176
8303
|
fi
|
8177
8304
|
|
8178
8305
|
|
8306
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a broken clang + AVX512 combination" >&5
|
8307
|
+
$as_echo_n "checking for a broken clang + AVX512 combination... " >&6; }
|
8308
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8309
|
+
/* end confdefs.h. */
|
8310
|
+
|
8311
|
+
int
|
8312
|
+
main ()
|
8313
|
+
{
|
8314
|
+
|
8315
|
+
#if !(defined(__AVX512F__) && defined(__clang__) && __clang_major__ < 4)
|
8316
|
+
#error Not a broken clang + AVX512 combination
|
8317
|
+
#endif
|
8318
|
+
|
8319
|
+
;
|
8320
|
+
return 0;
|
8321
|
+
}
|
8322
|
+
_ACEOF
|
8323
|
+
if ac_fn_c_try_compile "$LINENO"; then :
|
8324
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - disabling AVX512 optimizations" >&5
|
8325
|
+
$as_echo "yes - disabling AVX512 optimizations" >&6; }
|
8326
|
+
as_CACHEVAR=`$as_echo "ax_cv_check_cflags__$CFLAGS -mno-avx512f" | $as_tr_sh`
|
8327
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts $CFLAGS -mno-avx512f" >&5
|
8328
|
+
$as_echo_n "checking whether C compiler accepts $CFLAGS -mno-avx512f... " >&6; }
|
8329
|
+
if eval \${$as_CACHEVAR+:} false; then :
|
8330
|
+
$as_echo_n "(cached) " >&6
|
8331
|
+
else
|
8332
|
+
|
8333
|
+
ax_check_save_flags=$CFLAGS
|
8334
|
+
CFLAGS="$CFLAGS $CFLAGS -mno-avx512f"
|
8335
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8336
|
+
/* end confdefs.h. */
|
8337
|
+
#include <time.h>
|
8338
|
+
int
|
8339
|
+
main ()
|
8340
|
+
{
|
8341
|
+
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
8342
|
+
;
|
8343
|
+
return 0;
|
8344
|
+
}
|
8345
|
+
_ACEOF
|
8346
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
8347
|
+
eval "$as_CACHEVAR=yes"
|
8348
|
+
else
|
8349
|
+
eval "$as_CACHEVAR=no"
|
8350
|
+
fi
|
8351
|
+
rm -f core conftest.err conftest.$ac_objext \
|
8352
|
+
conftest$ac_exeext conftest.$ac_ext
|
8353
|
+
CFLAGS=$ax_check_save_flags
|
8354
|
+
fi
|
8355
|
+
eval ac_res=\$$as_CACHEVAR
|
8356
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
8357
|
+
$as_echo "$ac_res" >&6; }
|
8358
|
+
if eval test \"x\$"$as_CACHEVAR"\" = x"yes"; then :
|
8359
|
+
CFLAGS="$CFLAGS -mno-avx512f"
|
8360
|
+
else
|
8361
|
+
:
|
8362
|
+
fi
|
8363
|
+
|
8364
|
+
|
8365
|
+
else
|
8366
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
8367
|
+
$as_echo "no" >&6; }
|
8368
|
+
|
8369
|
+
fi
|
8370
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
8371
|
+
|
8179
8372
|
|
8180
8373
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether segmentation violations can be caught when using the C compiler" >&5
|
8181
8374
|
$as_echo_n "checking whether segmentation violations can be caught when using the C compiler... " >&6; }
|
@@ -8235,6 +8428,82 @@ else
|
|
8235
8428
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: On this platform, segmentation violations cannot be caught using signal handlers. This is expected if you enabled a tool such as Address Sanitizer (-fsanitize=address), but be aware that using Address Sanitizer may also significantly reduce performance." >&5
|
8236
8429
|
$as_echo "$as_me: WARNING: On this platform, segmentation violations cannot be caught using signal handlers. This is expected if you enabled a tool such as Address Sanitizer (-fsanitize=address), but be aware that using Address Sanitizer may also significantly reduce performance." >&2;}
|
8237
8430
|
|
8431
|
+
fi
|
8432
|
+
|
8433
|
+
|
8434
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SIGABRT can be caught when using the C compiler" >&5
|
8435
|
+
$as_echo_n "checking whether SIGABRT can be caught when using the C compiler... " >&6; }
|
8436
|
+
if ${ax_cv_check_cCATCHABLE_ABRT+:} false; then :
|
8437
|
+
$as_echo_n "(cached) " >&6
|
8438
|
+
else
|
8439
|
+
|
8440
|
+
if test "$cross_compiling" = yes; then :
|
8441
|
+
ax_cv_check_cCATCHABLE_ABRT=unknown
|
8442
|
+
|
8443
|
+
else
|
8444
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
8445
|
+
/* end confdefs.h. */
|
8446
|
+
|
8447
|
+
|
8448
|
+
#include <signal.h>
|
8449
|
+
#include <stdlib.h>
|
8450
|
+
|
8451
|
+
#ifndef SIGABRT
|
8452
|
+
# error SIGABRT is not defined
|
8453
|
+
#endif
|
8454
|
+
|
8455
|
+
static void sigabrt_handler_3(int _)
|
8456
|
+
{
|
8457
|
+
exit(0);
|
8458
|
+
}
|
8459
|
+
|
8460
|
+
static void sigabrt_handler_2(int _)
|
8461
|
+
{
|
8462
|
+
signal(SIGABRT, sigabrt_handler_3);
|
8463
|
+
abort();
|
8464
|
+
exit(1);
|
8465
|
+
}
|
8466
|
+
|
8467
|
+
static void sigabrt_handler_1(int _)
|
8468
|
+
{
|
8469
|
+
signal(SIGABRT, sigabrt_handler_2);
|
8470
|
+
abort();
|
8471
|
+
exit(1);
|
8472
|
+
}
|
8473
|
+
|
8474
|
+
int
|
8475
|
+
main ()
|
8476
|
+
{
|
8477
|
+
|
8478
|
+
signal(SIGABRT, sigabrt_handler_1);
|
8479
|
+
abort();
|
8480
|
+
exit(1);
|
8481
|
+
|
8482
|
+
;
|
8483
|
+
return 0;
|
8484
|
+
}
|
8485
|
+
_ACEOF
|
8486
|
+
if ac_fn_c_try_run "$LINENO"; then :
|
8487
|
+
ax_cv_check_cCATCHABLE_ABRT=yes
|
8488
|
+
else
|
8489
|
+
ax_cv_check_cCATCHABLE_ABRT=no
|
8490
|
+
fi
|
8491
|
+
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
8492
|
+
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
8493
|
+
fi
|
8494
|
+
|
8495
|
+
|
8496
|
+
fi
|
8497
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cCATCHABLE_ABRT" >&5
|
8498
|
+
$as_echo "$ax_cv_check_cCATCHABLE_ABRT" >&6; }
|
8499
|
+
if test "x$ax_cv_check_cCATCHABLE_ABRT" = xyes; then :
|
8500
|
+
|
8501
|
+
$as_echo "@%:@define HAVE_CATCHABLE_ABRT 1" >>confdefs.h
|
8502
|
+
|
8503
|
+
else
|
8504
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: On this platform, SIGABRT cannot be caught using signal handlers." >&5
|
8505
|
+
$as_echo "$as_me: WARNING: On this platform, SIGABRT cannot be caught using signal handlers." >&2;}
|
8506
|
+
|
8238
8507
|
fi
|
8239
8508
|
|
8240
8509
|
|
@@ -16691,6 +16960,114 @@ $as_echo "@%:@define _mm256_broadcastsi128_si256 _mm_broadcastsi128_si256" >>con
|
|
16691
16960
|
fi
|
16692
16961
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16693
16962
|
|
16963
|
+
else
|
16964
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16965
|
+
$as_echo "no" >&6; }
|
16966
|
+
fi
|
16967
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
16968
|
+
CFLAGS="$oldcflags"
|
16969
|
+
|
16970
|
+
oldcflags="$CFLAGS"
|
16971
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx512f" >&5
|
16972
|
+
$as_echo_n "checking whether C compiler accepts -mavx512f... " >&6; }
|
16973
|
+
if ${ax_cv_check_cflags___mavx512f+:} false; then :
|
16974
|
+
$as_echo_n "(cached) " >&6
|
16975
|
+
else
|
16976
|
+
|
16977
|
+
ax_check_save_flags=$CFLAGS
|
16978
|
+
CFLAGS="$CFLAGS -mavx512f"
|
16979
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
16980
|
+
/* end confdefs.h. */
|
16981
|
+
#include <time.h>
|
16982
|
+
int
|
16983
|
+
main ()
|
16984
|
+
{
|
16985
|
+
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
16986
|
+
;
|
16987
|
+
return 0;
|
16988
|
+
}
|
16989
|
+
_ACEOF
|
16990
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
16991
|
+
ax_cv_check_cflags___mavx512f=yes
|
16992
|
+
else
|
16993
|
+
ax_cv_check_cflags___mavx512f=no
|
16994
|
+
fi
|
16995
|
+
rm -f core conftest.err conftest.$ac_objext \
|
16996
|
+
conftest$ac_exeext conftest.$ac_ext
|
16997
|
+
CFLAGS=$ax_check_save_flags
|
16998
|
+
fi
|
16999
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx512f" >&5
|
17000
|
+
$as_echo "$ax_cv_check_cflags___mavx512f" >&6; }
|
17001
|
+
if test "x$ax_cv_check_cflags___mavx512f" = xyes; then :
|
17002
|
+
CFLAGS="$CFLAGS -mavx512f"
|
17003
|
+
else
|
17004
|
+
:
|
17005
|
+
fi
|
17006
|
+
|
17007
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVX512F instructions set" >&5
|
17008
|
+
$as_echo_n "checking for AVX512F instructions set... " >&6; }
|
17009
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17010
|
+
/* end confdefs.h. */
|
17011
|
+
|
17012
|
+
#ifdef __native_client__
|
17013
|
+
# error NativeClient detected - Avoiding AVX512F opcodes
|
17014
|
+
#endif
|
17015
|
+
#pragma GCC target("avx512f")
|
17016
|
+
#include <immintrin.h>
|
17017
|
+
|
17018
|
+
int
|
17019
|
+
main ()
|
17020
|
+
{
|
17021
|
+
|
17022
|
+
__m512i x = _mm512_setzero_epi32();
|
17023
|
+
__m512i y = _mm512_permutexvar_epi64(_mm512_setr_epi64(0, 1, 4, 5, 2, 3, 6, 7), x);
|
17024
|
+
|
17025
|
+
;
|
17026
|
+
return 0;
|
17027
|
+
}
|
17028
|
+
_ACEOF
|
17029
|
+
if ac_fn_c_try_compile "$LINENO"; then :
|
17030
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
17031
|
+
$as_echo "yes" >&6; }
|
17032
|
+
|
17033
|
+
$as_echo "@%:@define HAVE_AVX512FINTRIN_H 1" >>confdefs.h
|
17034
|
+
|
17035
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -mavx512f" >&5
|
17036
|
+
$as_echo_n "checking whether C compiler accepts -mavx512f... " >&6; }
|
17037
|
+
if ${ax_cv_check_cflags___mavx512f+:} false; then :
|
17038
|
+
$as_echo_n "(cached) " >&6
|
17039
|
+
else
|
17040
|
+
|
17041
|
+
ax_check_save_flags=$CFLAGS
|
17042
|
+
CFLAGS="$CFLAGS -mavx512f"
|
17043
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
17044
|
+
/* end confdefs.h. */
|
17045
|
+
#include <time.h>
|
17046
|
+
int
|
17047
|
+
main ()
|
17048
|
+
{
|
17049
|
+
time_t x; int fodder = 0; if (fodder > -1000 && time(&x)) return (int) x
|
17050
|
+
;
|
17051
|
+
return 0;
|
17052
|
+
}
|
17053
|
+
_ACEOF
|
17054
|
+
if ac_fn_c_try_link "$LINENO"; then :
|
17055
|
+
ax_cv_check_cflags___mavx512f=yes
|
17056
|
+
else
|
17057
|
+
ax_cv_check_cflags___mavx512f=no
|
17058
|
+
fi
|
17059
|
+
rm -f core conftest.err conftest.$ac_objext \
|
17060
|
+
conftest$ac_exeext conftest.$ac_ext
|
17061
|
+
CFLAGS=$ax_check_save_flags
|
17062
|
+
fi
|
17063
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_check_cflags___mavx512f" >&5
|
17064
|
+
$as_echo "$ax_cv_check_cflags___mavx512f" >&6; }
|
17065
|
+
if test "x$ax_cv_check_cflags___mavx512f" = xyes; then :
|
17066
|
+
CFLAGS_AVX512F="-mavx512f"
|
17067
|
+
else
|
17068
|
+
:
|
17069
|
+
fi
|
17070
|
+
|
16694
17071
|
else
|
16695
17072
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
16696
17073
|
$as_echo "no" >&6; }
|
@@ -16891,6 +17268,7 @@ fi
|
|
16891
17268
|
|
16892
17269
|
|
16893
17270
|
|
17271
|
+
|
16894
17272
|
for ac_header in sys/mman.h intrin.h
|
16895
17273
|
do :
|
16896
17274
|
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
|
@@ -17653,7 +18031,7 @@ _ACEOF
|
|
17653
18031
|
fi
|
17654
18032
|
done
|
17655
18033
|
|
17656
|
-
for ac_func in mmap mlock madvise mprotect explicit_bzero nanosleep
|
18034
|
+
for ac_func in mmap mlock madvise mprotect memset_s explicit_bzero nanosleep
|
17657
18035
|
do :
|
17658
18036
|
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
|
17659
18037
|
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
|
@@ -18059,7 +18437,7 @@ fi
|
|
18059
18437
|
|
18060
18438
|
|
18061
18439
|
|
18062
|
-
ac_config_files="$ac_config_files Makefile contrib/Makefile dist-build/Makefile libsodium.pc libsodium-uninstalled.pc msvc-scripts/Makefile src/Makefile src/libsodium/Makefile src/libsodium/include/Makefile src/libsodium/include/sodium/version.h test/default/Makefile test/Makefile"
|
18440
|
+
ac_config_files="$ac_config_files Makefile builds/Makefile contrib/Makefile dist-build/Makefile libsodium.pc libsodium-uninstalled.pc msvc-scripts/Makefile src/Makefile src/libsodium/Makefile src/libsodium/include/Makefile src/libsodium/include/sodium/version.h test/default/Makefile test/Makefile"
|
18063
18441
|
|
18064
18442
|
cat >confcache <<\_ACEOF
|
18065
18443
|
# This file is a shell script that caches the results of configure
|
@@ -18230,14 +18608,14 @@ if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
|
18230
18608
|
as_fn_error $? "conditional \"AMDEP\" was never defined.
|
18231
18609
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18232
18610
|
fi
|
18233
|
-
if test -z "${MINIMAL_TRUE}" && test -z "${MINIMAL_FALSE}"; then
|
18234
|
-
as_fn_error $? "conditional \"MINIMAL\" was never defined.
|
18235
|
-
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18236
|
-
fi
|
18237
18611
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
18238
18612
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
|
18239
18613
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18240
18614
|
fi
|
18615
|
+
if test -z "${MINIMAL_TRUE}" && test -z "${MINIMAL_FALSE}"; then
|
18616
|
+
as_fn_error $? "conditional \"MINIMAL\" was never defined.
|
18617
|
+
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
18618
|
+
fi
|
18241
18619
|
if test -z "${VALGRIND_ENABLED_TRUE}" && test -z "${VALGRIND_ENABLED_FALSE}"; then
|
18242
18620
|
as_fn_error $? "conditional \"VALGRIND_ENABLED\" was never defined.
|
18243
18621
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
@@ -18667,7 +19045,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
18667
19045
|
# report actual input values of CONFIG_FILES etc. instead of their
|
18668
19046
|
# values after options handling.
|
18669
19047
|
ac_log="
|
18670
|
-
This file was extended by libsodium $as_me 1.0.
|
19048
|
+
This file was extended by libsodium $as_me 1.0.15, which was
|
18671
19049
|
generated by GNU Autoconf 2.69. Invocation command line was
|
18672
19050
|
|
18673
19051
|
CONFIG_FILES = $CONFIG_FILES
|
@@ -18725,7 +19103,7 @@ _ACEOF
|
|
18725
19103
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
18726
19104
|
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
|
18727
19105
|
ac_cs_version="\\
|
18728
|
-
libsodium config.status 1.0.
|
19106
|
+
libsodium config.status 1.0.15
|
18729
19107
|
configured by $0, generated by GNU Autoconf 2.69,
|
18730
19108
|
with options \\"\$ac_cs_config\\"
|
18731
19109
|
|
@@ -19131,6 +19509,7 @@ do
|
|
19131
19509
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
19132
19510
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
|
19133
19511
|
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
19512
|
+
"builds/Makefile") CONFIG_FILES="$CONFIG_FILES builds/Makefile" ;;
|
19134
19513
|
"contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
|
19135
19514
|
"dist-build/Makefile") CONFIG_FILES="$CONFIG_FILES dist-build/Makefile" ;;
|
19136
19515
|
"libsodium.pc") CONFIG_FILES="$CONFIG_FILES libsodium.pc" ;;
|