https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237370
Francis Little <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #17 from Francis Little <[email protected]> ---
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 on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.