Add win32 Configure test whether MSVC truncates 64-bit enums

Microsoft Visual Studio in versions earlier than Visual Studio 2019
version 16.1 silently truncates 64-bit enums to 32-bit.  This commit
adds a test to win32 Configure script, so we refuse to compile BIND 9
with a broken compiler.
70 jobs for !4785 with 2555-add-Configure-test-for-truncated-64-bit-enums-on-windows in 24 minutes and 43 seconds (queued for 29 seconds)
latest detached
Status Job ID Name Coverage
  Autoconf
passed #1589543
linux amd64
autoreconf

00:00:20

 
  Precheck
passed #1589545
linux amd64
clang-format

00:00:20

passed #1589546
linux amd64
coccinelle

00:03:31

passed #1589547
linux amd64
danger

00:00:20

passed #1589544
linux amd64
misc

00:00:24

passed #1589548
linux amd64
tarball-create

00:01:36

 
  Build
passed #1589559
linux amd64
clang:asan

00:01:47

passed #1589563
linux amd64
clang:buster:amd64

00:00:53

passed #1589566
amd64 libvirt
clang:freebsd11:amd64

00:01:09

passed #1589567
amd64 libvirt
clang:freebsd12:amd64

00:01:15

passed #1589568
amd64 libvirt
clang:openbsd:amd64

00:02:15

passed #1589561
linux amd64
clang:tsan

00:01:00

passed #1589549
linux amd64
gcc:alpine3.13:amd64

00:00:57

passed #1589558
linux amd64
gcc:asan

00:01:51

passed #1589553
linux amd64
gcc:buster:amd64

00:00:38

passed #1589550
linux amd64
gcc:centos7:amd64

00:00:55

passed #1589551
linux amd64
gcc:centos8:amd64

00:00:50

passed #1589557
linux amd64
gcc:focal:amd64

00:00:49

passed #1589562
linux amd64
gcc:mutexatomics

00:00:57

passed #1589555
linux amd64
gcc:out-of-tree

00:00:54

passed #1589554
linux amd64
gcc:sid:amd64

00:01:02

passed #1589564
linux amd64
gcc:softhsm2.4

00:00:48

passed #1589565
linux amd64
gcc:softhsm2.6

00:00:49

passed #1589552
linux amd64
gcc:stretch:amd64

00:01:01

passed #1589560
linux amd64
gcc:tsan

00:00:53

passed #1589556
linux amd64
gcc:tumbleweed:amd64

00:00:46

passed #1589569
amd64 windows
msvc:windows:amd64

00:00:53

 
  Unit
passed #1589579
linux amd64
unit:clang:asan

00:01:59

passed #1589583
linux amd64
unit:clang:buster:amd64

00:01:06

passed #1589586
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:37

passed #1589587
amd64 libvirt
unit:clang:freebsd12:amd64

00:01:28

passed #1589588
amd64 libvirt
unit:clang:openbsd:amd64

00:03:24

passed #1589581
linux amd64
unit:clang:tsan

00:03:22

passed #1589570
linux amd64
unit:gcc:alpine3.13:amd64

00:01:11

passed #1589578
linux amd64
unit:gcc:asan

00:01:34

passed #1589574
linux amd64
unit:gcc:buster:amd64

00:02:09

passed #1589571
linux amd64
unit:gcc:centos7:amd64

00:01:18

passed #1589572
linux amd64
unit:gcc:centos8:amd64

00:01:05

passed #1589577
linux amd64
unit:gcc:focal:amd64

00:01:16

passed #1589582
linux amd64
unit:gcc:mutexatomics

00:01:29

passed #1589575
linux amd64
unit:gcc:sid:amd64

00:01:09

passed #1589584
linux amd64
unit:gcc:softhsm2.4

00:01:05

failed #1589585
linux amd64
unit:gcc:softhsm2.6

00:01:19

passed #1589573
linux amd64
unit:gcc:stretch:amd64

00:00:13

passed #1589580
linux amd64
unit:gcc:tsan

00:03:53

passed #1589576
linux amd64
unit:gcc:tumbleweed:amd64

00:01:07

 
  System
passed #1589598
linux amd64
system:clang:asan

00:14:18

passed #1589602
linux amd64
system:clang:buster:amd64

00:12:23

passed #1589605
amd64 libvirt
system:clang:freebsd11:amd64

00:12:22

failed #1589606
amd64 libvirt
system:clang:freebsd12:amd64

00:12:30

passed #1589600
linux amd64
system:clang:tsan

00:16:20

passed #1589589
linux amd64
system:gcc:alpine3.13:amd64

00:13:02

failed #1589597
linux amd64
system:gcc:asan

00:14:34

passed #1589593
linux amd64
system:gcc:buster:amd64

00:13:48

failed #1589590
linux amd64
system:gcc:centos7:amd64

00:12:37

passed #1589591
linux amd64
system:gcc:centos8:amd64

00:12:37

passed #1589596
linux amd64
system:gcc:focal:amd64

00:12:47

passed #1589601
linux amd64
system:gcc:mutexatomics

00:13:26

failed #1589594
linux amd64
system:gcc:sid:amd64

00:13:19

passed #1589603
linux amd64
system:gcc:softhsm2.4

00:12:16

passed #1589604
linux amd64
system:gcc:softhsm2.6

00:12:16

passed #1589592
linux amd64
system:gcc:stretch:amd64

00:12:00

failed #1589599
linux amd64
system:gcc:tsan

00:16:57

passed #1589595
linux amd64
system:gcc:tumbleweed:amd64

00:11:57

 
  Docs
passed #1589607
linux amd64
docs

00:00:45

 
  Postcheck
passed #1589611
linux amd64
cppcheck

00:00:46

passed #1589608
linux amd64
flake8

00:00:19

passed #1589612
linux amd64
gcov

00:00:43

77.0%
passed #1589609
linux amd64
pylint

00:00:22

passed #1589610
linux amd64
scan-build

00:04:17

 
Name Stage Failure
failed
system:gcc:tsan System
FAIL shutdown (exit status: 1)

$ find bin -name 'tsan.*' -exec python3 util/parse_tsan.py {} \;
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1488 files

Uploading artifacts as "archive" to coordinator... ok
id=1589599 responseStatus=201 Created token=xxMWD27X
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:asan System
FAIL kasp (exit status: 1)

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 4833 files

Uploading artifacts as "archive" to coordinator... ok
id=1589597 responseStatus=201 Created token=-DQZfXHC
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:sid:amd64 System
FAIL rrl (exit status: 1)

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1804 files

Uploading artifacts as "archive" to coordinator... ok
id=1589594 responseStatus=201 Created token=fU4M36d5
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:centos7:amd64 System
FAIL upforwd (exit status: 1)

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1521 files

Uploading artifacts as "archive" to coordinator... ok
id=1589590 responseStatus=201 Created token=LUx989xx
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:clang:freebsd12:amd64 System

$ test -n "${OUT_OF_TREE_WORKSPACE}" && mv "${OUT_OF_TREE_WORKSPACE}" "${CI_PROJECT_DIR}"
Uploading artifacts for failed job
Uploading artifacts...
Runtime platform
arch=amd64 os=freebsd pid=80595 revision=2ebc4dc4 version=13.9.0
untracked: found 4817 files

Uploading artifacts as "archive" to coordinator... ok
id=1589606 responseStatus=201 Created token=Ed2-JKTn
Cleaning up file based variables
ERROR: Job failed: exit status 1
failed
unit:gcc:softhsm2.6 Unit
make[1]: Leaving directory '/builds/isc-projects/bind9/fuzz'
make: *** [Makefile:608: unit-recursive] Error 1
make: Target 'unit' not remade because of errors.
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1670 files

Uploading artifacts as "archive" to coordinator... ok
id=1589585 responseStatus=201 Created token=4vyisyEH
Cleaning up file based variables
ERROR: Job failed: exit code 1