Date: Mon, 06 Nov 2023 14:11:31 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274940] java/openjdk17 Message-ID: <bug-274940-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274940 Bug ID: 274940 Summary: java/openjdk17 Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: java@FreeBSD.org Reporter: jontheil@gmail.com Flags: maintainer-feedback?(java@FreeBSD.org) Assignee: java@FreeBSD.org I can't build the port on an arm64 system. The log shows /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:966:62: error: function definition is not allowed here=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [24/10617] void os::print_tos_pc(outputStream *st, const void *context) {=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:983:69: error: function definition is not allowed here=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 void os::print_register_info(outputStream *st, const void *context) {=20=20= =20=20=20=20=20=20=20=20=20 ^=20=20= =20=20=20=20=20=20=20=20=20 /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:1010:22: error: function definition is not allowed here void os::setup_fpu() { ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:1019:36: error: function definition is not allowed here int os::extra_bang_size_in_bytes() { ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:1024:8: error: expected unqualified-id extern "C" { ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:1094:20: error: expected '}' #endif // __APPLE__ ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:950:63: note: to match this '{' void os::print_context(outputStream *st, const void *context) { ^ 6 errors generated. gmake[4]: *** [lib/CompileJvm.gmk:160: /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/build/bsd-aarch64-serv= er-release/hotspot/variant-server/libjvm/objs/os_bsd_aarch64.o] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory '/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/make/hotspot' gmake[3]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2 gmake[3]: Leaving directory '/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1' ERROR: Build failed for target 'images' in configuration 'bsd-aarch64-server-release' (exit code 2)=20 gmake[3]: Entering directory '/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1' =3D=3D=3D Output from failing command(s) repeated here =3D=3D=3D * For target hotspot_variant-server_libjvm_objs_os_bsd_aarch64.o: /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:966:62: error: function definition is not allowed here void os::print_tos_pc(outputStream *st, const void *context) { ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:983:69: error: function definition is not allowed here void os::print_register_info(outputStream *st, const void *context) { ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:1010:22: error: function definition is not allowed here void os::setup_fpu() { ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:1019:36: error: function definition is not allowed here int os::extra_bang_size_in_bytes() { ^ /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/src/hotspot/os_cpu/bsd= _aarch64/os_bsd_aarch64.cpp:1024:8: error: expected unqualified-id extern "C" { ^ ... (rest of output omitted) * All command lines available in /usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/build/bsd-aarch64-serv= er-release/make-support/failure-logs. =3D=3D=3D End of repeated output =3D=3D=3D No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. gmake[3]: Leaving directory '/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1' gmake[2]: *** [/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/make/Init.gmk:318: ma= in] Error 2 gmake[2]: Leaving directory '/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1' gmake[1]: *** [/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1/make/Init.gmk:189: images] Error 2 gmake[1]: Leaving directory '/usr/ports/java/openjdk17/work/jdk17u-jdk-17.0.9-9-1' =3D=3D=3D> Compilation failed unexpectedly. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274940-7788>