Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2024 11:56:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 281991] java/openjdk8: build broken on armv7
Message-ID:  <bug-281991-8522-ulE3iYHmS9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281991-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-281991-8522@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281991

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

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3De13c81137266603a6a0700810b6bad4=
19f9d98c8

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/b=
sd/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)
          | ^
=20=20=20
/wrkdirs/usr/ports/java/openjdk8/work/jdk8u-jdk8u422-b05.1/hotspot/src/shar=
e/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 th=
is
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(-)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281991-8522-ulE3iYHmS9>