RFR (XS) 8223637: PPC64 and S390X build failures after 8223136 (Move compressed oops functions to CompressedOops class)

Stefan Karlsson stefan.karlsson at oracle.com
Fri May 10 11:34:27 UTC 2019


On 2019-05-10 13:31, John Paul Adrian Glaubitz wrote:
> On 5/10/19 1:23 PM, Stefan Karlsson wrote:
>> Do you need a line for the AD.__HPP_file ?
>>
>>     AD.addInclude(AD._HPP_file, "oops/compressedOops.hpp");
> 
> Yes, getting further now:

This needs an:
#include "oops/oopsHierarchy.hpp" in compressedOops.hpp

StefanK

> 
> === Output from failing command(s) repeated here ===
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc.hpp:32,
>                   from ad_sparc.cpp:29:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_clone.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc_clone.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_clone.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc.hpp:32,
>                   from ad_sparc_clone.cpp:28:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_clone.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_expand.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc_expand.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_expand.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc_expand.cpp:27:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(oop v)       { return v == NULL; }
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_expand.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_format.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc_format.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_format.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc.hpp:32,
>                   from ad_sparc_format.cpp:28:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_format.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_gen.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc_gen.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_gen.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc.hpp:32,
>                   from ad_sparc_gen.cpp:28:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_gen.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_misc.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc_misc.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_misc.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc.hpp:32,
>                   from ad_sparc_misc.cpp:28:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_misc.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc.hpp:32,
>                   from ad_sparc_peephole.cpp:28:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_peephole.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o:\n"
> * For target hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o:
> (/bin/grep -v -e "^Note: including file:" <  /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o.log || true) | /usr/bin/head -n 12
> In file included from ad_sparc.hpp:32,
>                   from ad_sparc_pipeline.cpp:28:
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:23: error: ‘oop’ has not been declared
>     static bool is_null(oop v)       { return v == NULL; }
>                         ^~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:23: error: ‘narrowOop’ has not been declared
>     static bool is_null(narrowOop v) { return v == 0; }
>                         ^~~~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:108:15: error: ‘static bool CompressedOops::is_null(int)’ cannot be overloaded with ‘static bool CompressedOops::is_null(int)’
>     static bool is_null(narrowOop v) { return v == 0; }
>                 ^~~~~~~
> /home/glaubitz/jdk/src/hotspot/share/oops/compressedOops.hpp:107:15: note: previous declaration ‘static bool CompressedOops::is_null(int)’
> if test `/usr/bin/wc -l < /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs/hotspot_variant-server_libjvm_objs_ad_sparc_pipeline.o.log` -gt 12; then /bin/echo "   ... (rest of output omitted)" ; fi
>     ... (rest of output omitted)
> /usr/bin/printf "\n* All command lines available in /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs.\n"
> 
> * All command lines available in /home/glaubitz/jdk/build/linux-sparcv9-server-release/make-support/failure-logs.
> /usr/bin/printf "=== End of repeated output ===\n"
> === End of repeated output ===
> 
> 


More information about the hotspot-dev mailing list