[Bug 281991] java/openjdk8: build broken on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 11 Oct 2024 11:56:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281991

--- Comment #2 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=e13c81137266603a6a0700810b6bad419f9d98c8

commit e13c81137266603a6a0700810b6bad419f9d98c8
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-10-10 15:12:51 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-10-11 11:55:05 +0000

    java/openjdk8: fix build on 32 bit arm

    Fixes:
    In file included from
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/os/bsd/vm/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();
          |                 ^

    - bumped portrevision to easily spot if future bug reports are about this
change.

    PR:     281991
    Approved by:    early maintainer timeout java@ (the build is broken and the
patch does not affect other architectures)
    Obtained from:  Mikael Urankar <mikael@> via Attachment 254105 in bug
#255662

 java/openjdk8/Makefile                                    |  2 +-
 .../patch-hotspot_src_os_bsd_vm_os__perf__bsd.cpp (new)   | 15 +++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.