Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2019 20:17:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        java@FreeBSD.org
Subject:   [Bug 237370] java/openjdk12: Add powerpc64 support
Message-ID:  <bug-237370-8522-xD1m9su27N@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-237370-8522@https.bugs.freebsd.org/bugzilla/>
References:  <bug-237370-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=3D237370

Francis Little <oggy@farscape.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oggy@farscape.co.uk

--- Comment #17 from Francis Little <oggy@farscape.co.uk> ---
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.=



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