maintainer-feedback requested: [Bug 281991] java/openjdk8: build broken on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Oct 2024 15:20:36 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-java (Nobody)
<java@FreeBSD.org> for maintainer-feedback:
Bug 281991: java/openjdk8: build broken on armv7
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281991



--- Description ---
See
https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p4a16d2e85dd9_sb
7cbf741d/logs/openjdk8-8.422.05.1_1.log

In file included from
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/os/bsd/v
m/os_perf_bsd.cpp:61:
In file included from /usr/include/sys/user.h:51:
In file included from /usr/include/vm/pmap.h:88:
In file included from /usr/include/machine/pmap.h:48:
In file included from /usr/include/sys/systm.h:46:
/usr/include/machine/cpufunc.h:184:1: error: static declaration of 'breakpoint'
follows non-static declaration
  184 | breakpoint(void)
      | ^
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/share/vm
/utilities/globalDefinitions_gcc.hpp:224:17:
note: previous declaration is here
  224 | extern "C" void breakpoint();
      | 		^

Attachment 254105 "v1" in bug #255662 contains a fix for the same error.