[Bug 237370] java/openjdk12: Add powerpc64 support

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 5 20:17:05 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237370

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

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

--- Comment #17 from Francis Little <oggy at farscape.co.uk> ---
Tried a build of this on PPC (PowerMac), using the same build commands as with
openjdk11 from the other bug.

Pulled the latest from the bsd-port branch.

I had to remove --with-milestone=fcs \ when running the configure as it says:
configure: error: unrecognized options: --with-milestone

Removing that I can start the compile, but get errors:

=== Output from failing command(s) repeated here ===
/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:" < 
/root/jdk/openjdk-jdk12u/build/bsd-ppc64-server-release/make-support/failure-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:5761: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=stringop-truncation]
     strncpy(new_anon_name, host_pkg_name, host_pkg_len);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/jdk/openjdk-jdk12u/src/hotspot/share/classfile/classFileParser.cpp:5756:33:
note: length computed here
     size_t host_pkg_len = 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/failure-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:" < 
/root/jdk/openjdk-jdk12u/build/bsd-ppc64-server-release/make-support/failure-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=stringop-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 = (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/failure-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/failure-logs.\n"

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-java mailing list