From owner-freebsd-java@freebsd.org Sun May 5 20:17:05 2019 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3B5D61594176 for ; Sun, 5 May 2019 20:17:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9E8BF6FD69 for ; Sun, 5 May 2019 20:17:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5ED5E1594175; Sun, 5 May 2019 20:17:04 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 227001594173 for ; Sun, 5 May 2019 20:17:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B2F016FD68 for ; Sun, 5 May 2019 20:17:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id EBB07C96F for ; Sun, 5 May 2019 20:17:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x45KH2Hp057071 for ; Sun, 5 May 2019 20:17:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x45KH2Xf057070 for java@FreeBSD.org; Sun, 5 May 2019 20:17:02 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: java@FreeBSD.org Subject: [Bug 237370] java/openjdk12: Add powerpc64 support Date: Sun, 05 May 2019 20:17:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: feature, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: oggy@farscape.co.uk X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: java@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 May 2019 20:17:05 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237370 Francis Little changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oggy@farscape.co.uk --- Comment #17 from Francis Little --- Tried a build of this on PPC (PowerMac), using the same build commands as w= ith openjdk11 from the other bug. Pulled the latest from the bsd-port branch. I had to remove --with-milestone=3Dfcs \ when running the configure as it s= ays: configure: error: unrecognized options: --with-milestone Removing that I can start the compile, but get errors: =3D=3D=3D Output from failing command(s) repeated here =3D=3D=3D /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_classFileParser.o:\n" * For target hotspot_variant-server_libjvm_objs_classFileParser.o: (/usr/bin/grep -v -e "^Note: including file:" <=20 /root/jdk/openjdk-jdk12u/build/bsd-ppc64-server-release/make-support/failur= e-logs/hotspot_variant-server_libjvm_objs_classFileParser.o.log || true) | /usr/bin/head -n 12 /root/jdk/openjdk-jdk12u/src/hotspot/share/classfile/classFileParser.cpp: In member function 'void ClassFileParser::prepend_host_package_name(const InstanceKlass*, Thread*)': /root/jdk/openjdk-jdk12u/src/hotspot/share/classfile/classFileParser.cpp:57= 61:12: error: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=3Dstringop-truncation] strncpy(new_anon_name, host_pkg_name, host_pkg_len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/jdk/openjdk-jdk12u/src/hotspot/share/classfile/classFileParser.cpp:57= 56:33: note: length computed here size_t host_pkg_len =3D strlen(host_pkg_name); ~~~~~~^~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors if test `/usr/bin/wc -l < /root/jdk/openjdk-jdk12u/build/bsd-ppc64-server-release/make-support/failur= e-logs/hotspot_variant-server_libjvm_objs_classFileParser.o.log` -gt 12; then /bin/echo " ... (rest of output omitted)" ; fi /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_classLoaderExt.o:\n" * For target hotspot_variant-server_libjvm_objs_classLoaderExt.o: (/usr/bin/grep -v -e "^Note: including file:" <=20 /root/jdk/openjdk-jdk12u/build/bsd-ppc64-server-release/make-support/failur= e-logs/hotspot_variant-server_libjvm_objs_classLoaderExt.o.log || true) | /usr/bin/head -n 12 /root/jdk/openjdk-jdk12u/src/hotspot/share/classfile/classLoaderExt.cpp: In static member function 'static void ClassLoaderExt::process_jar_manifest(ClassPathEntry*, bool)': /root/jdk/openjdk-jdk12u/src/hotspot/share/classfile/classLoaderExt.cpp:212= :16: error: 'char* strncat(char*, const char*, size_t)' output truncated before terminating nul copying as many bytes from a string as its length [-Werror=3Dstringop-truncation] strncat(libname, file_start, name_len); ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /root/jdk/openjdk-jdk12u/src/hotspot/share/classfile/classLoaderExt.cpp:206= :33: note: length computed here int name_len =3D (int)strlen(file_start); ~~~~~~^~~~~~~~~~~~ cc1plus: all warnings being treated as errors if test `/usr/bin/wc -l < /root/jdk/openjdk-jdk12u/build/bsd-ppc64-server-release/make-support/failur= e-logs/hotspot_variant-server_libjvm_objs_classLoaderExt.o.log` -gt 12; then /bin/echo " ... (rest of output omitted)" ; fi /usr/bin/printf "\n* All command lines available in /root/jdk/openjdk-jdk12u/build/bsd-ppc64-server-release/make-support/failur= e-logs.\n" --=20 You are receiving this mail because: You are the assignee for the bug.=