=>> Building java/lightweight-java-profiler build started at Wed Jan 21 20:24:40 EST 2026 port directory: /usr/ports/java/lightweight-java-profiler package name: lightweight-java-profiler-g20170308 building for: FreeBSD pkg.DaveG.ca 14.3-RELEASE-p7 FreeBSD 14.3-RELEASE-p7 1403000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 896 Jan 14 2025 /usr/ports/java/lightweight-java-profiler/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 0835676e361b Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1403000 Job Id: 04 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1403000 UNAME_v=FreeBSD 14.3-RELEASE-p7 1403000 UNAME_r=14.3-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_3_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_3_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work XDG_CACHE_HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work/.cache HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/java/lightweight-java-profiler/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/java/lightweight-java-profiler/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- JAVA_HOME=/usr/local/openjdk8 BITS=64 XDG_DATA_HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work XDG_CACHE_HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work/.cache HOME=/wrkdirs/usr/ports/java/lightweight-java-profiler/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/java/lightweight-java-profiler/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/java/lightweight-java-profiler/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " 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" --End MAKE_ENV-- --PLIST_SUB-- JAVASHAREDIR="share/java" JAVAJARDIR="share/java/classes" OSREL=14.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/lightweight-java-profiler" EXAMPLESDIR="share/examples/lightweight-java-profiler" DATADIR="share/lightweight-java-profiler" WWWDIR="www/lightweight-java-profiler" ETCDIR="etc/lightweight-java-profiler" --End PLIST_SUB-- --SUB_LIST-- JAVASHAREDIR="/usr/local/share/java" JAVAJARDIR="/usr/local/share/java/classes" JAVALIBDIR="/usr/local/share/java/classes" JAVA_VERSION="8" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/lightweight-java-profiler DOCSDIR=/usr/local/share/doc/lightweight-java-profiler EXAMPLESDIR=/usr/local/share/examples/lightweight-java-profiler WWWDIR=/usr/local/www/lightweight-java-profiler ETCDIR=/usr/local/etc/lightweight-java-profiler --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lightweight-java-profiler 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://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> lightweight-java-profiler-g20170308 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> lightweight-java-profiler-g20170308 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of lightweight-java-profiler-g20170308 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lightweight-java-profiler 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by lightweight-java-profiler-g20170308 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lightweight-java-profiler 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by lightweight-java-profiler-g20170308 for building => SHA256 Checksum OK for inevity-lightweight-java-profiler-g20170308-e8041b5_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The lightweight-java-profiler 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by lightweight-java-profiler-g20170308 for building ===> Extracting for lightweight-java-profiler-g20170308 => SHA256 Checksum OK for inevity-lightweight-java-profiler-g20170308-e8041b5_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for lightweight-java-profiler-g20170308 ===> Applying FreeBSD patches for lightweight-java-profiler-g20170308 from /usr/ports/java/lightweight-java-profiler/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> lightweight-java-profiler-g20170308 depends on package: bash>=0 - not found ===> Installing existing package /packages/All/bash-5.3.9.pkg [pkg.DaveG.ca] Installing bash-5.3.9... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting bash-5.3.9: .......... done ===> lightweight-java-profiler-g20170308 depends on package: bash>=0 - found ===> Returning to build of lightweight-java-profiler-g20170308 ===> lightweight-java-profiler-g20170308 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> lightweight-java-profiler-g20170308 depends on package: gmake>=4.4.1 - found ===> Returning to build of lightweight-java-profiler-g20170308 ===> lightweight-java-profiler-g20170308 depends on file: /usr/local/openjdk8/bin/java - not found ===> Installing existing package /packages/All/openjdk8-8.472.08.1_1.pkg [pkg.DaveG.ca] Installing openjdk8-8.472.08.1_1... [pkg.DaveG.ca] `-- Installing alsa-lib-1.2.14... [pkg.DaveG.ca] `-- Extracting alsa-lib-1.2.14: .......... done [pkg.DaveG.ca] `-- Installing dejavu-2.37_4... [pkg.DaveG.ca] | `-- Installing fontconfig-2.17.1,1... [pkg.DaveG.ca] | | `-- Installing expat-2.7.3... [pkg.DaveG.ca] | | `-- Extracting expat-2.7.3: .......... done [pkg.DaveG.ca] | | `-- Installing freetype2-2.14.1... [pkg.DaveG.ca] | | `-- Installing brotli-1.2.0,1... [pkg.DaveG.ca] | | `-- Extracting brotli-1.2.0,1: .......... done [pkg.DaveG.ca] | | `-- Installing png-1.6.53... [pkg.DaveG.ca] | | `-- Extracting png-1.6.53: .......... done [pkg.DaveG.ca] | | `-- Extracting freetype2-2.14.1: .......... done [pkg.DaveG.ca] | `-- Extracting fontconfig-2.17.1,1: .......... done [pkg.DaveG.ca] | `-- Installing mkfontscale-1.2.3... [pkg.DaveG.ca] | | `-- Installing libfontenc-1.1.8... [pkg.DaveG.ca] | | `-- Extracting libfontenc-1.1.8: ...... done [pkg.DaveG.ca] | `-- Extracting mkfontscale-1.2.3: .... done [pkg.DaveG.ca] `-- Extracting dejavu-2.37_4: .......... done [pkg.DaveG.ca] `-- Installing giflib-5.2.2... [pkg.DaveG.ca] `-- Extracting giflib-5.2.2: .......... done [pkg.DaveG.ca] `-- Installing java-zoneinfo-2021.e... [pkg.DaveG.ca] `-- Extracting java-zoneinfo-2021.e: .......... done [pkg.DaveG.ca] `-- Installing javavmwrapper-2.7.10... [pkg.DaveG.ca] `-- Extracting javavmwrapper-2.7.10: .......... done [pkg.DaveG.ca] `-- Installing libX11-1.8.12,1... [pkg.DaveG.ca] | `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] | `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] `-- Extracting libX11-1.8.12,1: .......... done [pkg.DaveG.ca] `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Installing libXi-1.8.2,1... [pkg.DaveG.ca] | `-- Installing libXfixes-6.0.1... [pkg.DaveG.ca] | `-- Extracting libXfixes-6.0.1: ....... done [pkg.DaveG.ca] `-- Extracting libXi-1.8.2,1: .......... done [pkg.DaveG.ca] `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] `-- Installing libXtst-1.2.5... [pkg.DaveG.ca] `-- Extracting libXtst-1.2.5: .......... done [pkg.DaveG.ca] `-- Installing libinotify-20240724_3... [pkg.DaveG.ca] `-- Extracting libinotify-20240724_3: .......... done [pkg.DaveG.ca] Extracting openjdk8-8.472.08.1_1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.14.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===== Message from libinotify-20240724_3: -- You might want to consider increasing the kern.maxfiles tunable if you plan to use this library for applications that need to monitor activity of a lot of files. ===== Message from openjdk8-8.472.08.1_1: -- This OpenJDK implementation may require procfs(5) mounted on /proc for some applications. If you have not done it yet, please do the following: mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: proc /proc procfs rw 0 0 ===> lightweight-java-profiler-g20170308 depends on file: /usr/local/openjdk8/bin/java - found ===> Returning to build of lightweight-java-profiler-g20170308 ===> lightweight-java-profiler-g20170308 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> lightweight-java-profiler-g20170308 depends on file: /usr/local/bin/ccache - found ===> Returning to build of lightweight-java-profiler-g20170308 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for lightweight-java-profiler-g20170308 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for lightweight-java-profiler-g20170308 cc -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -std=c++11 -fdiagnostics-show-option -fno-exceptions -fno-omit-frame-pointer -fno-strict-aliasing -funsigned-char -fno-asynchronous-unwind-tables -m64 -msse2 -g -D__STDC_FORMAT_MACROS -Weverything -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wall -Wformat-security -Wno-char-subscripts -Wno-sign-compare -Wno-strict-overflow -Wwrite-strings -Wnon-virtual-dtor -Woverloaded-virtual -O2 -Fvisibility=hidden -fPIC -c /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc -o build/display.pic.o cc -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -std=c++11 -fdiagnostics-show-option -fno-exceptions -fno-omit-frame-pointer -fno-strict-aliasing -funsigned-char -fno-asynchronous-unwind-tables -m64 -msse2 -g -D__STDC_FORMAT_MACROS -Weverything -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wall -Wformat-security -Wno-char-subscripts -Wno-sign-compare -Wno-strict-overflow -Wwrite-strings -Wnon-virtual-dtor -Woverloaded-virtual -O2 -Fvisibility=hidden -fPIC -c /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc -o build/entry.pic.o cc -I/usr/local/openjdk8/include -I/usr/local/openjdk8/include/freebsd -std=c++11 -fdiagnostics-show-option -fno-exceptions -fno-omit-frame-pointer -fno-strict-aliasing -funsigned-char -fno-asynchronous-unwind-tables -m64 -msse2 -g -D__STDC_FORMAT_MACROS -Weverything -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wall -Wformat-security -Wno-char-subscripts -Wno-sign-compare -Wno-strict-overflow -Wwrite-strings -Wnon-virtual-dtor -Woverloaded-virtual -O2 -Fvisibility=hidden -fPIC -c /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc -o build/profiler.pic.o In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:8: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: /usr/local/openjdk8/include/jvmti.h:32:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 32 | #define _JAVA_JVMTI_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:8: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: In file included from /usr/local/openjdk8/include/jvmti.h:34: /usr/local/openjdk8/include/jni.h:37:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 37 | #define _JAVASOFT_JNI_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:8: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: In file included from /usr/local/openjdk8/include/jvmti.h:34: In file included from /usr/local/openjdk8/include/jni.h:45: /usr/local/openjdk8/include/freebsd/jni_md.h:27:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 27 | #define _JAVASOFT_JNI_MD_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:8: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: In file included from /usr/local/openjdk8/include/jvmti.h:34: /usr/local/openjdk8/include/jni.h:67:7: warning: identifier '_jobject' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 67 | class _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:68:7: warning: identifier '_jclass' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 68 | class _jclass : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:69:7: warning: identifier '_jthrowable' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 69 | class _jthrowable : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:70:7: warning: identifier '_jstring' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 70 | class _jstring : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:71:7: warning: identifier '_jarray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 71 | class _jarray : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:72:7: warning: identifier '_jbooleanArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 72 | class _jbooleanArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:73:7: warning: identifier '_jbyteArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 73 | class _jbyteArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:74:7: warning: identifier '_jcharArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 74 | class _jcharArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:75:7: warning: identifier '_jshortArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 75 | class _jshortArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:76:7: warning: identifier '_jintArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 76 | class _jintArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:77:7: warning: identifier '_jlongArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 77 | class _jlongArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:78:7: warning: identifier '_jfloatArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 78 | class _jfloatArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:79:7: warning: identifier '_jdoubleArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 79 | class _jdoubleArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:80:7: warning: identifier '_jobjectArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 80 | class _jobjectArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:132:8: warning: identifier '_jfieldID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 132 | struct _jfieldID; | ^ /usr/local/openjdk8/include/jni.h:135:8: warning: identifier '_jmethodID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 135 | struct _jmethodID; | ^ /usr/local/openjdk8/include/jni.h:139:14: warning: identifier '_jobjectType' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 139 | typedef enum _jobjectType { | ^ /usr/local/openjdk8/include/jni.h:1932:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 1932 | #define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:8: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: /usr/local/openjdk8/include/jvmti.h:60:8: warning: identifier '_jvmtiEnv' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 60 | struct _jvmtiEnv; | ^ /usr/local/openjdk8/include/jvmti.h:75:8: warning: identifier '_jrawMonitorID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 75 | struct _jrawMonitorID; | ^ /usr/local/openjdk8/include/jvmti.h:430:8: warning: identifier '_jvmtiThreadInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 430 | struct _jvmtiThreadInfo; | ^ /usr/local/openjdk8/include/jvmti.h:432:8: warning: identifier '_jvmtiMonitorStackDepthInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 432 | struct _jvmtiMonitorStackDepthInfo; | ^ /usr/local/openjdk8/include/jvmti.h:434:8: warning: identifier '_jvmtiThreadGroupInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 434 | struct _jvmtiThreadGroupInfo; | ^ /usr/local/openjdk8/include/jvmti.h:436:8: warning: identifier '_jvmtiFrameInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 436 | struct _jvmtiFrameInfo; | ^ /usr/local/openjdk8/include/jvmti.h:438:8: warning: identifier '_jvmtiStackInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 438 | struct _jvmtiStackInfo; | ^ /usr/local/openjdk8/include/jvmti.h:440:8: warning: identifier '_jvmtiHeapReferenceInfoField' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 440 | struct _jvmtiHeapReferenceInfoField; | ^ /usr/local/openjdk8/include/jvmti.h:442:8: warning: identifier '_jvmtiHeapReferenceInfoArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 442 | struct _jvmtiHeapReferenceInfoArray; | ^ /usr/local/openjdk8/include/jvmti.h:444:8: warning: identifier '_jvmtiHeapReferenceInfoConstantPool' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 444 | struct _jvmtiHeapReferenceInfoConstantPool; | ^ /usr/local/openjdk8/include/jvmti.h:446:8: warning: identifier '_jvmtiHeapReferenceInfoStackLocal' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 446 | struct _jvmtiHeapReferenceInfoStackLocal; | ^ /usr/local/openjdk8/include/jvmti.h:448:8: warning: identifier '_jvmtiHeapReferenceInfoJniLocal' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 448 | struct _jvmtiHeapReferenceInfoJniLocal; | ^ /usr/local/openjdk8/include/jvmti.h:450:8: warning: identifier '_jvmtiHeapReferenceInfoReserved' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 450 | struct _jvmtiHeapReferenceInfoReserved; | ^ /usr/local/openjdk8/include/jvmti.h:452:7: warning: identifier '_jvmtiHeapReferenceInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 452 | union _jvmtiHeapReferenceInfo; | ^ /usr/local/openjdk8/include/jvmti.h:454:8: warning: identifier '_jvmtiHeapCallbacks' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 454 | struct _jvmtiHeapCallbacks; | ^ /usr/local/openjdk8/include/jvmti.h:456:8: warning: identifier '_jvmtiClassDefinition' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 456 | struct _jvmtiClassDefinition; | ^ /usr/local/openjdk8/include/jvmti.h:458:8: warning: identifier '_jvmtiMonitorUsage' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 458 | struct _jvmtiMonitorUsage; | ^ /usr/local/openjdk8/include/jvmti.h:460:8: warning: identifier '_jvmtiLineNumberEntry' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 460 | struct _jvmtiLineNumberEntry; | ^ /usr/local/openjdk8/include/jvmti.h:462:8: warning: identifier '_jvmtiLocalVariableEntry' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 462 | struct _jvmtiLocalVariableEntry; | ^ /usr/local/openjdk8/include/jvmti.h:464:8: warning: identifier '_jvmtiParamInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 464 | struct _jvmtiParamInfo; | ^ /usr/local/openjdk8/include/jvmti.h:466:8: warning: identifier '_jvmtiExtensionFunctionInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 466 | struct _jvmtiExtensionFunctionInfo; | ^ /usr/local/openjdk8/include/jvmti.h:468:8: warning: identifier '_jvmtiExtensionEventInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 468 | struct _jvmtiExtensionEventInfo; | ^ /usr/local/openjdk8/include/jvmti.h:470:8: warning: identifier '_jvmtiTimerInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 470 | struct _jvmtiTimerInfo; | ^ /usr/local/openjdk8/include/jvmti.h:472:8: warning: identifier '_jvmtiAddrLocationMap' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 472 | struct _jvmtiAddrLocationMap; | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:8: /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:84:38: warning: use of old-style cast [-Wold-style-cast] 84 | JVMTI_ERROR(jvmti_->Deallocate((unsigned char *)ref_)); | ^ ~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:36:48: note: expanded from macro 'JVMTI_ERROR' 36 | #define JVMTI_ERROR(error) JVMTI_ERROR_CLEANUP(error, /* nothing */) | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:42:17: note: expanded from macro 'JVMTI_ERROR_CLEANUP' 42 | if ((err = (error)) != JVMTI_ERROR_NONE) { \ | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:84:61: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 84 | JVMTI_ERROR(jvmti_->Deallocate((unsigned char *)ref_)); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:183:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 183 | #define __CAS_INSTR "lock; cmpxchgq %1,%2" | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:184:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 184 | #define __ADD_INSTR "lock; xaddq %0,%1" | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:211:8: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 211 | #undef __CAS_INSTR | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:212:8: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 212 | #undef __ADD_INSTR | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:17:28: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 17 | IMPLICITLY_USE(jvmti_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:18:25: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 18 | IMPLICITLY_USE(thread); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:23:28: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 23 | IMPLICITLY_USE(jvmti_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:24:26: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 24 | IMPLICITLY_USE(jni_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:25:25: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 25 | IMPLICITLY_USE(thread); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:32:28: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 32 | IMPLICITLY_USE(jvmti_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:33:26: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 33 | IMPLICITLY_USE(jni_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:34:25: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 34 | IMPLICITLY_USE(thread); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:35:24: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 35 | IMPLICITLY_USE(klass); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:48:72: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 48 | JVMTI_ERROR((jvmti->GetClassSignature(klass, ksig.GetRef(), NULL))); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:57:25: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 57 | IMPLICITLY_USE(thread); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:58:26: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 58 | IMPLICITLY_USE(jni_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:64:73: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 64 | JVMTI_ERROR((jvmti->GetLoadedClasses(&class_count, classes.GetRef()))); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:75:26: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 75 | IMPLICITLY_USE(jni_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:76:25: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 76 | IMPLICITLY_USE(thread); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:85:28: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 85 | IMPLICITLY_USE(jvmti_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:86:26: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 86 | IMPLICITLY_USE(jni_env); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:146:13: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 146 | false); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:159:15: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 159 | false); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:221:27: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 221 | IMPLICITLY_USE(reserved); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:255:21: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 255 | IMPLICITLY_USE(vm); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:67:20: warning: unsafe buffer access [-Wunsafe-buffer-usage] 67 | jclass klass = classList[i]; | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:117:12: warning: unsafe buffer access [-Wunsafe-buffer-usage] 117 | if ((should_have[i] != 0) && (has[i] == 0)) { | ^~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:117:37: warning: unsafe buffer access [-Wunsafe-buffer-usage] 117 | if ((should_have[i] != 0) && (has[i] == 0)) { | ^~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:158:56: warning: unsafe buffer access [-Wunsafe-buffer-usage] 158 | (jvmti->SetEventNotificationMode(JVMTI_ENABLE, events[i], NULL)), | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:33:25: note: expanded from macro 'JVMTI_ERROR_1' 33 | JVMTI_ERROR_CLEANUP_1(error, retval, /* nothing */) | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:24:17: note: expanded from macro 'JVMTI_ERROR_CLEANUP_1' 24 | if ((err = (error)) != JVMTI_ERROR_NONE) { \ | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:168:22: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 168 | char *name_begin = equals + 1; | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:171:16: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 171 | name_end = equals + strlen(equals); | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/entry.cc:195:29: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 195 | next = strchr((key = next + 1), ',')) { | ^~~~ 79 warnings generated. In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.h:3: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: /usr/local/openjdk8/include/jvmti.h:32:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 32 | #define _JAVA_JVMTI_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.h:3: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: In file included from /usr/local/openjdk8/include/jvmti.h:34: /usr/local/openjdk8/include/jni.h:37:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 37 | #define _JAVASOFT_JNI_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.h:3: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: In file included from /usr/local/openjdk8/include/jvmti.h:34: In file included from /usr/local/openjdk8/include/jni.h:45: /usr/local/openjdk8/include/freebsd/jni_md.h:27:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 27 | #define _JAVASOFT_JNI_MD_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.h:3: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: In file included from /usr/local/openjdk8/include/jvmti.h:34: /usr/local/openjdk8/include/jni.h:67:7: warning: identifier '_jobject' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 67 | class _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:68:7: warning: identifier '_jclass' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 68 | class _jclass : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:69:7: warning: identifier '_jthrowable' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 69 | class _jthrowable : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:70:7: warning: identifier '_jstring' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 70 | class _jstring : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:71:7: warning: identifier '_jarray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 71 | class _jarray : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:72:7: warning: identifier '_jbooleanArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 72 | class _jbooleanArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:73:7: warning: identifier '_jbyteArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 73 | class _jbyteArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:74:7: warning: identifier '_jcharArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 74 | class _jcharArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:75:7: warning: identifier '_jshortArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 75 | class _jshortArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:76:7: warning: identifier '_jintArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 76 | class _jintArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:77:7: warning: identifier '_jlongArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 77 | class _jlongArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:78:7: warning: identifier '_jfloatArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 78 | class _jfloatArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:79:7: warning: identifier '_jdoubleArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 79 | class _jdoubleArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:80:7: warning: identifier '_jobjectArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 80 | class _jobjectArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:132:8: warning: identifier '_jfieldID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 132 | struct _jfieldID; | ^ /usr/local/openjdk8/include/jni.h:135:8: warning: identifier '_jmethodID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 135 | struct _jmethodID; | ^ /usr/local/openjdk8/include/jni.h:139:14: warning: identifier '_jobjectType' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 139 | typedef enum _jobjectType { | ^ /usr/local/openjdk8/include/jni.h:1932:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 1932 | #define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.h:3: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:3: /usr/local/openjdk8/include/jvmti.h:60:8: warning: identifier '_jvmtiEnv' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 60 | struct _jvmtiEnv; | ^ /usr/local/openjdk8/include/jvmti.h:75:8: warning: identifier '_jrawMonitorID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 75 | struct _jrawMonitorID; | ^ /usr/local/openjdk8/include/jvmti.h:430:8: warning: identifier '_jvmtiThreadInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 430 | struct _jvmtiThreadInfo; | ^ /usr/local/openjdk8/include/jvmti.h:432:8: warning: identifier '_jvmtiMonitorStackDepthInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 432 | struct _jvmtiMonitorStackDepthInfo; | ^ /usr/local/openjdk8/include/jvmti.h:434:8: warning: identifier '_jvmtiThreadGroupInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 434 | struct _jvmtiThreadGroupInfo; | ^ /usr/local/openjdk8/include/jvmti.h:436:8: warning: identifier '_jvmtiFrameInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 436 | struct _jvmtiFrameInfo; | ^ /usr/local/openjdk8/include/jvmti.h:438:8: warning: identifier '_jvmtiStackInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 438 | struct _jvmtiStackInfo; | ^ /usr/local/openjdk8/include/jvmti.h:440:8: warning: identifier '_jvmtiHeapReferenceInfoField' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 440 | struct _jvmtiHeapReferenceInfoField; | ^ /usr/local/openjdk8/include/jvmti.h:442:8: warning: identifier '_jvmtiHeapReferenceInfoArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 442 | struct _jvmtiHeapReferenceInfoArray; | ^ /usr/local/openjdk8/include/jvmti.h:444:8: warning: identifier '_jvmtiHeapReferenceInfoConstantPool' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 444 | struct _jvmtiHeapReferenceInfoConstantPool; | ^ /usr/local/openjdk8/include/jvmti.h:446:8: warning: identifier '_jvmtiHeapReferenceInfoStackLocal' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 446 | struct _jvmtiHeapReferenceInfoStackLocal; | ^ /usr/local/openjdk8/include/jvmti.h:448:8: warning: identifier '_jvmtiHeapReferenceInfoJniLocal' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 448 | struct _jvmtiHeapReferenceInfoJniLocal; | ^ /usr/local/openjdk8/include/jvmti.h:450:8: warning: identifier '_jvmtiHeapReferenceInfoReserved' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 450 | struct _jvmtiHeapReferenceInfoReserved; | ^ /usr/local/openjdk8/include/jvmti.h:452:7: warning: identifier '_jvmtiHeapReferenceInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 452 | union _jvmtiHeapReferenceInfo; | ^ /usr/local/openjdk8/include/jvmti.h:454:8: warning: identifier '_jvmtiHeapCallbacks' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 454 | struct _jvmtiHeapCallbacks; | ^ /usr/local/openjdk8/include/jvmti.h:456:8: warning: identifier '_jvmtiClassDefinition' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 456 | struct _jvmtiClassDefinition; | ^ /usr/local/openjdk8/include/jvmti.h:458:8: warning: identifier '_jvmtiMonitorUsage' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 458 | struct _jvmtiMonitorUsage; | ^ /usr/local/openjdk8/include/jvmti.h:460:8: warning: identifier '_jvmtiLineNumberEntry' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 460 | struct _jvmtiLineNumberEntry; | ^ /usr/local/openjdk8/include/jvmti.h:462:8: warning: identifier '_jvmtiLocalVariableEntry' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 462 | struct _jvmtiLocalVariableEntry; | ^ /usr/local/openjdk8/include/jvmti.h:464:8: warning: identifier '_jvmtiParamInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 464 | struct _jvmtiParamInfo; | ^ /usr/local/openjdk8/include/jvmti.h:466:8: warning: identifier '_jvmtiExtensionFunctionInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 466 | struct _jvmtiExtensionFunctionInfo; | ^ /usr/local/openjdk8/include/jvmti.h:468:8: warning: identifier '_jvmtiExtensionEventInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 468 | struct _jvmtiExtensionEventInfo; | ^ /usr/local/openjdk8/include/jvmti.h:470:8: warning: identifier '_jvmtiTimerInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 470 | struct _jvmtiTimerInfo; | ^ /usr/local/openjdk8/include/jvmti.h:472:8: warning: identifier '_jvmtiAddrLocationMap' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 472 | struct _jvmtiAddrLocationMap; | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.h:3: /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:84:38: warning: use of old-style cast [-Wold-style-cast] 84 | JVMTI_ERROR(jvmti_->Deallocate((unsigned char *)ref_)); | ^ ~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:36:48: note: expanded from macro 'JVMTI_ERROR' 36 | #define JVMTI_ERROR(error) JVMTI_ERROR_CLEANUP(error, /* nothing */) | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:42:17: note: expanded from macro 'JVMTI_ERROR_CLEANUP' 42 | if ((err = (error)) != JVMTI_ERROR_NONE) { \ | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:84:61: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 84 | JVMTI_ERROR(jvmti_->Deallocate((unsigned char *)ref_)); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:183:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 183 | #define __CAS_INSTR "lock; cmpxchgq %1,%2" | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:184:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 184 | #define __ADD_INSTR "lock; xaddq %0,%1" | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:211:8: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 211 | #undef __CAS_INSTR | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:212:8: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 212 | #undef __ADD_INSTR | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:57:25: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 57 | IMPLICITLY_USE(signum); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:58:23: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 58 | IMPLICITLY_USE(info); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:137:38: warning: zero as null pointer constant [-Wzero-as-null-pointer-constant] 137 | if (setitimer(ITIMER_PROF, &timer, 0) == -1) { | ^ | nullptr /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:44:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] 44 | h += reinterpret_cast(trace->frames[i].method_id); | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:47:33: warning: unsafe buffer access [-Wunsafe-buffer-usage] 47 | h += static_cast(trace->frames[i].lineno); | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:75:28: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 75 | for (char *p = base; p < base + sizeof(JVMPI_CallFrame) * kMaxFramesToCapture; | ^~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:76:8: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 76 | p++) { | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:91:5: warning: unsafe buffer access [-Wunsafe-buffer-usage] 91 | failures_[idx]++; | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:100:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] 100 | intptr_t *count = &(traces_[i].count); | ^~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:103:29: warning: unsafe buffer access [-Wunsafe-buffer-usage] 103 | JVMPI_CallFrame *fb = frame_buffer_[i]; | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:105:43: warning: unsafe buffer access [-Wunsafe-buffer-usage] 105 | base = reinterpret_cast(&(fb[frame_num])); | ^~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:107:34: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 107 | for (char *p = base; p < base + sizeof(JVMPI_CallFrame); p++) { | ^~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:107:66: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 107 | for (char *p = base; p < base + sizeof(JVMPI_CallFrame); p++) { | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:110:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] 110 | fb[frame_num].lineno = trace.frames[frame_num].lineno; | ^~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:110:32: warning: unsafe buffer access [-Wunsafe-buffer-usage] 110 | fb[frame_num].lineno = trace.frames[frame_num].lineno; | ^~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:111:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] 111 | fb[frame_num].method_id = trace.frames[frame_num].method_id; | ^~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:111:35: warning: unsafe buffer access [-Wunsafe-buffer-usage] 111 | fb[frame_num].method_id = trace.frames[frame_num].method_id; | ^~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:114:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] 114 | traces_[i].trace.frames = fb; | ^~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:115:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] 115 | traces_[i].trace.num_frames = trace.num_frames; | ^~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:119:10: warning: unsafe buffer access [-Wunsafe-buffer-usage] 119 | if ((traces_[i].trace.num_frames == trace.num_frames) && | ^~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:120:17: warning: unsafe buffer access [-Wunsafe-buffer-usage] 120 | (memcmp(traces_[i].trace.frames, trace.frames, | ^~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:122:35: warning: unsafe buffer access [-Wunsafe-buffer-usage] 122 | NoBarrier_AtomicIncrement(&(traces_[i].count), 1); | ^~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:213:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] 213 | failures_[-kNativeStackTrace], failures_[-kNoClassLoad], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:213:42: warning: unsafe buffer access [-Wunsafe-buffer-usage] 213 | failures_[-kNativeStackTrace], failures_[-kNoClassLoad], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:214:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] 214 | failures_[-kGcTraceError], failures_[-kUnknownNotJava], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:214:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] 214 | failures_[-kGcTraceError], failures_[-kUnknownNotJava], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:215:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] 215 | failures_[-kNotWalkableFrameNotJava], failures_[-kUnknownJava], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:215:49: warning: unsafe buffer access [-Wunsafe-buffer-usage] 215 | failures_[-kNotWalkableFrameNotJava], failures_[-kUnknownJava], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:216:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] 216 | failures_[-kNotWalkableFrameJava], failures_[-kUnknownState], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:216:46: warning: unsafe buffer access [-Wunsafe-buffer-usage] 216 | failures_[-kNotWalkableFrameJava], failures_[-kUnknownState], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:217:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] 217 | failures_[-kTicksThreadExit], failures_[-kDeoptHandler], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:217:41: warning: unsafe buffer access [-Wunsafe-buffer-usage] 217 | failures_[-kTicksThreadExit], failures_[-kDeoptHandler], | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/profiler.cc:218:11: warning: unsafe buffer access [-Wunsafe-buffer-usage] 218 | failures_[-kSafepoint]); | ^~~~~~~~~ 84 warnings generated. In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.h:1: /usr/local/openjdk8/include/jvmti.h:32:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 32 | #define _JAVA_JVMTI_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.h:1: In file included from /usr/local/openjdk8/include/jvmti.h:34: /usr/local/openjdk8/include/jni.h:37:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 37 | #define _JAVASOFT_JNI_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.h:1: In file included from /usr/local/openjdk8/include/jvmti.h:34: In file included from /usr/local/openjdk8/include/jni.h:45: /usr/local/openjdk8/include/freebsd/jni_md.h:27:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 27 | #define _JAVASOFT_JNI_MD_H_ | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.h:1: In file included from /usr/local/openjdk8/include/jvmti.h:34: /usr/local/openjdk8/include/jni.h:67:7: warning: identifier '_jobject' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 67 | class _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:68:7: warning: identifier '_jclass' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 68 | class _jclass : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:69:7: warning: identifier '_jthrowable' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 69 | class _jthrowable : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:70:7: warning: identifier '_jstring' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 70 | class _jstring : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:71:7: warning: identifier '_jarray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 71 | class _jarray : public _jobject {}; | ^ /usr/local/openjdk8/include/jni.h:72:7: warning: identifier '_jbooleanArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 72 | class _jbooleanArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:73:7: warning: identifier '_jbyteArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 73 | class _jbyteArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:74:7: warning: identifier '_jcharArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 74 | class _jcharArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:75:7: warning: identifier '_jshortArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 75 | class _jshortArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:76:7: warning: identifier '_jintArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 76 | class _jintArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:77:7: warning: identifier '_jlongArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 77 | class _jlongArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:78:7: warning: identifier '_jfloatArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 78 | class _jfloatArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:79:7: warning: identifier '_jdoubleArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 79 | class _jdoubleArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:80:7: warning: identifier '_jobjectArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 80 | class _jobjectArray : public _jarray {}; | ^ /usr/local/openjdk8/include/jni.h:132:8: warning: identifier '_jfieldID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 132 | struct _jfieldID; | ^ /usr/local/openjdk8/include/jni.h:135:8: warning: identifier '_jmethodID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 135 | struct _jmethodID; | ^ /usr/local/openjdk8/include/jni.h:139:14: warning: identifier '_jobjectType' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 139 | typedef enum _jobjectType { | ^ /usr/local/openjdk8/include/jni.h:1932:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 1932 | #define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.h:1: /usr/local/openjdk8/include/jvmti.h:60:8: warning: identifier '_jvmtiEnv' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 60 | struct _jvmtiEnv; | ^ /usr/local/openjdk8/include/jvmti.h:75:8: warning: identifier '_jrawMonitorID' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 75 | struct _jrawMonitorID; | ^ /usr/local/openjdk8/include/jvmti.h:430:8: warning: identifier '_jvmtiThreadInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 430 | struct _jvmtiThreadInfo; | ^ /usr/local/openjdk8/include/jvmti.h:432:8: warning: identifier '_jvmtiMonitorStackDepthInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 432 | struct _jvmtiMonitorStackDepthInfo; | ^ /usr/local/openjdk8/include/jvmti.h:434:8: warning: identifier '_jvmtiThreadGroupInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 434 | struct _jvmtiThreadGroupInfo; | ^ /usr/local/openjdk8/include/jvmti.h:436:8: warning: identifier '_jvmtiFrameInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 436 | struct _jvmtiFrameInfo; | ^ /usr/local/openjdk8/include/jvmti.h:438:8: warning: identifier '_jvmtiStackInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 438 | struct _jvmtiStackInfo; | ^ /usr/local/openjdk8/include/jvmti.h:440:8: warning: identifier '_jvmtiHeapReferenceInfoField' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 440 | struct _jvmtiHeapReferenceInfoField; | ^ /usr/local/openjdk8/include/jvmti.h:442:8: warning: identifier '_jvmtiHeapReferenceInfoArray' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 442 | struct _jvmtiHeapReferenceInfoArray; | ^ /usr/local/openjdk8/include/jvmti.h:444:8: warning: identifier '_jvmtiHeapReferenceInfoConstantPool' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 444 | struct _jvmtiHeapReferenceInfoConstantPool; | ^ /usr/local/openjdk8/include/jvmti.h:446:8: warning: identifier '_jvmtiHeapReferenceInfoStackLocal' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 446 | struct _jvmtiHeapReferenceInfoStackLocal; | ^ /usr/local/openjdk8/include/jvmti.h:448:8: warning: identifier '_jvmtiHeapReferenceInfoJniLocal' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 448 | struct _jvmtiHeapReferenceInfoJniLocal; | ^ /usr/local/openjdk8/include/jvmti.h:450:8: warning: identifier '_jvmtiHeapReferenceInfoReserved' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 450 | struct _jvmtiHeapReferenceInfoReserved; | ^ /usr/local/openjdk8/include/jvmti.h:452:7: warning: identifier '_jvmtiHeapReferenceInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 452 | union _jvmtiHeapReferenceInfo; | ^ /usr/local/openjdk8/include/jvmti.h:454:8: warning: identifier '_jvmtiHeapCallbacks' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 454 | struct _jvmtiHeapCallbacks; | ^ /usr/local/openjdk8/include/jvmti.h:456:8: warning: identifier '_jvmtiClassDefinition' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 456 | struct _jvmtiClassDefinition; | ^ /usr/local/openjdk8/include/jvmti.h:458:8: warning: identifier '_jvmtiMonitorUsage' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 458 | struct _jvmtiMonitorUsage; | ^ /usr/local/openjdk8/include/jvmti.h:460:8: warning: identifier '_jvmtiLineNumberEntry' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 460 | struct _jvmtiLineNumberEntry; | ^ /usr/local/openjdk8/include/jvmti.h:462:8: warning: identifier '_jvmtiLocalVariableEntry' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 462 | struct _jvmtiLocalVariableEntry; | ^ /usr/local/openjdk8/include/jvmti.h:464:8: warning: identifier '_jvmtiParamInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 464 | struct _jvmtiParamInfo; | ^ /usr/local/openjdk8/include/jvmti.h:466:8: warning: identifier '_jvmtiExtensionFunctionInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 466 | struct _jvmtiExtensionFunctionInfo; | ^ /usr/local/openjdk8/include/jvmti.h:468:8: warning: identifier '_jvmtiExtensionEventInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 468 | struct _jvmtiExtensionEventInfo; | ^ /usr/local/openjdk8/include/jvmti.h:470:8: warning: identifier '_jvmtiTimerInfo' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 470 | struct _jvmtiTimerInfo; | ^ /usr/local/openjdk8/include/jvmti.h:472:8: warning: identifier '_jvmtiAddrLocationMap' is reserved because it starts with '_' at global scope [-Wreserved-identifier] 472 | struct _jvmtiAddrLocationMap; | ^ In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:1: In file included from /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.h:6: /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:84:38: warning: use of old-style cast [-Wold-style-cast] 84 | JVMTI_ERROR(jvmti_->Deallocate((unsigned char *)ref_)); | ^ ~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:36:48: note: expanded from macro 'JVMTI_ERROR' 36 | #define JVMTI_ERROR(error) JVMTI_ERROR_CLEANUP(error, /* nothing */) | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:42:17: note: expanded from macro 'JVMTI_ERROR_CLEANUP' 42 | if ((err = (error)) != JVMTI_ERROR_NONE) { \ | ^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:84:61: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 84 | JVMTI_ERROR(jvmti_->Deallocate((unsigned char *)ref_)); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:183:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 183 | #define __CAS_INSTR "lock; cmpxchgq %1,%2" | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:184:9: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 184 | #define __ADD_INSTR "lock; xaddq %0,%1" | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:211:8: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 211 | #undef __CAS_INSTR | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/globals.h:212:8: warning: macro name is a reserved identifier [-Wreserved-macro-identifier] 212 | #undef __ADD_INSTR | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:183:13: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 183 | false); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:188:53: warning: empty expression statement has no effect; remove unnecessary ';' to silence this warning [-Wextra-semi-stmt] 188 | false, signature_ptr2.AbandonBecauseOfError()); | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:20:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] 20 | if (traces[i].count != 0) { | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:21:16: warning: unsafe buffer access [-Wunsafe-buffer-usage] 21 | total += traces[i].count; | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:23:38: warning: unsafe buffer access [-Wunsafe-buffer-usage] 23 | fprintf(file_, "%" PRIdPTR" ", traces[i].count); | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:24:24: warning: unsafe buffer access [-Wunsafe-buffer-usage] 24 | PrintStackTrace(&traces[i]); | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:44:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] 44 | if (traces[i].count != 0) { | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:45:30: warning: unsafe buffer access [-Wunsafe-buffer-usage] 45 | JVMPI_CallTrace *t = &(traces[i].trace); | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:47:37: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 47 | JVMPI_CallFrame *last_frame = f + t->num_frames; | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:49:9: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 49 | f++; | ^ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:56:28: warning: unsafe buffer access [-Wunsafe-buffer-usage] 56 | hot_methods[pair] += traces[i].count; | ^~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:101:9: warning: unsafe buffer access [-Wunsafe-buffer-usage] 101 | if (signature_ptr[i] == '/') { | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:102:7: warning: unsafe buffer access [-Wunsafe-buffer-usage] 102 | signature_ptr[i] = '.'; | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:105:3: warning: unsafe buffer access [-Wunsafe-buffer-usage] 105 | signature_ptr[signature_length - 1] = '\0'; | ^~~~~~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:134:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] 134 | if ((location < table_ptr[l].start_location) && | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:136:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] 136 | line_number = table_ptr[l-1].line_number; | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:139:25: warning: unsafe buffer access [-Wunsafe-buffer-usage] 139 | last_location = table_ptr[l].start_location; | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:142:16: warning: unsafe buffer access [-Wunsafe-buffer-usage] 142 | return table_ptr[entry_count - 1].line_number; | ^~~~~~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:205:32: warning: unsafe pointer arithmetic [-Wunsafe-buffer-usage] 205 | *class_name = signature_ptr2.Get() + 1; | ~~~~~~~~~~~~~~~^~~~~ /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/src/display.cc:242:37: warning: unsafe buffer access [-Wunsafe-buffer-usage] 242 | JVMPI_CallFrame *curr_frame = &(t->frames[i]); | ^~~~~~~~~ 71 warnings generated. cc -std=c++11 -fdiagnostics-show-option -fno-exceptions -fno-omit-frame-pointer -fno-strict-aliasing -funsigned-char -fno-asynchronous-unwind-tables -m64 -msse2 -g -D__STDC_FORMAT_MACROS -Weverything -Wno-c++98-compat-pedantic -Wno-padded -Wno-missing-prototypes -Wall -Wformat-security -Wno-char-subscripts -Wno-sign-compare -Wno-strict-overflow -Wwrite-strings -Wnon-virtual-dtor -Woverloaded-virtual -O2 -shared -o build/liblagent.so \ -Bsymbolic build/display.pic.o build/entry.pic.o build/profiler.pic.o -lc =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> lightweight-java-profiler-g20170308 depends on package: bash>=0 - found ===> lightweight-java-profiler-g20170308 depends on file: /usr/local/openjdk8/bin/java - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for lightweight-java-profiler-g20170308 ===> Generating temporary packing list install -s -m 0644 /wrkdirs/usr/ports/java/lightweight-java-profiler/work/lightweight-java-profiler-e8041b5/build/liblagent.so /wrkdirs/usr/ports/java/lightweight-java-profiler/work/stage//usr/local/lib/liblagent.so ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-22T01:24:40+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=0835676e361b' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for lightweight-java-profiler-g20170308 ===> Building lightweight-java-profiler-g20170308 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for lightweight-java-profiler-g20170308 build of java/lightweight-java-profiler | lightweight-java-profiler-g20170308 ended at Wed Jan 21 20:24:46 EST 2026 build time: 00:00:07