BIND issueshttps://gitlab.isc.org/isc-projects/bind9/-/issues2022-03-01T09:39:48Zhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2771named is unable to initialize krb context on NetBSD 9.22022-03-01T09:39:48ZMichal Nowaknamed is unable to initialize krb context on NetBSD 9.2`named` is unable to initialize krb context on NetBSD 9.2, it start's with 9.17.13, 9.16.16, and 9.11.32 as seen in the `nsupdate` system test:
```
failed gss_import_name: GSSAPI error: Major = Miscellaneous failure (see text), Minor = ...`named` is unable to initialize krb context on NetBSD 9.2, it start's with 9.17.13, 9.16.16, and 9.11.32 as seen in the `nsupdate` system test:
```
failed gss_import_name: GSSAPI error: Major = Miscellaneous failure (see text), Minor = unknown mech-code 6 for mech unknown.
```
```
checking for krb5-config... /usr/bin/krb5-config
checking for gssapi libraries... -lgssapi
checking for gssapi/gssapi.h... yes
checking for gssapi/gssapi_krb5.h... yes
checking for gssapi_krb5.h... no
checking for gss_acquire_cred... yes
checking for krb5 libraries... -lkrb5
checking for krb5/krb5.h... yes
checking for krb5_init_context... yes
```
<details>
```
14-Jun-2021 15:34:46.962 starting BIND 9.17.13 (Development Release) <id:8d36cac>
14-Jun-2021 15:34:46.962 running on NetBSD amd64 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC
14-Jun-2021 15:34:46.962 built with '--enable-developer' '--enable-dnstap' '--with-libidn2' '--disable-maintainer-mode' '--enable-option-checking=fatal' '--with-cmocka' '--with-libxml2' '--with-json-c' 'CC=clang' 'CFLAGS=-fno-omit-frame-pointer -fno-optimize-sibling-calls -O1 -g -Wall -Wextra'
14-Jun-2021 15:34:46.963 running as: named -D nsupdate-ns10 -X named.lock -m record,size,mctx -c named.conf -d 99 -g -U 4 -T maxcachesize\=2097152
14-Jun-2021 15:34:46.963 compiled by CLANG Clang 10.0.1
14-Jun-2021 15:34:46.963 compiled with OpenSSL version: OpenSSL 1.1.1k 25 Mar 2021
14-Jun-2021 15:34:46.963 linked to OpenSSL version: OpenSSL 1.1.1k 25 Mar 2021
14-Jun-2021 15:34:46.963 compiled with libxml2 version: 2.9.12
14-Jun-2021 15:34:46.963 linked to libxml2 version: 20912
14-Jun-2021 15:34:46.963 compiled with json-c version: 0.15
14-Jun-2021 15:34:46.963 linked to json-c version: 0.15
14-Jun-2021 15:34:46.963 compiled with zlib version: 1.2.10
14-Jun-2021 15:34:46.963 linked to zlib version: 1.2.10
14-Jun-2021 15:34:46.963 ----------------------------------------------------
14-Jun-2021 15:34:46.963 BIND 9 is maintained by Internet Systems Consortium,
14-Jun-2021 15:34:46.963 Inc. (ISC), a non-profit 501(c)(3) public-benefit
14-Jun-2021 15:34:46.963 corporation. Support and training for BIND 9 are
14-Jun-2021 15:34:46.963 available at https://www.isc.org/support
14-Jun-2021 15:34:46.963 ----------------------------------------------------
14-Jun-2021 15:34:46.963 found 4 CPUs, using 4 worker threads
14-Jun-2021 15:34:46.963 using 4 UDP listeners per interface
14-Jun-2021 15:34:46.976 using up to 21000 sockets
14-Jun-2021 15:34:46.976 Registering DLZ_dlopen driver
14-Jun-2021 15:34:46.976 Registering SDLZ driver 'dlopen'
14-Jun-2021 15:34:46.976 Registering DLZ driver 'dlopen'
14-Jun-2021 15:34:46.978 socket 0x78e8a0047010: created
14-Jun-2021 15:34:46.978 socket 0x78e8a0047010: socket_recv: event 0x78e8a0047190 -> task 0x78e8a0112010
14-Jun-2021 15:34:46.978 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -3 for socket 40
14-Jun-2021 15:34:46.978 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.978 config.c: option 'trust-anchor-telemetry' is experimental and subject to change in the future
14-Jun-2021 15:34:46.979 loading configuration from '/home/newman/bind9/bin/tests/system/nsupdate/ns10/named.conf'
14-Jun-2021 15:34:46.979 reading built-in trust anchors from file '/usr/local/etc/bind.keys'
14-Jun-2021 15:34:46.979 set maximum stack size to 134217728: success
14-Jun-2021 15:34:46.979 set maximum data size to 8589934592: success
14-Jun-2021 15:34:46.979 set maximum core size to 9223372036854775807: success
14-Jun-2021 15:34:46.979 set maximum open files to 18446744073709551615: success
14-Jun-2021 15:34:46.980 max open files (3404) is smaller than max sockets (21000)
14-Jun-2021 15:34:46.980 using default UDP/IPv4 port range: [49152, 65535]
14-Jun-2021 15:34:46.980 using default UDP/IPv6 port range: [49152, 65535]
14-Jun-2021 15:34:46.981 IPv6 socket API is incomplete; explicitly binding to each IPv6 address separately
14-Jun-2021 15:34:46.981 listening on IPv6 interface vioif0, fe80::5054:ff:fe11:1546%1#24102
14-Jun-2021 15:34:46.981 listening on IPv6 interface lo0, ::1#24102
14-Jun-2021 15:34:46.981 listening on IPv6 interface lo0, fe80::1%2#24102
14-Jun-2021 15:34:46.982 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::1#24102
14-Jun-2021 15:34:46.982 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::2#24102
14-Jun-2021 15:34:46.982 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::3#24102
14-Jun-2021 15:34:46.983 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::4#24102
14-Jun-2021 15:34:46.983 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::5#24102
14-Jun-2021 15:34:46.983 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::6#24102
14-Jun-2021 15:34:46.984 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::7#24102
14-Jun-2021 15:34:46.984 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::8#24102
14-Jun-2021 15:34:46.984 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::9#24102
14-Jun-2021 15:34:46.984 listening on IPv4 interface lo0, 10.53.0.10#24102
14-Jun-2021 15:34:46.985 listening on IPv6 interface lo0, fd92:7065:b8e:ffff::10#24102
14-Jun-2021 15:34:46.985 listening on IPv6 interface lo0, fd92:7065:b8e:99ff::1#24102
14-Jun-2021 15:34:46.985 listening on IPv6 interface lo0, fd92:7065:b8e:99ff::2#24102
14-Jun-2021 15:34:46.986 listening on IPv6 interface lo0, fd92:7065:b8e:ff::1#24102
14-Jun-2021 15:34:46.986 listening on IPv6 interface lo0, fd92:7065:b8e:ff::2#24102
14-Jun-2021 15:34:46.987 generating session key for dynamic DNS
14-Jun-2021 15:34:46.988 sizing zone task pool based on 2 zones
14-Jun-2021 15:34:46.988 zone_settimer: zone in-addr.arpa/IN: enter
14-Jun-2021 15:34:46.988 zone_settimer: zone in-addr.arpa/IN: settimer inactive
14-Jun-2021 15:34:46.988 zone_settimer: zone example.com/IN: enter
14-Jun-2021 15:34:46.988 zone_settimer: zone example.com/IN: settimer inactive
14-Jun-2021 15:34:46.989 sendmsg: Protocol option not available
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4d90: created
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4d90 10.53.0.10#0: bound
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4d90: destroying
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.989 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cb800
14-Jun-2021 15:34:46.989 dispatch 0x78e89f4cb800: created task 0x78e89fdb5b30
14-Jun-2021 15:34:46.989 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cb200
14-Jun-2021 15:34:46.989 dispatch 0x78e89f4cb200: created task 0x78e89fdb9330
14-Jun-2021 15:34:46.989 res 0x78e8a005c010: create
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.989 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cac00
14-Jun-2021 15:34:46.989 dispatch 0x78e89f4cac00: created task 0x78e89f476c10
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.989 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4ca600
14-Jun-2021 15:34:46.989 dispatch 0x78e89f4ca600: created task 0x78e89f47a410
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.989 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4ca000
14-Jun-2021 15:34:46.989 dispatch 0x78e89f4ca000: created task 0x78e89f45ec10
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.989 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.989 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.990 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cfa00
14-Jun-2021 15:34:46.990 dispatch 0x78e89f4cfa00: created task 0x78e89f462410
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.990 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cf400
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.990 dispatch 0x78e89f4cf400: created task 0x78e89f44bc10
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.990 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cee00
14-Jun-2021 15:34:46.990 dispatch 0x78e89f4cee00: created task 0x78e89f44f410
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.990 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4ce800
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.990 dispatch 0x78e89f4ce800: created task 0x78e89f42fc10
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.990 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4ce200
14-Jun-2021 15:34:46.990 dispatch 0x78e89f4ce200: created task 0x78e89f433410
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.990 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cdc00
14-Jun-2021 15:34:46.990 dispatch 0x78e89f4cdc00: created task 0x78e89f1fac10
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.990 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.990 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cd600
14-Jun-2021 15:34:46.990 dispatch 0x78e89f4cd600: created task 0x78e89f1fe410
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.990 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cd000
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4cd000: created task 0x78e89f1e7c10
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d2a00
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d2a00: created task 0x78e89f1eb410
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d2400
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d2400: created task 0x78e89f1cbc10
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d1e00
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d1e00: created task 0x78e89f1cf410
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: created
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10 10.53.0.10#0: bound
14-Jun-2021 15:34:46.991 socket 0x78e89f4c4f10: destroying
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.991 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d1800
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d1800: created task 0x78e89f1bec10
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d1200
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d1200: created task 0x78e89f1c2410
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d0c00
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d0c00: created task 0x78e89f1a8c10
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d0600
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d0600: created task 0x78e89f1ac410
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4d0000
14-Jun-2021 15:34:46.991 dispatch 0x78e89f4d0000: created task 0x78e89f195c10
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e6a00
14-Jun-2021 15:34:46.991 dispatch 0x78e89f5e6a00: created task 0x78e89f199410
14-Jun-2021 15:34:46.991 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e6400
14-Jun-2021 15:34:46.991 dispatch 0x78e89f5e6400: created task 0x78e89f179c10
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e5e00
14-Jun-2021 15:34:46.992 dispatch 0x78e89f5e5e00: created task 0x78e89f17d410
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e5800
14-Jun-2021 15:34:46.992 dispatch 0x78e89f5e5800: created task 0x78e89f169c10
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e5200
14-Jun-2021 15:34:46.992 dispatch 0x78e89f5e5200: created task 0x78e89f16d410
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e4c00
14-Jun-2021 15:34:46.992 dispatch 0x78e89f5e4c00: created task 0x78e89f155c10
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e4600
14-Jun-2021 15:34:46.992 dispatch 0x78e89f5e4600: created task 0x78e89f159410
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f5e4000
14-Jun-2021 15:34:46.992 dispatch 0x78e89f5e4000: created task 0x78e89f139c10
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89fcb2a00
14-Jun-2021 15:34:46.992 dispatch 0x78e89fcb2a00: created task 0x78e89f13d410
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89fcb2400
14-Jun-2021 15:34:46.992 dispatch 0x78e89fcb2400: created task 0x78e89f126c10
14-Jun-2021 15:34:46.992 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89fcb1e00
14-Jun-2021 15:34:46.992 dispatch 0x78e89fcb1e00: created task 0x78e89f12a410
14-Jun-2021 15:34:46.992 dns_requestmgr_create
14-Jun-2021 15:34:46.992 dns_requestmgr_create: 0x78e89f0e1010
14-Jun-2021 15:34:46.992 dns_requestmgr_whenshutdown
14-Jun-2021 15:34:46.992 obtaining root key for view _default from '/usr/local/etc/bind.keys'
14-Jun-2021 15:34:46.993 set up managed keys zone for view _default, file 'managed-keys.bind'
14-Jun-2021 15:34:46.993 dispatch 0x78e89f4cb800: detach: refcount 2
14-Jun-2021 15:34:46.993 dispatch 0x78e89f4cb200: detach: refcount 2
14-Jun-2021 15:34:46.993 zone_settimer: zone version.bind/CH: enter
14-Jun-2021 15:34:46.993 zone_settimer: zone version.bind/CH: settimer inactive
14-Jun-2021 15:34:46.993 zone_settimer: zone hostname.bind/CH: enter
14-Jun-2021 15:34:46.993 zone_settimer: zone hostname.bind/CH: settimer inactive
14-Jun-2021 15:34:46.993 zone_settimer: zone authors.bind/CH: enter
14-Jun-2021 15:34:46.993 zone_settimer: zone authors.bind/CH: settimer inactive
14-Jun-2021 15:34:46.993 zone_settimer: zone id.server/CH: enter
14-Jun-2021 15:34:46.993 zone_settimer: zone id.server/CH: settimer inactive
14-Jun-2021 15:34:46.993 socket 0x78e89f09f210: created
14-Jun-2021 15:34:46.993 socket 0x78e89f09f210 10.53.0.10#0: bound
14-Jun-2021 15:34:46.993 socket 0x78e89f09f210: destroying
14-Jun-2021 15:34:46.993 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a5800
14-Jun-2021 15:34:46.993 dispatch 0x78e89f0a5800: created task 0x78e89f11a150
14-Jun-2021 15:34:46.993 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.993 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.993 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a5200
14-Jun-2021 15:34:46.993 dispatch 0x78e89f0a5200: created task 0x78e89f11d950
14-Jun-2021 15:34:46.993 res 0x78e8a005c1d0: create
14-Jun-2021 15:34:46.993 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.993 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.993 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.994 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a4c00
14-Jun-2021 15:34:46.994 dispatch 0x78e89f0a4c00: created task 0x78e89f076230
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.994 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a4600
14-Jun-2021 15:34:46.994 dispatch 0x78e89f0a4600: created task 0x78e89f079a30
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.994 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a4000
14-Jun-2021 15:34:46.994 dispatch 0x78e89f0a4000: created task 0x78e89f05b230
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.994 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a9a00
14-Jun-2021 15:34:46.994 dispatch 0x78e89f0a9a00: created task 0x78e89f05ea30
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.994 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a9400
14-Jun-2021 15:34:46.994 dispatch 0x78e89f0a9400: created task 0x78e89f048230
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.994 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.994 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a8e00
14-Jun-2021 15:34:46.994 dispatch 0x78e89f0a8e00: created task 0x78e89f04ba30
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.994 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.995 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a8800
14-Jun-2021 15:34:46.995 dispatch 0x78e89f0a8800: created task 0x78e89edfb230
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.995 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a8200
14-Jun-2021 15:34:46.995 dispatch 0x78e89f0a8200: created task 0x78e89edfea30
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.995 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a7c00
14-Jun-2021 15:34:46.995 dispatch 0x78e89f0a7c00: created task 0x78e89edee230
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.995 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a7600
14-Jun-2021 15:34:46.995 dispatch 0x78e89f0a7600: created task 0x78e89edf1a30
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.995 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0a7000
14-Jun-2021 15:34:46.995 dispatch 0x78e89f0a7000: created task 0x78e89eddb230
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.995 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.995 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0aca00
14-Jun-2021 15:34:46.995 dispatch 0x78e89f0aca00: created task 0x78e89eddea30
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.995 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0ac400
14-Jun-2021 15:34:46.996 dispatch 0x78e89f0ac400: created task 0x78e89edc8230
14-Jun-2021 15:34:46.996 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.996 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.996 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.996 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.996 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.996 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -5 for socket 513
14-Jun-2021 15:34:46.996 sockmgr 0x78e8a34db9d0 thread 1: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0abe00
14-Jun-2021 15:34:46.996 dispatch 0x78e89f0abe00: created task 0x78e89edcba30
14-Jun-2021 15:34:46.996 socket 0x78e89f09f390: created
14-Jun-2021 15:34:46.996 socket 0x78e89f09f390 10.53.0.10#0: bound
14-Jun-2021 15:34:46.996 socket 0x78e89f09f390: destroying
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0ab800
14-Jun-2021 15:34:46.996 dispatch 0x78e89f0ab800: created task 0x78e89edac230
14-Jun-2021 15:34:46.996 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -5 for socket 512
14-Jun-2021 15:34:46.996 sockmgr 0x78e8a34db9d0 thread 0: watcher got message -2 for socket -1
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0ab200
14-Jun-2021 15:34:46.996 dispatch 0x78e89f0ab200: created task 0x78e89edafa30
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0aac00
14-Jun-2021 15:34:46.996 dispatch 0x78e89f0aac00: created task 0x78e89ed9f230
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0aa600
14-Jun-2021 15:34:46.996 dispatch 0x78e89f0aa600: created task 0x78e89eda2a30
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f0aa000
14-Jun-2021 15:34:46.996 dispatch 0x78e89f0aa000: created task 0x78e89ed89230
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c9a00
14-Jun-2021 15:34:46.996 dispatch 0x78e89f4c9a00: created task 0x78e89ed8ca30
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c9400
14-Jun-2021 15:34:46.996 dispatch 0x78e89f4c9400: created task 0x78e89ed7c230
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c8e00
14-Jun-2021 15:34:46.996 dispatch 0x78e89f4c8e00: created task 0x78e89ed7fa30
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c8800
14-Jun-2021 15:34:46.996 dispatch 0x78e89f4c8800: created task 0x78e89ed5a230
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c8200
14-Jun-2021 15:34:46.996 dispatch 0x78e89f4c8200: created task 0x78e89ed5da30
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c7c00
14-Jun-2021 15:34:46.996 dispatch 0x78e89f4c7c00: created task 0x78e89ed4a230
14-Jun-2021 15:34:46.996 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c7600
14-Jun-2021 15:34:46.997 dispatch 0x78e89f4c7600: created task 0x78e89ed4da30
14-Jun-2021 15:34:46.997 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4c7000
14-Jun-2021 15:34:46.997 dispatch 0x78e89f4c7000: created task 0x78e89ed37230
14-Jun-2021 15:34:46.997 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cca00
14-Jun-2021 15:34:46.997 dispatch 0x78e89f4cca00: created task 0x78e89ed3aa30
14-Jun-2021 15:34:46.997 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cc400
14-Jun-2021 15:34:46.997 dispatch 0x78e89f4cc400: created task 0x78e89ed1b230
14-Jun-2021 15:34:46.997 dispatchmgr 0x78e8a0ec7010: created UDP dispatcher 0x78e89f4cbe00
14-Jun-2021 15:34:46.997 dispatch 0x78e89f4cbe00: created task 0x78e89ed1ea30
14-Jun-2021 15:34:46.997 dns_requestmgr_create
14-Jun-2021 15:34:46.997 dns_requestmgr_create: 0x78e89f0e1790
14-Jun-2021 15:34:46.997 dns_requestmgr_whenshutdown
14-Jun-2021 15:34:46.997 dispatch 0x78e89f0a5800: detach: refcount 2
14-Jun-2021 15:34:46.997 dispatch 0x78e89f0a5200: detach: refcount 2
14-Jun-2021 15:34:46.997 Unable to initialise krb5 context
14-Jun-2021 15:34:46.997 failed gss_import_name: GSSAPI error: Major = Miscellaneous failure (see text), Minor = unknown mech-code 6 for mech unknown.
14-Jun-2021 15:34:46.998 configuring TKEY: failure
14-Jun-2021 15:34:46.998 load_configuration: failure
14-Jun-2021 15:34:46.998 loading configuration: failure
14-Jun-2021 15:34:46.998 exiting (due to fatal error)
```
</details>Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2426CID 316504: Untrusted loop bound (TAINTED_SCALAR)2022-03-01T09:57:30ZMichal NowakCID 316504: Untrusted loop bound (TAINTED_SCALAR)```
*** CID 316504: (TAINTED_SCALAR)
/lib/dns/rdata/generic/rrsig_46.c: 233 in totext_rrsig()
227
228 /*
229 * Time signed.
230 */
231 when = uint32_fromregion(&sr);
232 isc_region_consume(&sr, 4);
>>> ...```
*** CID 316504: (TAINTED_SCALAR)
/lib/dns/rdata/generic/rrsig_46.c: 233 in totext_rrsig()
227
228 /*
229 * Time signed.
230 */
231 when = uint32_fromregion(&sr);
232 isc_region_consume(&sr, 4);
>>> CID 316504: (TAINTED_SCALAR)
>>> Passing tainted expression "when" to "dns_time32_totext", which uses it as a loop boundary.
233 RETERR(dns_time32_totext(when, target));
234 RETERR(str_totext(" ", target));
235
236 /*
237 * Footprint.
238 */
/lib/dns/rdata/generic/rrsig_46.c: 225 in totext_rrsig()
219
220 /*
221 * Sig exp.
222 */
223 exp = uint32_fromregion(&sr);
224 isc_region_consume(&sr, 4);
>>> CID 316504: (TAINTED_SCALAR)
>>> Passing tainted expression "exp" to "dns_time32_totext", which uses it as a loop boundary.
225 RETERR(dns_time32_totext(exp, target));
226 RETERR(str_totext(" ", target));
227
228 /*
229 * Time signed.
230 */
```Not plannedMark AndrewsMark Andrewshttps://gitlab.isc.org/isc-projects/bind9/-/issues/2425CID 316505: Insecure data handling (TAINTED_SCALAR)2022-03-01T09:57:33ZMichal NowakCID 316505: Insecure data handling (TAINTED_SCALAR)```
*** CID 316505: Insecure data handling (TAINTED_SCALAR)
/lib/dns/journal.c: 972 in journal_find()
966 return (ISC_R_SUCCESS);
967 }
968
969 current_pos = j->header.begin;
970 index_find(j, serial, &current...```
*** CID 316505: Insecure data handling (TAINTED_SCALAR)
/lib/dns/journal.c: 972 in journal_find()
966 return (ISC_R_SUCCESS);
967 }
968
969 current_pos = j->header.begin;
970 index_find(j, serial, ¤t_pos);
971
>>> CID 316505: Insecure data handling (TAINTED_SCALAR)
>>> Using tainted variable "current_pos.serial" as a loop boundary.
972 while (current_pos.serial != serial) {
973 if (DNS_SERIAL_GT(current_pos.serial, serial)) {
974 return (ISC_R_NOTFOUND);
975 }
976 result = journal_next(j, ¤t_pos);
977 if (result != ISC_R_SUCCESS) {
```Not plannedMark AndrewsMark Andrewshttps://gitlab.isc.org/isc-projects/bind9/-/issues/2424CID 316506: Insecure data handling (TAINTED_SCALAR)2022-03-01T09:57:36ZMichal NowakCID 316506: Insecure data handling (TAINTED_SCALAR)```
*** CID 316506: Insecure data handling (TAINTED_SCALAR)
/lib/dns/journal.c: 1855 in read_one_rr()
1849 */
1850 if (isc_buffer_remaininglength(&j->it.source) != rdlen) {
1851 FAIL(DNS_R_FORMERR);
1852 }
1853 ...```
*** CID 316506: Insecure data handling (TAINTED_SCALAR)
/lib/dns/journal.c: 1855 in read_one_rr()
1849 */
1850 if (isc_buffer_remaininglength(&j->it.source) != rdlen) {
1851 FAIL(DNS_R_FORMERR);
1852 }
1853 isc_buffer_setactive(&j->it.source, rdlen);
1854 dns_rdata_reset(&j->it.rdata);
>>> CID 316506: Insecure data handling (TAINTED_SCALAR)
>>> Passing tainted expression "j->it.source.active" to "dns_rdata_fromwire", which uses it as a loop boundary.
1855 CHECK(dns_rdata_fromwire(&j->it.rdata, rdclass, rdtype, &j->it.source,
1856 &j->it.dctx, 0, &j->it.target));
1857 j->it.ttl = ttl;
1858
1859 j->it.xpos += sizeof(journal_rawrrhdr_t) + rrhdr.size;
1860 if (rdtype == dns_rdatatype_soa) {
```Not plannedMark AndrewsMark Andrewshttps://gitlab.isc.org/isc-projects/bind9/-/issues/2419CID 316511: Insecure data handling (TAINTED_SCALAR)2022-03-01T09:57:42ZMichal NowakCID 316511: Insecure data handling (TAINTED_SCALAR)```
*** CID 316511: Insecure data handling (TAINTED_SCALAR)
/lib/dns/rdata/generic/hip_55.c: 496 in casecompare_hip()
490 key_len = uint16_fromregion(&r1);
491 isc_region_consume(&r1, 2); /* key length */
492 isc_region_...```
*** CID 316511: Insecure data handling (TAINTED_SCALAR)
/lib/dns/rdata/generic/hip_55.c: 496 in casecompare_hip()
490 key_len = uint16_fromregion(&r1);
491 isc_region_consume(&r1, 2); /* key length */
492 isc_region_consume(&r2, 4);
493
494 INSIST(r1.length >= (unsigned)(hit_len + key_len));
495 INSIST(r2.length >= (unsigned)(hit_len + key_len));
>>> CID 316511: Insecure data handling (TAINTED_SCALAR)
>>> Passing tainted expression "hit_len + key_len" to "memcmp", which uses it as an offset.
496 order = memcmp(r1.base, r2.base, hit_len + key_len);
497 if (order != 0) {
498 return (order);
499 }
500 isc_region_consume(&r1, hit_len + key_len);
501 isc_region_consume(&r2, hit_len + key_len);
```Not plannedMark AndrewsMark Andrewshttps://gitlab.isc.org/isc-projects/bind9/-/issues/2418CID 316512: Untrusted loop bound (TAINTED_SCALAR)2022-03-01T09:57:44ZMichal NowakCID 316512: Untrusted loop bound (TAINTED_SCALAR)```
*** CID 316512: (TAINTED_SCALAR)
/lib/dns/rdata/generic/sig_24.c: 199 in totext_sig()
193
194 /*
195 * Time signed.
196 */
197 when = uint32_fromregion(&sr);
198 isc_region_consume(&sr, 4);
>>> ...```
*** CID 316512: (TAINTED_SCALAR)
/lib/dns/rdata/generic/sig_24.c: 199 in totext_sig()
193
194 /*
195 * Time signed.
196 */
197 when = uint32_fromregion(&sr);
198 isc_region_consume(&sr, 4);
>>> CID 316512: (TAINTED_SCALAR)
>>> Passing tainted expression "when" to "dns_time32_totext", which uses it as a loop boundary.
199 RETERR(dns_time32_totext(when, target));
200 RETERR(str_totext(" ", target));
201
202 /*
203 * Footprint.
204 */
/lib/dns/rdata/generic/sig_24.c: 187 in totext_sig()
181
182 /*
183 * Sig exp.
184 */
185 exp = uint32_fromregion(&sr);
186 isc_region_consume(&sr, 4);
>>> CID 316512: (TAINTED_SCALAR)
>>> Passing tainted expression "exp" to "dns_time32_totext", which uses it as a loop boundary.
187 RETERR(dns_time32_totext(exp, target));
188
189 if ((tctx->flags & DNS_STYLEFLAG_MULTILINE) != 0) {
190 RETERR(str_totext(" (", target));
191 }
192 RETERR(str_totext(tctx->linebreak, target));
```Not plannedMark AndrewsMark Andrewshttps://gitlab.isc.org/isc-projects/bind9/-/issues/2388Signed wildcard RRset may be cached too long2022-11-06T13:49:08ZMatthijs Mekkingmatthijs@isc.orgSigned wildcard RRset may be cached too longThe DNS response is validated and the answer is cached. It looks like it does not take into account the denial of existence records when determining the TTL. If the denial of existence records have shorter TTL, the wildcard RRset may be ...The DNS response is validated and the answer is cached. It looks like it does not take into account the denial of existence records when determining the TTL. If the denial of existence records have shorter TTL, the wildcard RRset may be cached for too long.
This is only a problem for requests that do not require validation, they will be served the cached wildcard RRset without a "fresh" validation.https://gitlab.isc.org/isc-projects/bind9/-/issues/2358Update CI to have poisoned header files2022-03-01T09:42:36ZMark AndrewsUpdate CI to have poisoned header filesUpdate the CI to have a system with poisoned header files installed to detect when include order has been broken. The header files in the build / source tree should be found before these poisoned header files.
The contents of the poiso...Update the CI to have a system with poisoned header files installed to detect when include order has been broken. The header files in the build / source tree should be found before these poisoned header files.
The contents of the poisoned header files should be something like `#error fix include order`.
/usr/include and /usr/local/include would be ideal locations to add poisoned header files.
#2357 is what happens when we don't detect this at development time. I used poisoned <isc/types.h> and <dns/types.h> when testing the fixes for #2357 but really should have every header file with poisoned versions.Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2330Add a test that max-udp-size can send a 4096 octet UDP response if it is set ...2022-03-01T09:42:51ZOndřej SurýAdd a test that max-udp-size can send a 4096 octet UDP response if it is set to that value.Stemmed from the MR: https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/4449#note_180129
People expect that `max-udp-size` changes the EDNS Buffer Size and the throttling by `nocookie-udp-size` was bit unexpected. Let's add a t...Stemmed from the MR: https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/4449#note_180129
People expect that `max-udp-size` changes the EDNS Buffer Size and the throttling by `nocookie-udp-size` was bit unexpected. Let's add a test that matches the people's expectations.Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2260Fix pkcs11 system test to handle revoked key collisions.2022-03-01T09:42:56ZMark AndrewsFix pkcs11 system test to handle revoked key collisions.Job [#1286395](https://gitlab.isc.org/isc-projects/bind9/-/jobs/1286395) failed for c19a35c945ebc21272143253d408e145b949a966:
```
S:pkcs11:2020-11-10T04:19:15+0000
T:pkcs11:1:A
A:pkcs11:System test pkcs11
I:pkcs11:PORTS:30765,30766,3076...Job [#1286395](https://gitlab.isc.org/isc-projects/bind9/-/jobs/1286395) failed for c19a35c945ebc21272143253d408e145b949a966:
```
S:pkcs11:2020-11-10T04:19:15+0000
T:pkcs11:1:A
A:pkcs11:System test pkcs11
I:pkcs11:PORTS:30765,30766,30767,30768,30769,30770,30771,30772,30773,30774
=I:pkcs11:Generating keys for Native PKCS#11
dnssec-keyfromlabel: fatal: dnssec-keyfromlabel: ./Krsasha256.example.+008+38641 could collide with another key upon revokation
I:pkcs11:setup.sh script failed
R:pkcs11:FAIL
E:pkcs11:2020-11-10T04:19:15+0000
FAIL pkcs11 (exit status: 1)
```Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2234Add ARM64 build, unit and system test CI jobs2020-10-26T12:30:11ZMichal NowakAdd ARM64 build, unit and system test CI jobsWe used to have ARM64 host before, but it was removed due to it's connectivity problems.
We should add ARM64 CI jobs for two reasons:
1. we support the ARM64 platform and distributions are [actively packaging it](https://gitlab.isc.org...We used to have ARM64 host before, but it was removed due to it's connectivity problems.
We should add ARM64 CI jobs for two reasons:
1. we support the ARM64 platform and distributions are [actively packaging it](https://gitlab.isc.org/isc-projects/bind9/-/issues/2167)
2. Fedora on ARM64 is one of stress test targets and we should ensure that BIND works on this platform before we proceed to later stages of the release process
This requires ARM64 host, possibly AWS, performance-wise we should be close to AMD64 hosts not to block pipelines.
OS platform should be Fedora to match stress test CI jobs.Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2213Inline signing: AXFR before zone load on a secondary server prevents zone fro...2023-11-02T17:00:03ZMichał KępieńInline signing: AXFR before zone load on a secondary server prevents zone from being servedConsider an inline-signing secondary server ("bump-in-the-wire") that is
starting up with a previous version of a signed zone available locally.
The typical chain of events is that the server first loads the zone from
storage and then l...Consider an inline-signing secondary server ("bump-in-the-wire") that is
starting up with a previous version of a signed zone available locally.
The typical chain of events is that the server first loads the zone from
storage and then listens to any incoming NOTIFY messages indicating that
the unsigned zone has changed. When the unsigned zone gets updated, its
signed counterpart also gets updated accordingly and the process repeats
itself. This works as expected.
However, if the secondary server receives a NOTIFY for an inline-signed
zone and manages to transfer the unsigned zone in *before* attempting to
load the previous version of the signed zone from storage, things will
break in a way which prevents the inline-signed zone from being served:
```
13-Oct-2020 15:38:01.994 client @0x7f41ac0012f8 10.53.0.2#60440: received notify for zone 'bits'
13-Oct-2020 15:38:01.994 zone bits/IN (unsigned): notify from 10.53.0.2#60440: no serial
13-Oct-2020 15:38:01.994 queue_soa_query: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.461 soa_query: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.464 refresh_callback: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.464 refresh_callback: zone bits/IN (unsigned): serial: new 2011072450, old not loaded
13-Oct-2020 15:38:02.464 queue_xfrin: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.464 zone bits/IN (unsigned): Transfer started.
13-Oct-2020 15:38:02.464 zone bits/IN (unsigned): no database exists yet, requesting AXFR of initial version from 10.53.0.2#32589
13-Oct-2020 15:38:02.464 transfer of 'bits/IN (unsigned)' from 10.53.0.2#32589: connected using 10.53.0.3#43661
13-Oct-2020 15:38:02.464 transfer of 'bits/IN (unsigned)' from 10.53.0.2#32589: sent request data
13-Oct-2020 15:38:02.467 transfer of 'bits/IN (unsigned)' from 10.53.0.2#32589: received 168 bytes
;bits. IN AXFR
bits. 0 IN SOA ns2.bits. . 2011072450 20 20 1814400 3600
bits. 300 IN NS ns3.bits.
added.bits. 0 IN A 1.2.3.4
ns2.bits. 300 IN A 10.53.0.2
ns3.bits. 300 IN A 10.53.0.3
bits. 0 IN SOA ns2.bits. . 2011072450 20 20 1814400 3600
13-Oct-2020 15:38:02.467 transfer of 'bits/IN (unsigned)' from 10.53.0.2#32589: got nonincremental response
13-Oct-2020 15:38:02.467 dns_zone_verifydb: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.467 zone bits/IN (unsigned): replacing zone database
13-Oct-2020 15:38:02.467 zone bits/IN (unsigned): zone transfer finished: success
13-Oct-2020 15:38:02.467 zone bits/IN (unsigned): transferred serial 2011072450
13-Oct-2020 15:38:02.467 zone_needdump: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.467 zone_settimer: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.467 zone_settimer: zone bits/IN (unsigned): enter
13-Oct-2020 15:38:02.467 transfer of 'bits/IN (unsigned)' from 10.53.0.2#32589: Transfer status: success
13-Oct-2020 15:38:02.467 transfer of 'bits/IN (unsigned)' from 10.53.0.2#32589: Transfer completed: 1 messages, 6 records, 168 bytes, 0.003 secs (56000 bytes/sec) (serial 2011072450)
13-Oct-2020 15:38:02.467 transfer of 'bits/IN (unsigned)' from 10.53.0.2#32589: freeing transfer context
13-Oct-2020 15:38:02.467 zone bits/IN (signed): number of nodes in database: 4
13-Oct-2020 15:38:02.467 zone bits/IN (signed): journal rollforward failed: journal out of sync with zone
13-Oct-2020 15:38:02.467 zone bits/IN (signed): not loaded due to errors.
13-Oct-2020 15:38:02.467 zone_postload: zone bits/IN (signed): done
13-Oct-2020 15:38:02.467 zone_needdump: zone bits/IN (signed): enter
13-Oct-2020 15:38:02.467 zone bits/IN (signed): receive_secure_db: out of range
```
The underlying cause is that in the broken case,
`lib/dns/journal.c:roll_forward()` retrieves the latest SOA serial
number for the zone from the AXFR rather than from the local copy of the
signed zone.
The time window during which this can happen is rather slim, so I do not
think it is a serious issue, but I decided to open a bug report anyway,
because things are certainly working suboptimally here - it seems to me
that `named` should be able to recover from such a sequence of events
just fine, serving the signed zone in the end.
This was found during [release testing for BIND 9.16.8][1]. I prepared
a crude patch which allows reliably triggering this issue in the
`inline` system test:
```diff
diff --git a/bin/tests/system/inline/tests.sh b/bin/tests/system/inline/tests.sh
index 7d7df7487f4..430f6fcbb77 100755
--- a/bin/tests/system/inline/tests.sh
+++ b/bin/tests/system/inline/tests.sh
@@ -475,7 +475,9 @@ status=`expr $status + $ret`
n=`expr $n + 1`
echo_i "restart bump in the wire signer server ($n)"
ret=0
+export SKIPLOAD="bits"
start_server --noclean --restart --port ${PORT} inline ns3 || ret=1
+unset SKIPLOAD
if [ $ret != 0 ]; then echo_i "failed"; fi
status=`expr $status + $ret`
diff --git a/lib/dns/zone.c b/lib/dns/zone.c
index b8cd90b129a..57bb239c9d5 100644
--- a/lib/dns/zone.c
+++ b/lib/dns/zone.c
@@ -1995,6 +1995,16 @@ zone_load(dns_zone_t *zone, unsigned int flags, bool locked) {
REQUIRE(DNS_ZONE_VALID(zone));
+ {
+ char origin[DNS_NAME_FORMATSIZE];
+ char *skipload = getenv("SKIPLOAD");
+
+ dns_name_format(&zone->origin, origin, sizeof(origin));
+ if (skipload != NULL && !strcmp(skipload, origin)) {
+ return (ISC_R_SUCCESS);
+ }
+ }
+
if (!locked) {
LOCK_ZONE(zone);
}
```
Applying the above patch should result in:
```
I:inline:stop bump in the wire signer server (29)
I:inline:restart bump in the wire signer server (30)
I:inline:checking YYYYMMDDVV (2011072450) serial on hidden primary (31)
I:inline:checking YYYYMMDDVV (2011072450) serial in signed zone (32)
I:inline:failed
I:inline:checking YYYYMMDDVV (2011072450) serial on hidden primary, noixfr (33)
I:inline:checking YYYYMMDDVV (2011072450) serial in signed zone, noixfr (34)
```
and log lines similar to the ones quoted above appearing in
`ns3/named.run`.
AFAICT, all maintained branches are affected.
[1]: https://wiki.isc.org/bin/view/QA/BindQaResults_9_11_24#9.16.8Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2049Compiler warnings identified by Intel C++ Compiler2022-03-01T09:43:08ZMichal NowakCompiler warnings identified by Intel C++ CompilerI successfully build BIND `main` (a14445d472e6287a3bbf7208cb2c7cdba0704be4) with Intel C++ Compiler (`icc (ICC) 19.1.2.254 20200623`), though there were warnings along the way, one unit test failed, and many system test failed (the root ...I successfully build BIND `main` (a14445d472e6287a3bbf7208cb2c7cdba0704be4) with Intel C++ Compiler (`icc (ICC) 19.1.2.254 20200623`), though there were warnings along the way, one unit test failed, and many system test failed (the root cause seems in all these crashes seems to be the same, see below).
Also, there are a lot of optimization "remarks" like:
```
CCLD named-rrchecker
remark #11074: Inlining inhibited by limit max-size
```
One such file: [named-rrchecker.optrpt](/uploads/585ef97dfba19a948aa2be1669aa5d01/named-rrchecker.optrpt).
-----------------
**Warnings**
```
CC unix/libisc_la-net.lo
unix/net.c(535): warning #3179: deprecated conversion of string literal to char* (should be const char*)
typestr = (type == IP_TOS) ? "IP_TOS" : "IPV6_TCLASS";
^
--
CC unix/libisc_la-resource.lo
unix/resource.c(132): warning #188: enumerated type mixed with another type
unixresult = setrlimit(unixresource, &rl);
^
unix/resource.c(163): warning #188: enumerated type mixed with another type
unixresult = setrlimit(unixresource, &rl);
^
unix/resource.c(170): warning #188: enumerated type mixed with another type
if (getrlimit(unixresource, &rl) == 0) {
^
unix/resource.c(172): warning #188: enumerated type mixed with another type
unixresult = setrlimit(unixresource, &rl);
^
unix/resource.c(192): warning #188: enumerated type mixed with another type
if (getrlimit(unixresource, &rl) != 0) {
^
unix/resource.c(211): warning #188: enumerated type mixed with another type
if (getrlimit(unixresource, &rl) != 0) {
^
--
CC unix/libisc_la-socket.lo
unix/socket.c(1094): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_TRUNC;
^
unix/socket.c(1100): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_CTRUNC;
^
unix/socket.c(1125): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_PKTINFO;
^
unix/socket.c(1130): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_MULTICAST;
^
unix/socket.c(1143): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_TIMESTAMP;
^
unix/socket.c(1153): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_DSCP;
^
unix/socket.c(1168): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_DSCP;
^
unix/socket.c(1441): warning #188: enumerated type mixed with another type
ev->attributes = 0;
^
unix/socket.c(3944): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_ATTACHED;
^
unix/socket.c(3935): warning #589: transfer of control bypasses initialization of:
variable "do_poke" (declared at line 3955)
switch (io_state) {
--
unix/socket.c(4024): warning #188: enumerated type mixed with another type
event->attributes = 0;
^
unix/socket.c(4055): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_PKTINFO;
^
unix/socket.c(4095): warning #188: enumerated type mixed with another type
dev->attributes |= ISC_SOCKEVENTATTR_ATTACHED;
^
unix/socket.c(4199): warning #188: enumerated type mixed with another type
event->attributes &= ~ISC_SOCKEVENTATTR_ATTACHED;
^
--
CC libisc_la-task.lo
task.c(1559): warning #188: enumerated type mixed with another type
return (atomic_load(&manager->mode));
^
--
CC libdns_la-dispatch.lo
dispatch.c(749): warning #188: enumerated type mixed with another type
bindoptions = 0;
^
dispatch.c(753): warning #188: enumerated type mixed with another type
bindoptions |= ISC_SOCKET_REUSEADDRESS;
^
dispatch.c(990): warning #188: enumerated type mixed with another type
ev->attributes = 0;
^
dispatch.c(1747): warning #188: enumerated type mixed with another type
result = isc_socket_bind(sock, local, options);
^
--
CC libdns_la-dst_api.lo
dst_api.c(1940): warning #188: enumerated type mixed with another type
dst_key_state_t value = 0;
^
--
CC libdns_la-rbtdb.lo
rbtdb.c(1365): warning #188: enumerated type mixed with another type
version->hash = 0;
^
rbtdb.c(8715): warning #188: enumerated type mixed with another type
rbtdb->current_version->hash = 0;
^
--
from rdata.c(553):
rdata/generic/nsec3_50.c(300): warning #188: enumerated type mixed with another type
nsec3->hash = uint8_consume_fromregion(®ion);
^
--
from rdata.c(553):
rdata/generic/nsec3param_51.c(236): warning #188: enumerated type mixed with another type
nsec3param->hash = uint8_consume_fromregion(®ion);
^
--
from rdata.c(553):
rdata/generic/amtrelay_260.c(156): warning #3179: deprecated conversion of string literal to char* (should be const char*)
space = (gateway != 0U) ? " " : "";
^
--
CC libdns_la-request.lo
request.c(159): warning #592: variable "sock" is used before its value is set
UNUSED(sock);
^
request.c(440): warning #188: enumerated type mixed with another type
sendevent->attributes &= ~ISC_SOCKEVENTATTR_DSCP;
^
request.c(443): warning #188: enumerated type mixed with another type
sendevent->attributes |= ISC_SOCKEVENTATTR_DSCP;
^
request.c(564): warning #188: enumerated type mixed with another type
result = isc_socket_bind(sock, &bind_any, 0);
^
request.c(568): warning #188: enumerated type mixed with another type
result = isc_socket_bind(sock, &src, 0);
^
--
CC libdns_la-resolver.lo
resolver.c(1233): warning #188: enumerated type mixed with another type
query->attributes |= RESQUERY_ATTR_CANCELED;
^
resolver.c(2016): warning #188: enumerated type mixed with another type
query->attributes = 0;
^
resolver.c(2098): warning #188: enumerated type mixed with another type
result = isc_socket_bind(query->tcpsocket, &addr, 0);
^
resolver.c(2387): warning #1292: unknown attribute "nonstring"
uint8_t buf[16] ISC_NONSTRING = { 0 };
^
resolver.c(2390): warning #1292: unknown attribute "nonstring"
uint8_t digest[ISC_SIPHASH24_TAG_LENGTH] ISC_NONSTRING = { 0 };
^
resolver.c(2913): warning #188: enumerated type mixed with another type
query->sendevent.attributes &= ~ISC_SOCKEVENTATTR_DSCP;
^
resolver.c(2916): warning #188: enumerated type mixed with another type
query->sendevent.attributes |= ISC_SOCKEVENTATTR_DSCP;
^
resolver.c(9669): warning #3179: deprecated conversion of string literal to char* (should be const char*)
FCTXTRACE4("query canceled in response(); ",
^
--
CC libdns_la-rrl.lo
rrl.c(496): warning #188: enumerated type mixed with another type
ratep = get_rate(rrl, e->key.s.rtype);
^
rrl.c(642): warning #188: enumerated type mixed with another type
ratep = get_rate(rrl, e->key.s.rtype);
^
rrl.c(1116): warning #188: enumerated type mixed with another type
return (ISC_R_SUCCESS);
^
--
CC libdns_la-zone.lo
zone.c(5814): warning #188: enumerated type mixed with another type
return (atomic_load_relaxed(&zone->options));
^
zone.c(20704): warning #188: enumerated type mixed with another type
param.hash = hash;
^
--
CC libdns_la-zoneverify.lo
zoneverify.c(1977): warning #3179: deprecated conversion of string literal to char* (should be const char*)
const char *keydesc = (secroots == NULL ? "self-signed" : "trusted");
^
--
CC libns_la-client.lo
client.c(1076): warning #1292: unknown attribute "nonstring"
unsigned char digest[ISC_MAX_MD_SIZE] ISC_NONSTRING = { 0 };
^
client.c(1089): warning #1292: unknown attribute "nonstring"
unsigned char input[16 + 16] ISC_NONSTRING = { 0 };
^
client.c(1124): warning #1292: unknown attribute "nonstring"
unsigned char input[4 + 4 + 16] ISC_NONSTRING = { 0 };
^
--
CC libns_la-query.lo
query.c(1211): warning #3179: deprecated conversion of string literal to char* (should be const char*)
str_blank = (*str != ' ' && *str != '\0') ? " " : "";
^
query.c(4574): warning #188: enumerated type mixed with another type
hash = 1;
^
--
CC libbind9_la-check.lo
check.c(1596): warning #188: enumerated type mixed with another type
enum { MAS = 1, PRI = 2, SLA = 4, SCN = 8 } values = 0;
^
check.c(1612): warning #188: enumerated type mixed with another type
values |= PRI;
^
check.c(1622): warning #188: enumerated type mixed with another type
values |= MAS;
^
check.c(1632): warning #188: enumerated type mixed with another type
values |= SCN;
^
check.c(1642): warning #188: enumerated type mixed with another type
values |= SLA;
^
--
CC server.o
server.c(3730): warning #188: enumerated type mixed with another type
fstrm_iothr_options_set_queue_model(fopt, i);
^
server.c(11139): warning #3179: deprecated conversion of string literal to char* (should be const char*)
sep = (ptr == NULL) ? "" : ": ";
^
--
CC statschannel.o
statschannel.c(115): warning #188: enumerated type mixed with another type
{ 0, NULL } };
^
--
CC dighost.lo
dighost.c(2831): warning #188: enumerated type mixed with another type
result = isc_socket_bind(query->sock, &bind_any, 0);
^
dighost.c(2934): warning #188: enumerated type mixed with another type
result = isc_socket_bind(query->sock, &bind_any, 0);
^
--
CC named-checkconf.o
named-checkconf.c(201): warning #188: enumerated type mixed with another type
zone_options = DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_MANYERRORS;
^
named-checkconf.c(299): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
^
named-checkconf.c(300): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
^
named-checkconf.c(302): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
^
named-checkconf.c(303): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKDUPRRFAIL;
^
named-checkconf.c(305): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKDUPRR;
^
named-checkconf.c(306): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
^
named-checkconf.c(312): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
^
named-checkconf.c(313): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
^
named-checkconf.c(319): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKMX;
^
named-checkconf.c(320): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
^
named-checkconf.c(322): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKMX;
^
named-checkconf.c(323): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKMXFAIL;
^
named-checkconf.c(325): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKMX;
^
named-checkconf.c(326): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
^
named-checkconf.c(332): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKMX;
^
named-checkconf.c(333): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
^
named-checkconf.c(339): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
^
named-checkconf.c(341): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
^
named-checkconf.c(344): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
^
named-checkconf.c(350): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
^
named-checkconf.c(351): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
^
named-checkconf.c(353): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_WARNMXCNAME;
^
named-checkconf.c(354): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
^
named-checkconf.c(356): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
^
named-checkconf.c(357): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_IGNOREMXCNAME;
^
named-checkconf.c(363): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
^
named-checkconf.c(364): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
^
named-checkconf.c(370): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
^
named-checkconf.c(371): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
^
named-checkconf.c(373): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_WARNSRVCNAME;
^
named-checkconf.c(374): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
^
named-checkconf.c(376): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
^
named-checkconf.c(377): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_IGNORESRVCNAME;
^
named-checkconf.c(383): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
^
named-checkconf.c(384): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
^
named-checkconf.c(390): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKSIBLING;
^
named-checkconf.c(392): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
^
named-checkconf.c(399): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKSPF;
^
named-checkconf.c(401): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKSPF;
^
named-checkconf.c(407): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKSPF;
^
named-checkconf.c(413): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNAMES;
^
named-checkconf.c(414): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKNAMESFAIL;
^
named-checkconf.c(416): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNAMES;
^
named-checkconf.c(417): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNAMESFAIL;
^
named-checkconf.c(419): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKNAMES;
^
named-checkconf.c(420): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKNAMESFAIL;
^
named-checkconf.c(426): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNAMES;
^
named-checkconf.c(427): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNAMESFAIL;
^
named-checkconf.c(449): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKTTL;
^
--
CC check-tool.lo
check-tool.c(93): warning #188: enumerated type mixed with another type
dns_zoneopt_t zone_options = DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_CHECKMX |
^
check-tool.c(760): warning #3179: deprecated conversion of string literal to char* (should be const char*)
flags = (fileformat == dns_masterformat_text) ? "w" : "wb";
^
--
CC named-checkzone.o
named-checkzone.c(155): warning #188: enumerated type mixed with another type
zone_options |= (DNS_ZONEOPT_CHECKNS | DNS_ZONEOPT_FATALNS |
^
named-checkzone.c(161): warning #188: enumerated type mixed with another type
zone_options |= (DNS_ZONEOPT_CHECKDUPRR | DNS_ZONEOPT_CHECKSPF);
^
named-checkzone.c(183): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY |
^
named-checkzone.c(189): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
^
named-checkzone.c(190): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
^
named-checkzone.c(195): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
^
named-checkzone.c(196): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKSIBLING;
^
named-checkzone.c(201): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKINTEGRITY;
^
named-checkzone.c(202): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
^
named-checkzone.c(207): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKINTEGRITY;
^
named-checkzone.c(208): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKSIBLING;
^
named-checkzone.c(238): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNAMES;
^
named-checkzone.c(239): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKNAMESFAIL;
^
named-checkzone.c(241): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNAMES |
^
named-checkzone.c(244): warning #188: enumerated type mixed with another type
zone_options &= ~(DNS_ZONEOPT_CHECKNAMES |
^
named-checkzone.c(265): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKTTL;
^
named-checkzone.c(277): warning #188: enumerated type mixed with another type
zone_options &= ~(DNS_ZONEOPT_CHECKNS |
^
named-checkzone.c(280): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNS;
^
named-checkzone.c(281): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_FATALNS;
^
named-checkzone.c(283): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKNS |
^
named-checkzone.c(294): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKMX;
^
named-checkzone.c(295): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKMXFAIL;
^
named-checkzone.c(297): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKMX |
^
named-checkzone.c(300): warning #188: enumerated type mixed with another type
zone_options &= ~(DNS_ZONEOPT_CHECKMX |
^
named-checkzone.c(319): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKDUPRR;
^
named-checkzone.c(320): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKDUPRRFAIL;
^
named-checkzone.c(322): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKDUPRR |
^
named-checkzone.c(325): warning #188: enumerated type mixed with another type
zone_options &= ~(DNS_ZONEOPT_CHECKDUPRR |
^
named-checkzone.c(371): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_WARNMXCNAME;
^
named-checkzone.c(372): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
^
named-checkzone.c(374): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
^
named-checkzone.c(375): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNOREMXCNAME;
^
named-checkzone.c(377): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNMXCNAME;
^
named-checkzone.c(378): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_IGNOREMXCNAME;
^
named-checkzone.c(388): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_WARNSRVCNAME;
^
named-checkzone.c(389): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
^
named-checkzone.c(391): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
^
named-checkzone.c(392): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_IGNORESRVCNAME;
^
named-checkzone.c(394): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_WARNSRVCNAME;
^
named-checkzone.c(395): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_IGNORESRVCNAME;
^
named-checkzone.c(405): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKSPF;
^
named-checkzone.c(407): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKSPF;
^
named-checkzone.c(417): warning #188: enumerated type mixed with another type
zone_options |= DNS_ZONEOPT_CHECKWILDCARD;
^
named-checkzone.c(419): warning #188: enumerated type mixed with another type
zone_options &= ~DNS_ZONEOPT_CHECKWILDCARD;
^
--
CC tsig-keygen.o
tsig-keygen.c(228): warning #3179: deprecated conversion of string literal to char* (should be const char*)
: CONFGEN_DEFAULT);
^
```
Check:
```
CC socket_test.o
socket_test.c(192): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s1, &addr1, 0);
^
socket_test.c(200): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s2, &addr2, 0);
^
socket_test.c(250): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s1, &addr1, 0);
^
socket_test.c(258): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s2, &addr2, 0);
^
socket_test.c(363): warning #188: enumerated type mixed with another type
socketevent->attributes |= ISC_SOCKEVENTATTR_DSCP;
^
socket_test.c(367): warning #188: enumerated type mixed with another type
socketevent->attributes &= ~ISC_SOCKEVENTATTR_DSCP;
^
socket_test.c(420): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s1, &addr1, 0);
^
socket_test.c(429): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s2, &addr2, 0);
^
socket_test.c(500): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s1, &addr1, 0);
^
socket_test.c(587): warning #188: enumerated type mixed with another type
result = isc_socket_bind(s1, &addr1, 0);
^
--
CC dispatch_test.o
dispatch_test.c(291): warning #188: enumerated type mixed with another type
result = isc_socket_bind(sock, &local, 0);
^
--
CC private_test.o
private_test.c(119): warning #188: enumerated type mixed with another type
params.hash = testcase->hash;
^
CC sigs_test.o
sigs_test.c(329): warning #188: enumerated type mixed with another type
ZONECHANGE_SENTINEL,
^
sigs_test.c(336): warning #188: enumerated type mixed with another type
ZONEDIFF_SENTINEL,
^
sigs_test.c(347): warning #188: enumerated type mixed with another type
ZONECHANGE_SENTINEL,
^
sigs_test.c(354): warning #188: enumerated type mixed with another type
ZONEDIFF_SENTINEL,
^
sigs_test.c(365): warning #188: enumerated type mixed with another type
ZONECHANGE_SENTINEL,
^
sigs_test.c(372): warning #188: enumerated type mixed with another type
ZONEDIFF_SENTINEL,
^
sigs_test.c(382): warning #188: enumerated type mixed with another type
ZONECHANGE_SENTINEL,
^
sigs_test.c(387): warning #188: enumerated type mixed with another type
ZONEDIFF_SENTINEL,
^
sigs_test.c(400): warning #188: enumerated type mixed with another type
ZONECHANGE_SENTINEL,
^
sigs_test.c(410): warning #188: enumerated type mixed with another type
ZONEDIFF_SENTINEL,
^
--
CC dnstap_test-dnstap_test.o
dnstap_test.c(123): warning #188: enumerated type mixed with another type
result = dns_dt_create(dt_mctx, 33, TAPSOCK, &fopt, NULL, &dtenv);
^
--
CC zt_test.o
zt_test.c(201): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
args.arg2 = &done;
^
zt_test.c(223): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
args.arg2 = &done;
^
zt_test.c(240): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
args.arg2 = &done;
^
zt_test.c(316): warning #2332: a value of type "atomic_bool={_Atomic(_Bool)} *" cannot be assigned to an entity of type "void *" (dropping qualifiers)
args.arg2 = &done;
^
--
CC nstest.lo
nstest.c(97): warning #188: enumerated type mixed with another type
client->state = 4;
^
--
```
`ns_listenlist_default_test` and a lot of system tests fail with:
```
[ RUN ] ns_listenlist_default_test
netmgr/netmgr.c:694: REQUIRE(target != ((void*)0) && *target == ((void*)0)) failed, back trace
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(+0x2ec7d) [0x7fc5ec0ffc7d]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc_assertion_failed+0x7) [0x7fc5ec0ffd45]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc__nmsocket_attach+0x56) [0x7fc5ec0ea61c]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc__nm_tcp_stoplistening+0x52) [0x7fc5ec0edb0c]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc__nm_tcpdns_stoplistening+0x63) [0x7fc5ec0eea38]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(isc_nm_stoplistening+0x6e) [0x7fc5ec0eb674]
/home/newman/isc/ws/bind9/lib/ns/.libs/libns.so.1703(ns_interface_shutdown+0x33) [0x7fc5ebea5c2d]
/home/newman/isc/ws/bind9/lib/ns/.libs/libns.so.1703(+0x15925) [0x7fc5ebea5925]
/home/newman/isc/ws/bind9/lib/ns/tests/.libs/lt-listenlist_test() [0x403d69]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(+0x49793) [0x7fc5ec11a793]
/home/newman/isc/ws/bind9/lib/isc/.libs/libisc.so.1703(+0x49249) [0x7fc5ec11a249]
/lib64/libpthread.so.0(+0x9432) [0x7fc5eb6b2432]
/lib64/libc.so.6(clone+0x43) [0x7fc5eb5e0913]
./../../unit-test-driver.sh: line 13: 528599 Aborted (core dumped) "${TEST_PROGRAM}"
```Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/2048Compiler warnings identified by Oracle Developer Studio2023-11-02T16:26:05ZMichal NowakCompiler warnings identified by Oracle Developer StudioI compiled BIND `main` (a14445d472e6287a3bbf7208cb2c7cdba0704be4) with [Oracle Developer Studio](https://www.oracle.com/application-development/technologies/developerstudio.html) 12.6 (`Studio 12.6 Sun C 5.15 Linux_i386 2017/05/30`) on F...I compiled BIND `main` (a14445d472e6287a3bbf7208cb2c7cdba0704be4) with [Oracle Developer Studio](https://www.oracle.com/application-development/technologies/developerstudio.html) 12.6 (`Studio 12.6 Sun C 5.15 Linux_i386 2017/05/30`) on Fedora 32 and it produced a bunch of warnings and few errors.
Compilation commands:
```
autoreconf -fi && CC=/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc CFLAGS="-O1 -g -Wall -Wextra" ./configure --disable-maintainer-mode --with-libtool --disable-static --with-cmocka --with-libxml2 --with-json-c --prefix=$HOME/.local --without-make-clean --with-python=python3 --enable-dnstap --with-libidn2 && make -j12 V=1
```
I disabled following GCC options for the Studio output to be cleaner as they produces a lot of warnings:
```
cc: Warning: Option -fno-delete-null-pointer-checks passed to ld, if ld is invoked, ignored otherwise
cc: Warning: Option -fdiagnostics-show-option passed to ld, if ld is invoked, ignored otherwise
"/usr/include/features.h", line 397: #warning: _FORTIFY_SOURCE requires compiling with optimization (-O)
```
```patch
diff --git a/configure.ac b/configure.ac
index a32fb68f18..5d7f93d8f9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,7 +137,7 @@ STD_CFLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missi
STD_CFLAGS="$STD_CFLAGS -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes"
# Fortify the sources by default
-STD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
+#STD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
#
# Additional compiler settings.
@@ -145,10 +145,10 @@ STD_CPPFLAGS="-D_FORTIFY_SOURCE=2"
AX_CHECK_COMPILE_FLAG([-fno-strict-aliasing],
[STD_CFLAGS="$STD_CFLAGS -fno-strict-aliasing"])
# Clang only issues a warning so use -Werror to force a error.
-AX_CHECK_COMPILE_FLAG([-Werror -fno-delete-null-pointer-checks],
- [STD_CFLAGS="$STD_CFLAGS -fno-delete-null-pointer-checks"])
-AX_CHECK_COMPILE_FLAG([-fdiagnostics-show-option],
- [STD_CFLAGS="$STD_CFLAGS -fdiagnostics-show-option"])
+#AX_CHECK_COMPILE_FLAG([-Werror -fno-delete-null-pointer-checks],
+# [STD_CFLAGS="$STD_CFLAGS -fno-delete-null-pointer-checks"])
+#AX_CHECK_COMPILE_FLAG([-fdiagnostics-show-option],
+# [STD_CFLAGS="$STD_CFLAGS -fdiagnostics-show-option"])
#
# Change defaults for developers if not explicity set.
```
I had to manually undef `HAVE_BUILTIN_EXPECT` via `sed -i -e '/HAVE_BUILTIN_EXPECT/s/.*/#undef HAVE_BUILTIN_EXPECT/' config.h`, otherwise I get a lot of lines like this: `"radix.c", line 78: internal compiler error: __builtin_expect undefined`:
```
checking compiler support for __builtin_unreachable()... no
checking compiler support for __builtin_expect... yes
checking compiler support for __builtin_clz... no
```
Studio's `acomp` binary (a preprocessor) crashes on some input files (this may be fixed in Studio production patches we don't have access to):
```
/bin/sh ../../libtool --tag=CC --mode=compile /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o libdns_la-peer.lo `test -f 'peer.c' || echo './'`peer.c
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c peer.c -KPIC -DPIC -o .libs/libdns_la-peer.o
cc: Fatal error in /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/lib/compilers/bin/acomp : Signal number = 139
```
Full list of warnings and errors detected:
```
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c pk11.c -KPIC -DPIC -o .libs/libisc_la-pk11.o
"pk11.c", line 881: warning: statement not reached
"pk11.c", line 885: warning: statement not reached
"pk11.c", line 909: warning: statement not reached
"pk11.c", line 915: warning: statement not reached
"pk11.c", line 919: warning: statement not reached
"pk11.c", line 984: warning: statement not reached
"pk11.c", line 990: warning: statement not reached
"pk11.c", line 994: warning: statement not reached
"pk11.c", line 1010: warning: statement not reached
"pk11.c", line 1019: warning: statement not reached
"pk11.c", line 1026: warning: statement not reached
"pk11.c", line 1039: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c md.c -KPIC -DPIC -o .libs/libisc_la-md.o
"md.c", line 168: warning: syntax error: empty declaration
"md.c", line 169: warning: syntax error: empty declaration
"md.c", line 170: warning: syntax error: empty declaration
"md.c", line 171: warning: syntax error: empty declaration
"md.c", line 172: warning: syntax error: empty declaration
"md.c", line 173: warning: syntax error: empty declaration
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c unix/socket.c -KPIC -DPIC -o unix/.libs/libisc_la-socket.o
"unix/socket.c", line 4755: warning: statement not reached
"unix/socket.c", line 4756: warning: statement not reached
"unix/socket.c", line 4757: warning: statement not reached
"unix/socket.c", line 4758: warning: statement not reached
"unix/socket.c", line 4759: warning: statement not reached
"unix/socket.c", line 4761: warning: statement not reached
"unix/socket.c", line 4763: warning: statement not reached
"unix/socket.c", line 4764: warning: statement not reached
"unix/socket.c", line 4765: warning: statement not reached
"unix/socket.c", line 4766: warning: statement not reached
"unix/socket.c", line 4767: warning: statement not reached
"unix/socket.c", line 4768: warning: statement not reached
"unix/socket.c", line 4772: warning: statement not reached
"unix/socket.c", line 4900: warning: statement not reached
"unix/socket.c", line 4901: warning: statement not reached
"unix/socket.c", line 4902: warning: statement not reached
"unix/socket.c", line 4903: warning: statement not reached
"unix/socket.c", line 4904: warning: statement not reached
"unix/socket.c", line 4906: warning: statement not reached
"unix/socket.c", line 4908: warning: statement not reached
"unix/socket.c", line 4909: warning: statement not reached
"unix/socket.c", line 4910: warning: statement not reached
"unix/socket.c", line 4911: warning: statement not reached
"unix/socket.c", line 4912: warning: statement not reached
"unix/socket.c", line 4913: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c pthreads/thread.c -KPIC -DPIC -o pthreads/.libs/libisc_la-thread.o
"pthreads/thread.c", line 61: warning: statement not reached
"pthreads/thread.c", line 67: warning: statement not reached
"pthreads/thread.c", line 75: warning: statement not reached
"pthreads/thread.c", line 87: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c dst_api.c -KPIC -DPIC -o .libs/libdns_la-dst_api.o
"dst_api.c", line 1550: warning: statement not reached
"dst_api.c", line 1557: warning: statement not reached
"dst_api.c", line 1573: warning: statement not reached
"dst_api.c", line 1583: warning: statement not reached
"dst_api.c", line 1592: warning: statement not reached
"dst_api.c", line 1600: warning: statement not reached
"dst_api.c", line 1706: warning: statement not reached
"dst_api.c", line 1713: warning: statement not reached
"dst_api.c", line 1725: warning: statement not reached
"dst_api.c", line 1732: warning: statement not reached
"dst_api.c", line 1748: warning: statement not reached
"dst_api.c", line 1758: warning: statement not reached
"dst_api.c", line 1772: warning: statement not reached
"dst_api.c", line 1780: warning: statement not reached
"dst_api.c", line 1794: warning: statement not reached
"dst_api.c", line 1815: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c hmac_link.c -KPIC -DPIC -o .libs/libdns_la-hmac_link.o
"hmac_link.c", line 511: warning: syntax error: empty declaration
"hmac_link.c", line 512: warning: syntax error: empty declaration
"hmac_link.c", line 513: warning: syntax error: empty declaration
"hmac_link.c", line 514: warning: syntax error: empty declaration
"hmac_link.c", line 515: warning: syntax error: empty declaration
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c openssldh_link.c -KPIC -DPIC -o .libs/libdns_la-openssldh_link.o
"openssldh_link.c", line 678: warning: statement not reached
"openssldh_link.c", line 683: warning: statement not reached
"openssldh_link.c", line 693: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../../../../.. -include ../../../../../config.h -I./include -I../../../../../include -I../../../../../lib/isc/unix/include -I../../../../../lib/isc/pthreads/include -I../../../../../lib/isc/include -I../../../../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../../../../lib/dns/include -I../../../../../lib/dns/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c zone.c -KPIC -DPIC -o .libs/zone.o
"zone.c", line 127: warning: end-of-loop code not reached
"zone.c", line 137: warning: end-of-loop code not reached
"zone.c", line 145: warning: end-of-loop code not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../../../../.. -include ../../../../../config.h -I./include -I../../../../../include -I../../../../../lib/isc/unix/include -I../../../../../lib/isc/pthreads/include -I../../../../../lib/isc/include -I../../../../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../../../../lib/dns/include -I../../../../../lib/dns/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c syncptr.c -KPIC -DPIC -o .libs/syncptr.o
"syncptr.c", line 134: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../../../../.. -include ../../../../../config.h -I./include -I../../../../../include -I../../../../../lib/isc/unix/include -I../../../../../lib/isc/pthreads/include -I../../../../../lib/isc/include -I../../../../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../../../../lib/dns/include -I../../../../../lib/dns/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c db.c -KPIC -DPIC -o .libs/db.o
"db.c", line 112: warning: statement not reached
"db.c", line 128: warning: statement not reached
"db.c", line 151: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DRNDC_KEYFILE=\"/home/newman/.local/etc/rndc.key\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o rndc-confgen.o rndc-confgen.c
"rndc-confgen.c", line 174: warning: statement not reached
"rndc-confgen.c", line 200: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DRNDC_KEYFILE=\"/home/newman/.local/etc/rndc.key\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o tsig-keygen.o tsig-keygen.c
"tsig-keygen.c", line 174: warning: statement not reached
"tsig-keygen.c", line 197: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/isccfg/include -I../../lib/irs/include -I../../lib/bind9/include -DSESSION_KEYFILE=\"/home/newman/.local/var/run/named/session.key\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o nsupdate.o nsupdate.c
"nsupdate.c", line 1234: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/bind9/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o mdig-mdig.o `test -f 'mdig.c' || echo './'`mdig.c
"mdig.c", line 1691: warning: statement not reached
"mdig.c", line 1702: warning: statement not reached
"mdig.c", line 1708: warning: statement not reached
"mdig.c", line 1720: warning: statement not reached
"mdig.c", line 1810: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DNAMED_CONFFILE=\"/home/newman/.local/etc/named.conf\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o dnssec-signzone.o dnssec-signzone.c
"dnssec-signzone.c", line 463: warning: statement not reached
"dnssec-signzone.c", line 3487: warning: statement not reached
"dnssec-signzone.c", line 3529: warning: statement not reached
"dnssec-signzone.c", line 3541: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DNAMED_CONFFILE=\"/home/newman/.local/etc/named.conf\" -I../../lib/isccfg/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o dnssec_keygen-dnssec-keygen.o `test -f 'dnssec-keygen.c' || echo './'`dnssec-keygen.c
"dnssec-keygen.c", line 1017: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DNAMED_CONFFILE=\"/home/newman/.local/etc/named.conf\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o dnssec-keyfromlabel.o dnssec-keyfromlabel.c
"dnssec-keyfromlabel.c", line 645: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DNAMED_CONFFILE=\"/home/newman/.local/etc/named.conf\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o dnssec-dsfromkey.o dnssec-dsfromkey.c
"dnssec-dsfromkey.c", line 424: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DNAMED_CONFFILE=\"/home/newman/.local/etc/named.conf\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c dnssectool.c -KPIC -DPIC -o .libs/dnssectool.o
"dnssectool.c", line 222: warning: statement not reached
"dnssectool.c", line 240: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -DNAMED_CONFFILE=\"/home/newman/.local/etc/named.conf\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o dnssec-cds.o dnssec-cds.c
"dnssec-cds.c", line 1122: warning: statement not reached
"dnssec-cds.c", line 1131: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/isccfg/include -I../../lib/irs/include -I../../lib/bind9/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o host.o host.c
"host.c", line 665: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/isccfg/include -I../../lib/irs/include -I../../lib/bind9/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o dig.o dig.c
"dig.c", line 1889: warning: statement not reached
"dig.c", line 1899: warning: statement not reached
"dig.c", line 1916: warning: statement not reached
"dig.c", line 1936: warning: statement not reached
"dig.c", line 2150: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/isccfg/include -I../../lib/isccc/include/ -I../../lib/bind9/include -DRNDC_CONFFILE=\"/home/newman/.local/etc/rndc.conf\" -DRNDC_KEYFILE=\"/home/newman/.local/etc/rndc.key\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o rndc.o rndc.c
"rndc.c", line 980: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I./unix/include -I../../include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/ns/include -I../../lib/isccc/include/ -I../../lib/isccfg/include -I../../lib/bind9/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -DNAMED_LOCALSTATEDIR=\"/home/newman/.local/var\" -DNAMED_SYSCONFDIR=\"/home/newman/.local/etc\" -DMAXMINDDB_PREFIX=\"/usr\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o unix/os.o unix/os.c
"unix/os.c", line 193: warning: statement not reached
"unix/os.c", line 226: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I./unix/include -I../../include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/ns/include -I../../lib/isccc/include/ -I../../lib/isccfg/include -I../../lib/bind9/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -DNAMED_LOCALSTATEDIR=\"/home/newman/.local/var\" -DNAMED_SYSCONFDIR=\"/home/newman/.local/etc\" -DMAXMINDDB_PREFIX=\"/usr\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o server.o server.c
"server.c", line 830: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I./unix/include -I../../include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/ns/include -I../../lib/isccc/include/ -I../../lib/isccfg/include -I../../lib/bind9/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -DNAMED_LOCALSTATEDIR=\"/home/newman/.local/var\" -DNAMED_SYSCONFDIR=\"/home/newman/.local/etc\" -DMAXMINDDB_PREFIX=\"/usr\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o main.o main.c
"/usr/include/maxminddb.h", line 92: syntax error before or at: mmdb_uint128_t
"/usr/include/maxminddb.h", line 122: syntax error before or at: mmdb_uint128_t
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/irs/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o nsprobe.o nsprobe.c
"nsprobe.c", line 1074: warning: statement not reached
"nsprobe.c", line 1080: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/isccfg/include -I../../lib/ns/include -I../../lib/bind9/include -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c check.c -KPIC -DPIC -o .libs/libbind9_la-check.o
"check.c", line 497: warning: const object should have initializer: zeros
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c opensslrsa_link.c -KPIC -DPIC -o .libs/libdns_la-opensslrsa_link.o
"opensslrsa_link.c", line 595: warning: statement not reached
"opensslrsa_link.c", line 601: warning: statement not reached
"opensslrsa_link.c", line 609: warning: statement not reached
"opensslrsa_link.c", line 892: warning: statement not reached
"opensslrsa_link.c", line 895: warning: statement not reached
"opensslrsa_link.c", line 929: warning: statement not reached
"opensslrsa_link.c", line 933: warning: statement not reached
"opensslrsa_link.c", line 939: warning: statement not reached
"opensslrsa_link.c", line 945: warning: statement not reached
"opensslrsa_link.c", line 948: warning: statement not reached
"opensslrsa_link.c", line 952: warning: statement not reached
"opensslrsa_link.c", line 970: warning: statement not reached
"opensslrsa_link.c", line 975: warning: statement not reached
"opensslrsa_link.c", line 978: warning: statement not reached
"opensslrsa_link.c", line 993: warning: statement not reached
"opensslrsa_link.c", line 1058: warning: statement not reached
"opensslrsa_link.c", line 1061: warning: statement not reached
"opensslrsa_link.c", line 1100: warning: statement not reached
"opensslrsa_link.c", line 1104: warning: statement not reached
"opensslrsa_link.c", line 1111: warning: statement not reached
"opensslrsa_link.c", line 1117: warning: statement not reached
"opensslrsa_link.c", line 1123: warning: statement not reached
"opensslrsa_link.c", line 1126: warning: statement not reached
"opensslrsa_link.c", line 1130: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c openssleddsa_link.c -KPIC -DPIC -o .libs/libdns_la-openssleddsa_link.o
"openssleddsa_link.c", line 182: warning: statement not reached
"openssleddsa_link.c", line 189: warning: statement not reached
"openssleddsa_link.c", line 194: warning: statement not reached
"openssleddsa_link.c", line 247: warning: statement not reached
"openssleddsa_link.c", line 330: warning: statement not reached
"openssleddsa_link.c", line 336: warning: statement not reached
"openssleddsa_link.c", line 523: warning: statement not reached
"openssleddsa_link.c", line 526: warning: statement not reached
"openssleddsa_link.c", line 561: warning: statement not reached
"openssleddsa_link.c", line 563: warning: statement not reached
"openssleddsa_link.c", line 567: warning: statement not reached
"openssleddsa_link.c", line 578: warning: statement not reached
"openssleddsa_link.c", line 631: warning: statement not reached
"openssleddsa_link.c", line 636: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c opensslecdsa_link.c -KPIC -DPIC -o .libs/libdns_la-opensslecdsa_link.o
"opensslecdsa_link.c", line 174: warning: statement not reached
"opensslecdsa_link.c", line 179: warning: statement not reached
"opensslecdsa_link.c", line 185: warning: statement not reached
"opensslecdsa_link.c", line 234: warning: statement not reached
"opensslecdsa_link.c", line 239: warning: statement not reached
"opensslecdsa_link.c", line 288: warning: statement not reached
"opensslecdsa_link.c", line 290: warning: statement not reached
"opensslecdsa_link.c", line 295: warning: statement not reached
"opensslecdsa_link.c", line 302: warning: statement not reached
"opensslecdsa_link.c", line 305: warning: statement not reached
"opensslecdsa_link.c", line 348: warning: statement not reached
"opensslecdsa_link.c", line 353: warning: statement not reached
"opensslecdsa_link.c", line 357: warning: statement not reached
"opensslecdsa_link.c", line 411: warning: statement not reached
"opensslecdsa_link.c", line 415: warning: statement not reached
"opensslecdsa_link.c", line 466: warning: statement not reached
"opensslecdsa_link.c", line 469: warning: statement not reached
"opensslecdsa_link.c", line 474: warning: statement not reached
"opensslecdsa_link.c", line 478: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c client.c -KPIC -DPIC -o .libs/libdns_la-client.o
"client.c", line 2939: warning: argument #2 is incompatible with prototype:
prototype: pointer to void : "../../lib/isc/include/isc/event.h", line 86
argument : pointer to function(pointer to struct dns_client {unsigned int magic, unsigned int attributes, union {..} lock, pointer to struct isc_mem {..} mctx, pointer to struct isc_appctx {..} actx, pointer to struct isc_taskmgr {..} taskmgr, pointer to struct isc_task {..} task, pointer to struct isc_socketmgr {..} socketmgr, pointer to struct isc_timermgr {..} timermgr, pointer to struct dns_dispatchmgr {..} dispatchmgr, pointer to struct dns_dispatch {..} dispatchv4, pointer to struct dns_dispatch {..} dispatchv6, unsigned int update_timeout, unsigned int update_udptimeout, unsigned int update_udpretries, unsigned int find_timeout, unsigned int find_udpretries, atomic unsigned long references, struct {..} viewlist, struct {..} resctxs, struct {..} reqctxs, struct {..} updatectxs}, unsigned short, pointer to const struct dns_name {unsigned int magic, pointer to unsigned char ndata, unsigned int length, unsigned int labels, unsigned int attributes, pointer to unsigned char offsets, pointer to struct isc_buffer {..} buffer, struct {..} link, struct {..} list}, pointer to struct {pointer to struct dns_name {..} head, pointer to struct dns_name {..} tail}, pointer to struct {pointer to struct dns_name {..} head, pointer to struct dns_name {..} tail}, pointer to struct {pointer to struct isc_sockaddr {..} head, pointer to struct isc_sockaddr {..} tail}, pointer to struct dns_tsec {}, unsigned int, pointer to struct isc_task {unsigned int impmagic, unsigned int magic}, pointer to function(..) returning void, pointer to void, pointer to pointer to void) returning unsigned int
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c zone.c -KPIC -DPIC -o .libs/libdns_la-zone.o
"zone.c", line 500: warning: enumerator value overflows INT_MAX (2147483647)
"zone.c", line 5711: internal compiler error: NAME with no symbol table entry
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c sdlz.c -KPIC -DPIC -o .libs/libdns_la-sdlz.o
"sdlz.c", line 739: warning: Function has no return statement : expirenode
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c sdb.c -KPIC -DPIC -o .libs/libdns_la-sdb.o
"sdb.c", line 1072: warning: Function has no return statement : expirenode
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c rpz.c -KPIC -DPIC -o .libs/libdns_la-rpz.o
"rpz.c", line 215: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c rdata.c -KPIC -DPIC -o .libs/libdns_la-rdata.o
"rdata/generic/amtrelay_260.c", line 295: warning: statement not reached
"rdata/generic/amtrelay_260.c", line 300: warning: statement not reached
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c rbtdb.c -KPIC -DPIC -o .libs/libdns_la-rbtdb.o
"rbtdb.c", line 4514: warning: statement not reached
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I./unix/include -I../../include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/ns/include -I../../lib/isccc/include/ -I../../lib/isccfg/include -I../../lib/bind9/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -DNAMED_LOCALSTATEDIR=\"/home/newman/.local/var\" -DNAMED_SYSCONFDIR=\"/home/newman/.local/etc\" -DMAXMINDDB_PREFIX=\"/usr\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o main.o main.c
"/usr/include/maxminddb.h", line 92: syntax error before or at: mmdb_uint128_t
"/usr/include/maxminddb.h", line 122: syntax error before or at: mmdb_uint128_t
cc: acomp failed for main.c
/home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I./unix/include -I../../include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../lib/ns/include -I../../lib/isccc/include/ -I../../lib/isccfg/include -I../../lib/bind9/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -DNAMED_LOCALSTATEDIR=\"/home/newman/.local/var\" -DNAMED_SYSCONFDIR=\"/home/newman/.local/etc\" -DMAXMINDDB_PREFIX=\"/usr\" -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c -o geoip.o geoip.c
"/usr/include/maxminddb.h", line 92: syntax error before or at: mmdb_uint128_t
"/usr/include/maxminddb.h", line 122: syntax error before or at: mmdb_uint128_t
cc: acomp failed for geoip.c
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c geoip2.c -KPIC -DPIC -o .libs/libdns_la-geoip2.o
"/usr/include/maxminddb.h", line 92: syntax error before or at: mmdb_uint128_t
"/usr/include/maxminddb.h", line 122: syntax error before or at: mmdb_uint128_t
"geoip2.c", line 202: improper member use: utf8_string
"geoip2.c", line 207: improper member use: utf8_string
"geoip2.c", line 219: improper member use: uint32
cc: acomp failed for geoip2.c
libtool: compile: /home/newman/Downloads/OracleDeveloperStudio12.6-linux-x86-bin/developerstudio12.6/bin/cc -DHAVE_CONFIG_H -I. -I../.. -include ../../config.h -I./include -I../../include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/include -I../../lib/isc/include -I/usr/include/json-c -I/usr/include/libxml2 -I../../lib/dns/include -I../../lib/dns/include -I../../libltdl -I/usr/include/json-c -I/usr/include/libxml2 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wpointer-arith -Wno-missing-field-initializers -Wformat -Wshadow -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=format-security -Werror=parentheses -Werror=implicit -Werror=strict-prototypes -fno-strict-aliasing -O1 -g -Wall -Wextra -mt -c zone.c -KPIC -DPIC -o .libs/libdns_la-zone.o
"zone.c", line 500: warning: enumerator value overflows INT_MAX (2147483647)
"zone.c", line 5711: internal compiler error: NAME with no symbol table entry
```
If these warnings are believed to be meaningfull, we may run Studio on the rest of maintained branches and more offen and, eventually, integrate it to the CI.Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/1255Accept gc._msdcs.<forest> as a reverse PTR target.2019-10-29T05:26:08ZMark AndrewsAccept gc._msdcs.<forest> as a reverse PTR target.We already accept gc._msdcs.<forest> for A and AAAA. The reverse should also be done.
See https://support.isc.org/Ticket/Display.html?id=15205We already accept gc._msdcs.<forest> for A and AAAA. The reverse should also be done.
See https://support.isc.org/Ticket/Display.html?id=15205Not plannedMark AndrewsMark Andrewshttps://gitlab.isc.org/isc-projects/bind9/-/issues/1040missing cache expiration test2023-11-02T16:42:09ZEvan Huntmissing cache expiration testWhile examining differences between the 9.11 and 9.11 subscription branches I noticed an unexpected change in `rbtdb.c:expirenode()` - the `force_expire` variable was set to `true` in one and `false` in the other. This bug was introduced...While examining differences between the 9.11 and 9.11 subscription branches I noticed an unexpected change in `rbtdb.c:expirenode()` - the `force_expire` variable was set to `true` in one and `false` in the other. This bug was introduced when we changed the boolean constants from `ISC_TRUE` to `true` and `ISC_FALSE` to `false`. In the subscription branch, an `ISC_FALSE` was changed to `true` by mistake.
I'm not certain what the effects of this were, but based on the names, I would guess that cache nodes were probably forced to expire in some cases when they shouldn't have been, perhaps leading to more recursion than would otherwise have been necessary.
It's disappointing that no unit or system test noticed the change, and we should consider writing one that would.Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/657Add a seatbelt to IDN2023-11-02T16:32:27ZOndřej SurýAdd a seatbelt to IDNFrom paf on dns-operations:
> Please please please do check what happens when you have bidirectional strings before you decide that having U-LABEL output be the default.
>
> I am the conservative kind that am so nervous over these kind...From paf on dns-operations:
> Please please please do check what happens when you have bidirectional strings before you decide that having U-LABEL output be the default.
>
> I am the conservative kind that am so nervous over these kind of things that I would say "let the user turn on IDN output if the user know what the user is doing".
>
> You might require LOCALE processing, and get different result depending on the shell you use, so "just" look at whether the output is a TTY is something that I think is not enough.
>
> So be careful, and do proper QA, by at least reaching out to people having different directionality by default.
> For bidi issues, please look for example on these old blog posts of mine:
>
> https://stupid.domain.name/node/681
> https://stupid.domain.name/node/682
> https://stupid.domain.name/node/683
>
> You might at least make your code more stable. Add a seatbelt...Not plannedhttps://gitlab.isc.org/isc-projects/bind9/-/issues/430Disable case preservation when case-sensitive compression is disabled [ISC-su...2021-10-04T13:02:38ZBrian ConryDisable case preservation when case-sensitive compression is disabled [ISC-support #13227]### Description
ISC Support Customer reports significant performance impact in some situations caused by case preservation.
Specifically:
>>>
- allocation of a new dns_name_t and name copy in dns_compress_add()
- name copy in rdataset....### Description
ISC Support Customer reports significant performance impact in some situations caused by case preservation.
Specifically:
>>>
- allocation of a new dns_name_t and name copy in dns_compress_add()
- name copy in rdataset.c:towiresorted() and call to dns_rdataset_getownercase()
>>>
### Request
>>>
Admittedly these should be generally minor overhead, but in scenarios where the overall query processing is relatively cheap the performance drop can be non-negligible. Right now it exceeds the acceptable level of performance regression in our release engineering standard. If we suppress the above change the performance is (still worse than before but) acceptable.
Meanwhile, trying to preserve the case of the owner name is quite moot in practice if, for example, case-sensitive name compression is disabled. So we wonder if the case-preserving feature can be configurable at least when responding to normal queries. I'm attaching a patch (for 9.11.3-S2) that implements this idea, by disabling case-preserving when case-sensitive name compression is disabled (this could also be a separate configuration option).
>>>
### Links / references
[case.diff](/uploads/657d56eaf8595854ae83c892f438d714/case.diff)