From nobody Mon Nov 6 14:11:31 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SPCvS1DYNz4yk0q for ; Mon, 6 Nov 2023 14:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SPCvS09y8z3F4T for ; Mon, 6 Nov 2023 14:11:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699279892; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Q7wOOTGUBk7fYlpCShn2fBfy8buzNlzxM1svrfUJXLs=; b=Bj0pxSDubKzh/+FxRQMHWEK0ccGhrWJ/6Hi5lAdffJ4BX2oBmCcmnNK/MEi0gv1k82GNrL 81IGFfjMxSYaHdr7juWBwbsTFooMs8duyfvc5u428MJRUeMYuEq0KApgSEQUFdspy7i+Md 9M5pnPtno4WNFlaqqaMX0I0Wxfa6Kk89stvp/rM91YIcc2EVDL0v9Z3YxZe197rBhFcD9K f+WKTi+QjYjG4nXVsK6otswO7gZdVe26BkfOoAbWdpQd/s7NR+6uSqpA7yl6Z1iG962qCD frjX83j9ZPiMHsnWZzOKJvi7U/kFEEFvRg6VVRemxM66uNP2ZSX5vLh0eHv3iA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699279892; a=rsa-sha256; cv=none; b=cc7KSkvLW1IVOS1CYn1F7xle3iZqxN81iWGHjJgBfCOGzDIRgakZ/UTggO4AQt+vPGvOdF +jkS7x83k0TnQ7+ah1hpvGwcTDdjDmAJ5hdLTZSfD1ykyiMt6VDl7+nx2uc7xmpsB6pCQL s49Q0Cfly/pUkXjgTH+maMzmPkrmgkZZgHflnVS90u4m4NwJ11jk4Cm/PzHij4itRIwEZV /22caSwgJFz1coni5dFT2R2lFknVTWOK5CLrbqkbDQi4qgpBmiDPJnh6u9Zfk8Y8g/AZou 1B/mzT3vsPS8eulKl6zvWUvgVoqXfyI2CDgBo+7A+fO0XxN5v3LYjC7OPxSQFw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SPCvR6M5dz18fj for ; Mon, 6 Nov 2023 14:11:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3A6EBVTV020646 for ; Mon, 6 Nov 2023 14:11:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3A6EBVpB020645 for ports-bugs@FreeBSD.org; Mon, 6 Nov 2023 14:11:31 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274940] java/openjdk17 Date: Mon, 06 Nov 2023 14:11:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jontheil@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 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.=