=> Building sysutils/hourglass Started : Thursday, 30 AUG 2018 at 20:47:13 UTC Platform: 5.3-DEVELOPMENT DragonFly 5.3-DEVELOPMENT #141: Thu Aug 30 12:52:40 PDT 2018 root@test.backplane.com:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.3-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.3-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- ===> The following configuration options are available for hourglass-1.0.1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/hourglass XDG_CONFIG_HOME=/construction/sysutils/hourglass HOME=/construction/sysutils/hourglass TMPDIR="/tmp" PATH=/construction/sysutils/hourglass/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/hourglass XDG_CONFIG_HOME=/construction/sysutils/hourglass HOME=/construction/sysutils/hourglass TMPDIR="/tmp" PATH=/construction/sysutils/hourglass/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/sysutils/hourglass/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/hourglass" EXAMPLESDIR="share/examples/hourglass" DATADIR="share/hourglass" WWWDIR="www/hourglass" ETCDIR="etc/hourglass" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/hourglass DOCSDIR=/usr/local/share/doc/hourglass EXAMPLESDIR=/usr/local/share/examples/hourglass WWWDIR=/usr/local/www/hourglass ETCDIR=/usr/local/etc/hourglass -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=12 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500316 OSVERSION=9999999 OSREL=5.3 _OSRELEASE=5.3-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> hourglass-1.0.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> hourglass-1.0.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of hourglass-1.0.1 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> Fetching all distfiles required by hourglass-1.0.1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> Fetching all distfiles required by hourglass-1.0.1 for building => SHA256 Checksum OK for hourglass-1.0.1b.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> Fetching all distfiles required by hourglass-1.0.1 for building ===> Extracting for hourglass-1.0.1 => SHA256 Checksum OK for hourglass-1.0.1b.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for hourglass-1.0.1 ===> Applying ports patches for hourglass-1.0.1 ===> Applying dragonfly patches for hourglass-1.0.1 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for hourglass-1.0.1 configure: loading site script /xports/Templates/config.site checking build system type... x86_64-portbld-dragonfly5.3 checking host system type... x86_64-portbld-dragonfly5.3 checking target system type... x86_64-portbld-dragonfly5.3 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether build environment is sane... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking whether make sets $(MAKE)... (cached) yes checking for main in -lpthread... yes checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for inline... inline checking for size_t... (cached) yes checking for strtod... (cached) yes checking for strtol... (cached) yes checking for mlockall... yes building for x86_64-portbld-dragonfly5.3 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating scripts/Makefile config.status: creating src/config.h config.status: executing depfiles commands -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for hourglass-1.0.1 --- all-recursive --- Making all in src --- all --- /usr/bin/make all-am --- work.o --- --- main.o --- --- utils.o --- --- print.o --- --- opts.o --- --- unix_timers.o --- --- unix.o --- --- nores.o --- --- busy.o --- --- work.o --- source='work.c' object='work.o' libtool=no depfile='.deps/work.Po' tmpdepfile='.deps/work.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'work.c' || echo './'`work.c --- main.o --- source='main.c' object='main.o' libtool=no depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'main.c' || echo './'`main.c --- utils.o --- source='utils.c' object='utils.o' libtool=no depfile='.deps/utils.Po' tmpdepfile='.deps/utils.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'utils.c' || echo './'`utils.c --- print.o --- source='print.c' object='print.o' libtool=no depfile='.deps/print.Po' tmpdepfile='.deps/print.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'print.c' || echo './'`print.c --- opts.o --- source='opts.c' object='opts.o' libtool=no depfile='.deps/opts.Po' tmpdepfile='.deps/opts.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'opts.c' || echo './'`opts.c --- unix_timers.o --- source='unix_timers.c' object='unix_timers.o' libtool=no depfile='.deps/unix_timers.Po' tmpdepfile='.deps/unix_timers.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'unix_timers.c' || echo './'`unix_timers.c --- unix.o --- source='unix.c' object='unix.o' libtool=no depfile='.deps/unix.Po' tmpdepfile='.deps/unix.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'unix.c' || echo './'`unix.c --- nores.o --- source='nores.c' object='nores.o' libtool=no depfile='.deps/nores.Po' tmpdepfile='.deps/nores.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'nores.c' || echo './'`nores.c --- busy.o --- source='busy.c' object='busy.o' libtool=no depfile='.deps/busy.Po' tmpdepfile='.deps/busy.TPo' depmode=gcc3 /bin/sh ../config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I. -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -c `test -f 'busy.c' || echo './'`busy.c --- nores.o --- In file included from nores.c:1: ./hourglass.h: In function 'my_InterlockedIncrement': ./hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from ./hourglass.h:44, from nores.c:1: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from nores.c:1: ./hourglass.h: In function 'cycle_to_sec': ./hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ ./hourglass.h: In function 'cycle_to_us': ./hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ --- print.o --- In file included from print.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from print.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from print.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ print.c: In function 'print_trace_recs': print.c:113:15: warning: conversion from 'long int' to 'double' may change value [-Wconversion] 100 * (1.0 * current_record / NUM_TRACE_RECORDS)); ^ --- main.o --- In file included from main.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from main.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from main.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ main.c: In function 'main': main.c:123:24: warning: conversion from 'cycle_time' {aka 'long long int'} to 'int' may change value [-Wconversion] GAP_HIST_DIVISOR = us_to_cycle (gap_us) / NUM_GAP_HIST_BUCKETS; ^~~~~~~~~~~ main.c:193:16: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] start_time = rdtsc(); ^~~~~ main.c:195:17: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] trace_start = rdtsc (); ^~~~~ main.c:197:15: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] trace_end = rdtsc (); ^~~~~ main.c:210:14: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] end_time = rdtsc(); ^~~~~ --- busy.o --- In file included from busy.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from busy.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from busy.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ busy.c: In function 'main': busy.c:58:30: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] stop = dur + cycle_to_sec (rdtsc()); ^~~~~~~ busy.c:62:30: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] do { } while (cycle_to_sec(rdtsc()) < stop); ^~~~~~~ --- opts.o --- In file included from opts.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from opts.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from opts.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ opts.c: In function 'init_thrd_data': opts.c:124:26: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xmalloc (num_threads * sizeof (struct thrd_data_t)); ^ opts.c: In function 'expect_int': opts.c:165:7: warning: conversion from 'long int' to 'int' may change value [-Wconversion] i = strtol (argv[pos], &c, 10); ^~~~~~ opts.c: In function 'expect_time': opts.c:210:9: warning: conversion from 'size_t' {aka 'long unsigned int'} to 'int' may change value [-Wconversion] len = strlen (argv[pos]); ^~~~~~ opts.c: In function 'init_io_dumb': opts.c:496:54: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] fillnum = ((rand() % 0xFFFF << 16) | (rand() % 0xFFFF0000 >> 16) % 1024); ^ opts.c:496:44: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] fillnum = ((rand() % 0xFFFF << 16) | (rand() % 0xFFFF0000 >> 16) % 1024); ^ opts.c:529:17: warning: conversion to 'long unsigned int' from 'off_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] off += written; ^~ opts.c:529:20: warning: conversion to 'off_t' {aka 'long int'} from 'long unsigned int' may change the sign of the result [-Wsign-conversion] off += written; ^~~~~~~ opts.c:545:13: warning: conversion to 'long unsigned int' from 'off_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion] off += written; ^~ opts.c:545:16: warning: conversion to 'off_t' {aka 'long int'} from 'long unsigned int' may change the sign of the result [-Wsign-conversion] off += written; ^~~~~~~ opts.c: In function 'parse_args': opts.c:897:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memsize = expect_int (); ^~~~~~~~~~ opts.c:900:12: warning: conversion to 'unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] memsize = expect_int (); ^~~~~~~~~~ opts.c:1066:44: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] xmalloc (sizeof (struct trace_rec_t) * NUM_TRACE_RECORDS); ^ opts.c:1069:35: warning: conversion to 'long unsigned int' from 'int' may change the sign of the result [-Wsign-conversion] (sizeof (struct trace_rec_t) * NUM_TRACE_RECORDS) / 1024.0 / 1024.0); ^ opts.c:1069:56: warning: conversion from 'long unsigned int' to 'double' may change value [-Wconversion] (sizeof (struct trace_rec_t) * NUM_TRACE_RECORDS) / 1024.0 / 1024.0); ^ --- unix_timers.o --- In file included from unix_timers.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from unix_timers.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from unix_timers.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ unix_timers.c: In function 'unix_timed_sleep': unix_timers.c:37:11: warning: conversion from 'long unsigned int' to 'unsigned int' may change value [-Wconversion] usleep (sleep_time); ^~~~~~~~~~ --- work.o --- In file included from work.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from work.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from work.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ work.c: In function 'get_new_rec': work.c:48:10: warning: conversion from 'long int' to 'int' may change value [-Wconversion] return n; ^ work.c: In function 'poll': work.c:71:9: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] now = rdtsc (); ^~~~~ work.c: In function 'lat_test': work.c:135:26: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] cycle_time lat_start = rdtsc (); ^~~~~ work.c:140:63: warning: conversion to 'long long unsigned int' from 'cycle_time' {aka 'long long int'} may change the sign of the result [-Wsign-conversion] thrd_data[id].lat_slots[thrd_data[id].lat_slot] = rdtsc() - lat_start; ^ work.c:140:55: warning: conversion to 'cycle_time' {aka 'long long int'} from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] thrd_data[id].lat_slots[thrd_data[id].lat_slot] = rdtsc() - lat_start; ^~~~~ work.c: In function 'periodic_test': work.c:152:14: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] deadline = rdtsc(); ^~~~~ work.c:159:11: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] now = rdtsc(); ^~~~~ work.c: In function 'io_dumb_test': work.c:256:32: warning: conversion to 'long long unsigned int' from 'long long int' may change the sign of the result [-Wsign-conversion] thrd_data[id].workdone += b_write; ^~ work.c:256:35: warning: conversion to 'long long int' from 'long long unsigned int' may change the sign of the result [-Wsign-conversion] thrd_data[id].workdone += b_write; ^~~~~~~ --- unix.o --- In file included from unix.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from unix.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from unix.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ --- utils.o --- In file included from utils.c:26: hourglass.h: In function 'my_InterlockedIncrement': hourglass.h:322:21: warning: pointer targets in passing argument 1 of 'atomic_add_long' differ in signedness [-Wpointer-sign] atomic_add_long(dest, 1L); ^~~~ In file included from hourglass.h:44, from utils.c:26: /usr/include/machine/atomic.h:162:1: note: expected 'volatile u_long *' {aka 'volatile long unsigned int *'} but argument is of type 'long int *' ATOMIC_ASM(add, long, "addq %1,%0", "r", v) ^~~~~~~~~~ In file included from utils.c:26: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion from 'cycle_time' {aka 'long long int'} to 'double' may change value [-Wconversion] return c / (us_time)TSC_MHZ; ^ utils.c: In function 'get_timeval_us': utils.c:51:7: warning: conversion from 'long int' to 'us_time' {aka 'double'} may change value [-Wconversion] t = tv.tv_usec + (1000000 * tv.tv_sec); ^~ utils.c: In function 'find_mhz': utils.c:82:19: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] cycle_start = rdtsc (); ^~~~~ utils.c:100:18: warning: conversion to 'cycle_time' {aka 'long long int'} from 'tsc_uclock_t' {aka 'long unsigned int'} may change the sign of the result [-Wsign-conversion] cycle_stop = rdtsc (); ^~~~~ utils.c:106:23: warning: conversion from 'cycle_time' {aka 'long long int'} to 'us_time' {aka 'double'} may change value [-Wconversion] freq = cycle_diff / us_diff; ^ --- busy --- cc -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -pthread -o busy busy.o utils.o unix.o --- hourglass --- cc -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -g -pipe -O2 -fno-strict-aliasing -pthread -o hourglass work.o main.o utils.o print.o opts.o unix_timers.o unix.o nores.o Making all in scripts -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> hourglass-1.0.1 depends on executable: jgraph - not found ===> Installing existing package /packages/All/jgraph-8.3_1.txz Installing jgraph-8.3_1... Extracting jgraph-8.3_1: .......... done Message from jgraph-8.3_1: ===> NOTICE: The jgraph port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> hourglass-1.0.1 depends on executable: jgraph - found ===> Returning to build of hourglass-1.0.1 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for hourglass-1.0.1 ===> Generating temporary packing list Making install in src /bin/sh ../config/mkinstalldirs /construction/sysutils/hourglass/stage/usr/local/bin install -s -m 555 hourglass /construction/sysutils/hourglass/stage/usr/local/bin/hourglass install -s -m 555 busy /construction/sysutils/hourglass/stage/usr/local/bin/busy Making install in scripts /bin/mkdir -p /construction/sysutils/hourglass/stage/usr/local/share/doc/hourglass install -m 0644 /construction/sysutils/hourglass/hourglass-1.0.1b/CALIBRATION /construction/sysutils/hourglass/stage/usr/local/share/doc/hourglass ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for hourglass-1.0.1 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Thursday, 30 AUG 2018 at 20:47:23 UTC Duration: 00:00:09