=>> Building java/lightweight-java-profiler build started at Mon May 5 17:35:55 BST 2025 port directory: /usr/ports/java/lightweight-java-profiler package name: lightweight-java-profiler-g20170308 building for: FreeBSD pkg-builder.dan.net.uk 14.2-RELEASE FreeBSD 14.2-RELEASE amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 896 Jan 27 13:48 /usr/ports/java/lightweight-java-profiler/Makefile Ports top last git commit: 5529c5919b Ports top unclean checkout: yes Port dir last git commit: 0835676e36 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1402000 Jail OSVERSION: 1402000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1402000 UNAME_v=FreeBSD 14.2-RELEASE UNAME_r=14.2-RELEASE 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/14-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=14-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/14-amd64-default-dan/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=" -fstack-protector-strong " 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.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl apache=2.4 imagemagick=7 java=21 linux=c7 mysql=8.0 php=8.3 samba=4.19 varnish=7 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE ALLOW_UNSUPPORTED_SYSTEM=yes WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---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.1.2.pkg [pkg-builder.dan.net.uk] Installing pkg-2.1.2... [pkg-builder.dan.net.uk] Extracting pkg-2.1.2: .......... 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.2.37.pkg [pkg-builder.dan.net.uk] Installing bash-5.2.37... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.23.1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1_1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1_1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.23.1: .......... done [pkg-builder.dan.net.uk] Extracting bash-5.2.37: .......... 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-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] 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.452.09.1.pkg [pkg-builder.dan.net.uk] Installing openjdk8-8.452.09.1... [pkg-builder.dan.net.uk] `-- Installing alsa-lib-1.2.13... [pkg-builder.dan.net.uk] `-- Extracting alsa-lib-1.2.13: .......... done [pkg-builder.dan.net.uk] `-- Installing dejavu-2.37_3... [pkg-builder.dan.net.uk] | `-- Installing fontconfig-2.15.0_3,1... [pkg-builder.dan.net.uk] | | `-- Installing expat-2.7.1... [pkg-builder.dan.net.uk] | | `-- Extracting expat-2.7.1: .......... done [pkg-builder.dan.net.uk] | | `-- Installing freetype2-2.13.3... [pkg-builder.dan.net.uk] | | `-- Extracting freetype2-2.13.3: .......... done [pkg-builder.dan.net.uk] | `-- Extracting fontconfig-2.15.0_3,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing mkfontscale-1.2.3... [pkg-builder.dan.net.uk] | | `-- Installing libfontenc-1.1.8... [pkg-builder.dan.net.uk] | | `-- Extracting libfontenc-1.1.8: ...... done [pkg-builder.dan.net.uk] | `-- Extracting mkfontscale-1.2.3: .... done [pkg-builder.dan.net.uk] `-- Extracting dejavu-2.37_3: .......... done [pkg-builder.dan.net.uk] `-- Installing giflib-5.2.2... [pkg-builder.dan.net.uk] `-- Extracting giflib-5.2.2: .......... done [pkg-builder.dan.net.uk] `-- Installing java-zoneinfo-2021.e... [pkg-builder.dan.net.uk] `-- Extracting java-zoneinfo-2021.e: .......... done [pkg-builder.dan.net.uk] `-- Installing javavmwrapper-2.7.10... [pkg-builder.dan.net.uk] `-- Extracting javavmwrapper-2.7.10: .......... done [pkg-builder.dan.net.uk] `-- Installing libX11-1.8.12,1... [pkg-builder.dan.net.uk] | `-- Installing libxcb-1.17.0... [pkg-builder.dan.net.uk] | | `-- Installing libXau-1.0.11... [pkg-builder.dan.net.uk] | | `-- Extracting libXau-1.0.11: .......... done [pkg-builder.dan.net.uk] | | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2024.1... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2024.1: .......... done [pkg-builder.dan.net.uk] | | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] | `-- Extracting libxcb-1.17.0: .......... done [pkg-builder.dan.net.uk] `-- Extracting libX11-1.8.12,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] `-- Extracting libXext-1.3.6,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXi-1.8.1,1... [pkg-builder.dan.net.uk] | `-- Installing libXfixes-6.0.1... [pkg-builder.dan.net.uk] | `-- Extracting libXfixes-6.0.1: ....... done [pkg-builder.dan.net.uk] `-- Extracting libXi-1.8.1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXrender-0.9.12... [pkg-builder.dan.net.uk] `-- Extracting libXrender-0.9.12: ....... done [pkg-builder.dan.net.uk] `-- Installing libXt-1.3.0,1... [pkg-builder.dan.net.uk] | `-- Installing libICE-1.1.1,1... [pkg-builder.dan.net.uk] | `-- Extracting libICE-1.1.1,1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libSM-1.2.6,1... [pkg-builder.dan.net.uk] | `-- Extracting libSM-1.2.6,1: ........ done [pkg-builder.dan.net.uk] `-- Extracting libXt-1.3.0,1: .......... done [pkg-builder.dan.net.uk] `-- Installing libXtst-1.2.4... [pkg-builder.dan.net.uk] `-- Extracting libXtst-1.2.4: .......... done [pkg-builder.dan.net.uk] `-- Installing libinotify-20240724_1... [pkg-builder.dan.net.uk] `-- Extracting libinotify-20240724_1: .......... done [pkg-builder.dan.net.uk] Extracting openjdk8-8.452.09.1: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.13.3: -- 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 dejavu-2.37_3: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. ===== Message from libinotify-20240724_1: -- 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.452.09.1: -- This OpenJDK implementation may require fdescfs(5) mounted on /dev/fd and procfs(5) mounted on /proc for some applications. If you have not done it yet, please do the following: mount -t fdescfs fdesc /dev/fd mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: fdesc /dev/fd fdescfs rw 0 0 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-builder.dan.net.uk] Installing ccache-3.7.12_8... [pkg-builder.dan.net.uk] 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 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 -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 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. 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/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. 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=2025-05-05T16:35:55+0000' 'PKG_NOTE_ports_top_git_hash=5529c5919b' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=0835676e36' '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 Mon May 5 17:37:01 BST 2025 build time: 00:01:06