=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for host-20070128nb1 @(#)PROGRAM:ld PROJECT:ld64-609.8 BUILD 20:09:56 Nov 4 2020 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em LTO support using: LLVM version 12.0.0, (clang-1200.0.32.28) (static support for 27, runtime is 27) TAPI support using: Apple TAPI version 12.0.0 (tapi-1200.0.23.5) --- main.o --- --- info.o --- --- list.o --- --- addr.o --- --- geth.o --- --- util.o --- --- misc.o --- --- test.o --- --- main.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c main.c --- info.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c info.c --- list.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c list.c --- addr.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c addr.c --- geth.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c geth.c --- util.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c util.c --- misc.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c misc.c --- test.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c test.c --- addr.o --- addr.c:103:31: warning: cast from 'char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] hnamebuf, inet_ntoa(incopy(hp->h_addr_list[i]))); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ addr.c:116:15: warning: cast from 'char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] inaddr[i] = incopy(hp->h_addr_list[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- main.o --- main.c:354:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_DNSRCH; /* dotted names are qualified */ ~~ ^~~~~~~~~~~ main.c:357:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_DEBUG; /* turn off debug printout */ ~~ ^~~~~~~~~~ main.c:358:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_USEVC; /* do not use virtual circuit */ ~~ ^~~~~~~~~~ main.c:581:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] new_res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ main.c:836:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] --- list.o --- list.c:736:19: warning: cast from 'char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] ipaddr[0][i] = incopy(hp->h_addr_list[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ list.c:771:21: warning: cast from 'char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] ipaddr[n][i] = incopy(hp->h_addr_list[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- addr.o --- addr.c:431:12: warning: cast from 'char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] inaddr = incopy(hp->h_addr_list[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- misc.o --- misc.c:143:7: warning: implicit conversion changes signedness: 'u_char' (aka 'unsigned char') to 'char' [-Wsign-conversion] c = *cp++; ~ ^~~~~ --- main.o --- optargv = newlist(optargv, optargc+2, char *); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ ~ main.c:845:37: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] optargv = newlist(optargv, optargc+2, char *); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ ~ main.c:1530:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ main.c:1728:36: warning: cast from 'char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] nslist(_res.nscount).sin_addr = incopy(hp->h_addr_list[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- list.o --- list.c:868:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ --- misc.o --- misc.c:181:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] c2 = (((u_int) cp[0] & 0x03) << 4) + (((u_int) cp[1] >> 4) & 0x0f); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:182:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] c3 = (((u_int) cp[1] & 0x0f) << 2) + (((u_int) cp[2] >> 6) & 0x03); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:193:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] c2 = (((u_int) cp[0] & 0x03) << 4) + (((u_int) cp[1] >> 4) & 0x0f); ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:194:32: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] c3 = (((u_int) cp[1] & 0x0f) << 2); ~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~ misc.c:202:32: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] c2 = (((u_int) cp[0] & 0x03) << 4); ~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~ misc.c:242:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] *p++ = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:39: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~^~~~~ misc.c:242:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] *p++ = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:57: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~~~~~~~^~~~ misc.c:244:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] *p++ = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:39: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~^~~~~ misc.c:244:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] *p++ = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:57: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~~~~~~~^~~~ misc.c:276:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ --- info.o --- info.c:660:9: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] type = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:663:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] class = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:669:9: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] dlen = ns_get16(cp); ~ ^~~~~~~~~~~~ --- list.o --- list.c:1016:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] type = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ list.c:1019:11: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] class = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ list.c:1025:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] --- util.o --- util.c:282:27: warning: cast from 'char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] printf(" %s", inet_ntoa(incopy(*ap))); ^~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- info.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ --- list.o --- dlen = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ list.c:1022:9: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ --- info.o --- info.c:792:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ --- list.o --- list.c:1270:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ list.c:1349:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ --- misc.o --- misc.c:493:13: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] altitude = value; ~ ^~~~~ misc.c:508:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] meters = altitude; ~ ^~~~~~~~ misc.c:557:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] precision = mantissa * poweroften[exponent]; ^~~~~~~~ ~ misc.c:563:11: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion] meters = precision; ~ ^~~~~~~~~ --- info.o --- info.c:990:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1003:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1052:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); --- list.o --- list.c:1808:17: warning: cast from 'char *' to 'querybuf_t *' increases required alignment from 1 to 4 [-Wcast-align] print_answer((querybuf_t *) answer, (size_t) n, T_AXFR); ^~~~~~~~~~~~~~~~~~~~~ list.c:1816:8: warning: cast from 'char *' to 'HEADER *' increases required alignment from 1 to 4 [-Wcast-align] bp = (HEADER *) answer; ^~~~~~~~~~~~~~~~~ list.c:1888:21: warning: cast from 'char *' to 'querybuf_t *' increases required alignment from 1 to 4 [-Wcast-align] (void) print_info((querybuf_t *) answer, n, name, T_AXFR, queryclass, FALSE); ^~~~~~~~~~~~~~~~~~~~~ list.c:2030:42: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] zonename = newlist(zonename, zonecount+1, char *); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ --- geth.o --- geth.c:101:20: warning: cast from 'const char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] inet_ntoa(incopy(addr))); ^~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ geth.c:125:67: warning: cast from 'const char *' to 'const struct in_addr *' increases required alignment from 1 to 4 [-Wcast-align] fprintf(stderr, "%s: gethostbyaddr(%s): %s\n", argv0, inet_ntoa(incopy(addr)), hstrerror(h_errno)); ^~~~~~~~~~~~ ./host.h:185:21: note: expanded from macro 'incopy' #define incopy(a) *((const struct in_addr *) (a)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- util.o --- util.c:1465:6: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion] n = strlength(name); ~ ^~~~~~~~~~~~~~~ ./host.h:194:22: note: expanded from macro 'strlength' #define strlength(s) (int) strlen(s) ^~~~~~~~~~~~~~~ util.c:1933:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] type = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ util.c:1936:11: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] class = ns_get16(cp); ~ ^~~~~~~~~~~~ --- misc.o --- misc.c:617:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] units = defunits; ~ ^~~~~~~~ --- info.o --- ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1133:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1170:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ --- list.o --- ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ ~ list.c:2054:34: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] hostlist = newlist(hostlist, maxhosts, host_data_t); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ ~ list.c:2362:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] type = ns_get16(cp); ~ ^~~~~~~~~~~~ --- util.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ util.c:1942:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] dlen = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ util.c:1939:9: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ttl = ns_get32(cp); ~ ^~~~~~~~~~~~ --- info.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1200:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ --- list.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ list.c:2365:11: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] class = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ list.c:2371:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] dlen = ns_get16(cp); ~ ^~~~~~~~~~~~ --- util.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ --- list.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ --- info.o --- info.c:1256:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1262:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1268:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1281:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1287:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ --- list.o --- list.c:2368:9: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ list.c:2395:17: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] soa.serial = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ list.c:2397:18: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] soa.refresh = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ list.c:2399:16: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] soa.retry = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ list.c:2401:17: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] --- info.o --- /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' --- list.o --- soa.expire = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' --- info.o --- #define ns_get16 res_9_ns_get16 ^ --- list.o --- #define ns_get32 res_9_ns_get32 ^ list.c:2403:19: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] --- info.o --- info.c:1318:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1331:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1337:7: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get16(cp); --- list.o --- soa.nxdomttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ --- info.o --- ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:666:8: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] ttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:841:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:846:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:851:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ --- list.o --- list.c:2557:31: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (bitset(0x80000000U, soa.serial)) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./host.h:176:31: note: expanded from macro 'bitset' #define bitset(a, b) (((a) & (b)) != 0) ~ ^ list.c:2662:50: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] s->addrlist = newlist(s->addrlist, s->addrcount + 1, ipaddr_t); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ ~ list.c:2708:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] for (hfunc = type, p = name; (c = *p) != '\0'; p++) { ~ ^~~~ --- file.o --- --- info.o --- info.c:856:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:861:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:964:8: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1098:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] c = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1101:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1105:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1109:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1155:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1160:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1165:7: warning: implicit conversion loses integer precision: 'u_long' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:496:19: note: expanded from macro 'ns_get32' #define ns_get32 res_9_ns_get32 ^ info.c:1184:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] n = eor - cp; ~ ~~~~^~~~ info.c:1218:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] n = eor - cp; ~ ~~~~^~~~ info.c:1350:12: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] n = eor - cp; ~ ~~~~^~~~ info.c:1691:32: warning: operand of ? changes signedness: 'u_char' (aka 'unsigned char') to 'char' [-Wsign-conversion] ascbuf[i] = is_print(*cp) ? *cp : '.'; ~ ^~~ info.c:1693:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] hexbuf[(i * 3)] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:39: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~^~~~~ info.c:1693:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] hexbuf[(i * 3)] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:57: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~~~~~~~^~~~ info.c:1695:26: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] hexbuf[(i * 3) + 1] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:39: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~^~~~~ info.c:1695:26: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] hexbuf[(i * 3) + 1] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:57: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~~~~~~~^~~~ info.c:1747:9: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] type = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ info.c:1750:10: warning: implicit conversion changes signedness: 'u_int' (aka 'unsigned int') to 'int' [-Wsign-conversion] class = ns_get16(cp); ~ ^~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ --- file.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c file.c --- geth.o --- 2 warnings generated. --- send.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c send.c --- addr.o --- 3 warnings generated. --- vers.o --- --- misc.o --- 16 warnings generated. --- vers.o --- clang -O2 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DBIND_8_COMPAT -DDEBUG -c vers.c --- nscheck --- sed -e 's,@CONFDIR@,,g' < /opt/work/net/host/work/host-20070128/nscheck.sh > nscheck chmod +x nscheck --- mxlookup --- sed -e 's,@CONFDIR@,,g' < /opt/work/net/host/work/host-20070128/mxlookup.sh > mxlookup --- file.o --- file.c:83:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] *q++ = lowercase((int) c); ~ ^~~~~~~~~~~~~~~~~~ ./host.h:173:37: note: expanded from macro 'lowercase' #define lowercase(c) (is_upper(c) ? tolower(c) : (c)) ^~~~~~~~~~ file.c:83:20: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] *q++ = lowercase((int) c); ~ ^~~~~~~ ./host.h:173:51: note: expanded from macro 'lowercase' #define lowercase(c) (is_upper(c) ? tolower(c) : (c)) ^ file.c:263:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] buflen -= n; ~~ ^ file.c:280:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] buflen -= n; ~~ ^ file.c:261:28: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] while (buflen > 0 && (n = write(cachefd, buffer, buflen)) > 0) { ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:278:28: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] while (buflen > 0 && (n = write(cachefd, buffer, buflen)) > 0) { ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:289:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return (bufsize); ~~~~~~ ^~~~~~~ file.c:316:8: warning: implicit conversion loses integer precision: 'u_int' (aka 'unsigned int') to 'u_short' (aka 'unsigned short') [-Wimplicit-int-conversion] len = ns_get16((u_char *) &len); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' #define ns_get16 res_9_ns_get16 ^ file.c:361:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] buflen -= n; ~~ ^ file.c:359:28: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] while (buflen > 0 && (n = read(cachefd, buffer, buflen)) > 0) { ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ file.c:370:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return (bufsize); ~~~~~~ ^~~~~~~ --- send.o --- send.c:491:24: warning: implicit conversion loses integer precision: 'int' to 'sa_family_t' (aka 'unsigned char') [-Wimplicit-int-conversion] res_sin.sin_family = family; ~ ^~~~~~ send.c:703:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return (bufsize); ~~~~~~ ^~~~~~~ send.c:733:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] buflen -= n; ~~ ^ send.c:742:8: warning: implicit conversion loses integer precision: 'u_int' (aka 'unsigned int') to 'u_short' (aka 'unsigned short') [-Wimplicit-int-conversion] len = ns_get16((u_char *) &len); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/nameser.h:495:19: note: expanded from macro 'ns_get16' --- mxlookup --- chmod +x mxlookup --- send.o --- #define ns_get16 res_9_ns_get16 ^ send.c:781:13: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] buflen -= n; ~~ ^ send.c:788:10: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] return (bufsize); ~~~~~~ ^~~~~~~ send.c:836:6: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32] n = recvfrom(sock, buffer, (sock_buflen_t) buflen, 0, from_sa, &fromlen); ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- rblookup --- sed -e 's,@CONFDIR@,,g' < /opt/work/net/host/work/host-20070128/rblookup.sh > rblookup chmod +x rblookup --- file.o --- 11 warnings generated. --- send.o --- 7 warnings generated. --- main.o --- 8 warnings generated. --- util.o --- 6 warnings generated. --- info.o --- 42 warnings generated. --- list.o --- 26 warnings generated. --- host --- clang -L/opt/pkg/lib -static -o host main.o info.o list.o addr.o geth.o util.o misc.o test.o file.o send.o vers.o Undefined symbols for architecture arm64: "_res_9_dn_expand", referenced from: _expand_name in util.o _canonical in util.o "_res_9_fp_nquery", referenced from: _get_zone in list.o "_res_9_init", referenced from: _main in main.o "_res_9_mkquery", referenced from: _get_info in info.o _get_zone in list.o "_res_9_ns_get16", referenced from: _skip_qrec in info.o _print_rrec in info.o _get_nsinfo in list.o _get_soainfo in list.o _canonical in util.o _ipng_ntoa in misc.o _cache_read_anslen in file.o ... "_res_9_ns_get32", referenced from: _print_rrec in info.o _get_nsinfo in list.o _get_soainfo in list.o _canonical in util.o "_res_9_ns_put16", referenced from: _cache_write in file.o _host_res_write in send.o "_res_9_send", referenced from: _get_info in info.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [host] Error code 1 bmake: stopped in /opt/work/net/host/work/host-20070128 1 error bmake: stopped in /opt/work/net/host/work/host-20070128 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/net/host *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/net/host