=> Building sysutils/hourglass build started at Wed Oct 5 17:34:31 PDT 2016 port directory: /usr/ports/sysutils/hourglass building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: jadawin@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/bleeding-edge-default/ref/../09//usr/ports/sysutils/hourglass/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=hourglass-1.0.1 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ===> 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 ---End OPTIONS List--- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/sysutils/hourglass XDG_CONFIG_HOME=/wrkdirs/sysutils/hourglass HOME=/wrkdirs/sysutils/hourglass TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/sysutils/hourglass XDG_CONFIG_HOME=/wrkdirs/sysutils/hourglass HOME=/wrkdirs/sysutils/hourglass TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" 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 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/hourglass" EXAMPLESDIR="share/examples/hourglass" DATADIR="share/hourglass" WWWDIR="www/hourglass" ETCDIR="etc/hourglass" --End PLIST_SUB-- --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 --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== =========================================================================== =================================================== ===> hourglass-1.0.1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> hourglass-1.0.1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of hourglass-1.0.1 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by hourglass-1.0.1 for building =========================================================================== =================================================== ===> Fetching all distfiles required by hourglass-1.0.1 for building => SHA256 Checksum OK for hourglass-1.0.1b.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> 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. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for hourglass-1.0.1 ===> Applying ports patches for hourglass-1.0.1 ===> Applying DragonFly patches for hourglass-1.0.1 =========================================================================== =================================================== =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for hourglass-1.0.1 configure: loading site script /usr/ports/Templates/config.site checking build system type... x86_64-portbld-dragonfly4.7 checking host system type... x86_64-portbld-dragonfly4.7 checking target system type... x86_64-portbld-dragonfly4.7 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... yes checking for strtol... (cached) yes checking for mlockall... yes building for x86_64-portbld-dragonfly4.7 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 =========================================================================== =================================================== ===> 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 --- --- 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 --- work.o --- In file included from work.c:26:0: 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:0, from work.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ work.c: In function 'get_new_rec': work.c:48:10: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion] return n; ^ work.c: In function 'poll': --- opts.o --- In file included from opts.c:26:0: 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:0, from opts.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ --- work.o --- work.c:71:9: warning: conversion to 'cycle_time {aka long long int}' from 'u_int64_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 'u_int64_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; --- opts.o --- 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 to 'int' from 'long int' may alter its value [-Wconversion] i = strtol (argv[pos], &c, 10); ^ opts.c: In function 'expect_time': opts.c:210:9: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its 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] --- work.o --- ^ work.c: In function 'periodic_test': work.c:152:14: warning: conversion to 'cycle_time {aka long long int}' from 'u_int64_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 'u_int64_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; ^ --- opts.o --- 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 to 'double' from 'long unsigned int' may alter its value [-Wconversion] (sizeof (struct trace_rec_t) * NUM_TRACE_RECORDS) / 1024.0 / 1024.0); ^ --- utils.o --- In file included from utils.c:26:0: 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:0, from utils.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ utils.c: In function 'get_timeval_us': utils.c:51:7: warning: conversion to 'us_time {aka double}' from 'long int' may alter its 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 'u_int64_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 'u_int64_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] cycle_stop = rdtsc (); ^ utils.c:106:23: warning: conversion to 'us_time {aka double}' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] freq = cycle_diff / us_diff; ^ --- print.o --- In file included from print.c:26:0: 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:0, from print.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ print.c: In function 'print_trace_recs': print.c:113:15: warning: conversion to 'double' from 'long int' may alter its value [-Wconversion] 100 * (1.0 * current_record / NUM_TRACE_RECORDS)); ^ --- main.o --- In file included from main.c:26:0: 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:0, from main.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ main.c: In function 'main': main.c:123:24: warning: conversion to 'int' from 'cycle_time {aka long long int}' may alter its 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 'u_int64_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 'u_int64_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 'u_int64_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 'u_int64_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] end_time = rdtsc(); ^ --- 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 --- unix_timers.o --- In file included from unix_timers.c:26:0: 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:0, from unix_timers.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ unix_timers.c: In function 'unix_timed_sleep': unix_timers.c:37:11: warning: conversion to 'unsigned int' from 'long unsigned int' may alter its value [-Wconversion] usleep (sleep_time); ^ --- 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 --- unix.o --- In file included from unix.c:26:0: 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:0, from unix.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ --- 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:0: ./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:0, from nores.c:1: /usr/include/machine/atomic.h:135: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:0: ./hourglass.h: In function 'cycle_to_sec': ./hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ ./hourglass.h: In function 'cycle_to_us': ./hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (us_time)TSC_MHZ; ^ --- busy.o --- In file included from busy.c:26:0: 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:0, from busy.c:26: /usr/include/machine/atomic.h:135: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:0: hourglass.h: In function 'cycle_to_sec': hourglass.h:331:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its value [-Wconversion] return c / (sec_time)(TSC_MHZ * 1000000); ^ hourglass.h: In function 'cycle_to_us': hourglass.h:348:12: warning: conversion to 'double' from 'cycle_time {aka long long int}' may alter its 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 'u_int64_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 'u_int64_t {aka long unsigned int}' may change the sign of the result [-Wsign-conversion] do { } while (cycle_to_sec(rdtsc()) < stop); ^ --- 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 =========================================================================== =================================================== ===> 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 =========================================================================== =================================================== ===> Staging for hourglass-1.0.1 ===> Generating temporary packing list Making install in src /bin/sh ../config/mkinstalldirs /wrkdirs/sysutils/hourglass/stage/usr/local/bin install -s -m 555 hourglass /wrkdirs/sysutils/hourglass/stage/usr/local/bin/hourglass install -s -m 555 busy /wrkdirs/sysutils/hourglass/stage/usr/local/bin/busy Making install in scripts /bin/mkdir -p /wrkdirs/sysutils/hourglass/stage/usr/local/share/doc/hourglass install -m 0644 /wrkdirs/sysutils/hourglass/hourglass-1.0.1b/CALIBRATION /wrkdirs/sysutils/hourglass/stage/usr/local/share/doc/hourglass ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for hourglass-1.0.1 file sizes/checksums [3]: . done packing files [3]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for hourglass-1.0.1 build of sysutils/hourglass ended at Wed Oct 5 17:34:42 PDT 2016 build time: 00:00:11