Your message dated Fri, 07 Jul 2017 16:20:39 +0000
with message-id <e1dtvzj-000a33...@fasolo.debian.org>
and subject line Bug#864359: fixed in openjdk-9 9~b177-2
has caused the Debian Bug report #864359,
regarding openjdk-9: Please update and enable patch zero-sparc.diff
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
864359: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864359
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openjdk-9
Version: 9~b170-2
Severity: normal
Tags: patch
User: debian-sp...@lists.debian.org
Usertags: sparc64

Hi!

As promised in #864351 [1], I have updated the currently disabled patch
zero-sparc.diff for openjdk-9. Together with the changes from #864351,
openjdk-9 builds fine for me on sparc64 with the updated zero-sparc.diff
patch.

Thanks for consideration!

Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864351

 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
--- a/hotspot/src/share/vm/gc/shared/memset_with_concurrent_readers.hpp 
2017-05-11 15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/gc/shared/memset_with_concurrent_readers.hpp 
2017-06-07 14:50:39.835143370 +0300
@@ -37,7 +37,7 @@
 // understanding that there may be concurrent readers of that memory.
 void memset_with_concurrent_readers(void* to, int value, size_t size);
 
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
 
 // SPARC requires special handling.  See SPARC-specific definition.
 
--- a/hotspot/src/share/vm/compiler/oopMap.cpp~ 2017-05-11 15:11:42.000000000 
+0300
+++ b/hotspot/src/share/vm/compiler/oopMap.cpp  2017-06-07 15:21:34.723210971 
+0300
@@ -39,7 +39,7 @@
 #ifdef COMPILER2
 #include "opto/optoreg.hpp"
 #endif
-#ifdef SPARC
+#if defined (SPARC) && !defined(ZERO)
 #include "vmreg_sparc.inline.hpp"
 #endif
 
--- a/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp~       2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/os_cpu/linux_zero/vm/os_linux_zero.cpp        2017-06-07 
15:41:01.847585726 +0300
@@ -86,7 +86,7 @@
   // Must never look like an address returned by reserve_memory,
   // even in its subfields (as defined by the CPU immediate fields,
   // if the CPU splits constants across multiple instructions).
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
   // On SPARC, 0 != %hi(any real address), because there is no
   // allocation in the first 1Kb of the virtual address space.
   return (char *) 0;
--- a/hotspot/src/share/vm/opto/output.cpp~     2017-05-11 15:11:42.000000000 
+0300
+++ b/hotspot/src/share/vm/opto/output.cpp      2017-06-07 15:42:35.147461407 
+0300
@@ -588,7 +588,7 @@
       array->append(new_loc_value( _regalloc, regnum, Location::lng ));
     }
 #else //_LP64
-#ifdef SPARC
+#if defined (SPARC) && !defined(ZERO)
     if (t->base() == Type::Long && OptoReg::is_reg(regnum)) {
       // For SPARC we have to swap high and low words for
       // long values stored in a single-register (g0-g7).
--- a/hotspot/src/share/vm/opto/chaitin.cpp~    2017-06-07 15:43:34.357918591 
+0300
+++ b/hotspot/src/share/vm/opto/chaitin.cpp     2017-06-07 15:45:09.097846755 
+0300
@@ -878,7 +878,7 @@
         case Op_RegD:
           lrg.set_num_regs(2);
           // Define platform specific register pressure
-#if defined(SPARC) || defined(ARM32)
+#if (defined(SPARC) && !defined(ZERO)) || defined(ARM32)
           lrg.set_reg_pressure(2);
 #elif defined(IA32)
           if( ireg == Op_RegL ) {
@@ -905,7 +905,7 @@
         case Op_RegFlags:
         case 0:                 // not an ideal register
           lrg.set_num_regs(1);
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
           lrg.set_reg_pressure(2);
 #else
           lrg.set_reg_pressure(1);
@@ -1526,7 +1526,7 @@
 
     // Check if a color is available and if so pick the color
     OptoReg::Name reg = choose_color( *lrg, chunk );
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
     debug_only(lrg->compute_set_mask_size());
     assert(lrg->num_regs() < 2 || lrg->is_bound() || is_even(reg-1), "allocate 
all doubles aligned");
 #endif
--- a/hotspot/src/share/vm/runtime/deoptimization.cpp~  2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/runtime/deoptimization.cpp   2017-06-07 
15:47:36.275942531 +0300
@@ -861,7 +861,7 @@
 #ifdef _LP64
       jlong res = (jlong)low->get_int();
 #else
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
       // For SPARC we have to swap high and low words.
       jlong res = jlong_from((jint)low->get_int(), (jint)value->get_int());
 #else
@@ -895,7 +895,7 @@
   #ifdef _LP64
         jlong res = (jlong)low->get_int();
   #else
-  #ifdef SPARC
+  #if defined(SPARC) && !defined(ZERO)
         // For SPARC we have to swap high and low words.
         jlong res = jlong_from((jint)low->get_int(), (jint)value->get_int());
   #else
--- a/hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp~ 2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/runtime/advancedThresholdPolicy.cpp  2017-06-07 
15:48:36.130419657 +0300
@@ -87,7 +87,7 @@
   }
 #endif
 
-#if defined SPARC || defined AARCH64
+#if (defined(SPARC) && !defined(ZERO)) || defined AARCH64
   if (FLAG_IS_DEFAULT(InlineSmallCode)) {
     FLAG_SET_DEFAULT(InlineSmallCode, 2500);
   }
--- a/hotspot/src/share/vm/runtime/stackValue.cpp~      2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/runtime/stackValue.cpp       2017-06-07 
15:49:31.052691809 +0300
@@ -34,7 +34,7 @@
     // Stack or register value
     Location loc = ((LocationValue *)sv)->location();
 
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
     // %%%%% Callee-save floats will NOT be working on a Sparc until we
     // handle the case of a 2 floats in a single double register.
     assert( !(loc.is_register() && loc.type() == Location::float_in_dbl), 
"Sparc does not handle callee-save floats yet" );
--- a/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp~      2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/c1/c1_LIRAssembler.cpp       2017-06-07 
15:52:20.987717957 +0300
@@ -571,7 +571,7 @@
       monitor_address(op->in_opr()->as_constant_ptr()->as_jint(), 
op->result_opr());
       break;
 
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
     case lir_pack64:
       pack64(op->in_opr(), op->result_opr());
       break;
@@ -841,7 +841,7 @@
         if (!r->is_stack()) {
           stringStream st;
           st.print("bad oop %s at %d", r->as_Register()->name(), 
_masm->offset());
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
           _masm->_verify_oop(r->as_Register(), os::strdup(st.as_string(), 
mtCompiler), __FILE__, __LINE__);
 #else
           _masm->verify_oop(r->as_Register());
--- a/hotspot/src/share/vm/c1/c1_LinearScan.cpp~        2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/c1/c1_LinearScan.cpp 2017-06-07 15:53:34.154741548 
+0300
@@ -2163,7 +2163,7 @@
         }
 #endif
 
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
         assert(assigned_reg >= pd_first_fpu_reg && assigned_reg <= 
pd_last_fpu_reg, "no fpu register");
         assert(interval->assigned_regHi() >= pd_first_fpu_reg && 
interval->assigned_regHi() <= pd_last_fpu_reg, "no fpu register");
         assert(assigned_reg % 2 == 0 && assigned_reg + 1 == 
interval->assigned_regHi(), "must be sequential and even");
@@ -2761,7 +2761,7 @@
 
       assert(opr->fpu_regnrLo() == opr->fpu_regnrHi(), "assumed in calculation 
(only fpu_regnrLo is used)");
 #endif
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
       assert(opr->fpu_regnrLo() == opr->fpu_regnrHi() + 1, "assumed in 
calculation (only fpu_regnrHi is used)");
 #endif
 #ifdef ARM32
--- a/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp~      2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/c1/c1_GraphBuilder.cpp       2017-06-07 
15:54:50.281886668 +0300
@@ -2053,7 +2053,7 @@
   Value recv = has_receiver ? apop() : NULL;
   int vtable_index = Method::invalid_vtable_index;
 
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
   // Currently only supported on Sparc.
   // The UseInlineCaches only controls dispatch to invokevirtuals for
   // loaded classes which we weren't able to statically bind.
--- a/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp~ 2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/interpreter/bytecodeInterpreter.cpp  2017-06-07 
15:55:57.572666060 +0300
@@ -3426,7 +3426,7 @@
   tty->print_cr("stack_base: " INTPTR_FORMAT, (uintptr_t) this->_stack_base);
   tty->print_cr("stack_limit: " INTPTR_FORMAT, (uintptr_t) this->_stack_limit);
   tty->print_cr("monitor_base: " INTPTR_FORMAT, (uintptr_t) 
this->_monitor_base);
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
   tty->print_cr("last_Java_pc: " INTPTR_FORMAT, (uintptr_t) 
this->_last_Java_pc);
   tty->print_cr("frame_bottom: " INTPTR_FORMAT, (uintptr_t) 
this->_frame_bottom);
   tty->print_cr("&native_fresult: " INTPTR_FORMAT, (uintptr_t) 
&this->_native_fresult);
--- a/hotspot/src/share/vm/utilities/macros.hpp~        2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/utilities/macros.hpp 2017-06-07 15:56:45.326638242 
+0300
@@ -412,7 +412,7 @@
 #define NOT_S390(code) code
 #endif
 
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
 #define SPARC_ONLY(code) code
 #define NOT_SPARC(code)
 #else
--- a/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp~ 2017-05-11 
15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp  2017-06-07 
15:57:33.732637088 +0300
@@ -206,7 +206,7 @@
 
 // checking for nanness
 #ifdef SOLARIS
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
 inline int g_isnan(float  f) { return isnanf(f); }
 #else
 // isnanf() broken on Intel Solaris use isnand()
--- a/hotspot/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp~  
2017-05-11 15:11:42.000000000 +0300
+++ b/hotspot/src/share/vm/utilities/globalDefinitions_sparcWorks.hpp   
2017-06-07 15:58:30.734990739 +0300
@@ -220,7 +220,7 @@
 
 // checking for nanness
 #ifdef SOLARIS
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
 inline int g_isnan(float  f) { return isnanf(f); }
 #else
 // isnanf() broken on Intel Solaris use isnand()
--- a/hotspot/src/share/vm/adlc/output_h.cpp~   2017-05-11 15:11:42.000000000 
+0300
+++ b/hotspot/src/share/vm/adlc/output_h.cpp    2017-06-07 15:59:20.705053657 
+0300
@@ -742,7 +742,7 @@
   fprintf(fp_hpp, "class Pipeline_Use_Cycle_Mask {\n");
 
   if (_pipeline->_maxcycleused <=
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
     64
 #else
     32
--- a/hotspot/src/share/vm/adlc/formssel.cpp~   2017-05-11 15:11:42.000000000 
+0300
+++ b/hotspot/src/share/vm/adlc/formssel.cpp    2017-06-07 16:00:23.795658018 
+0300
@@ -1054,7 +1054,7 @@
     const char  *opType   = NULL;
     while (_matrule->base_operand(position, globals, result, name, opType)) {
       if ( strcmp(opType,"ConP") == 0 ) {
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
         reloc_entries += 2; // 1 for sethi + 1 for setlo
 #else
         ++reloc_entries;
@@ -1092,7 +1092,7 @@
   // Check for any component being an immediate float or double.
   Form::DataType data_type = is_chain_of_constant(globals);
   if( data_type==idealD || data_type==idealF ) {
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
     // sparc required more relocation entries for floating constants
     // (expires 9/98)
     reloc_entries += 6;
--- a/hotspot/src/share/vm/adlc/output_c.cpp~   2017-05-11 15:11:42.000000000 
+0300
+++ b/hotspot/src/share/vm/adlc/output_c.cpp    2017-06-07 16:01:26.386241521 
+0300
@@ -724,7 +724,7 @@
     /* Do Nothing */;
 
   else if (_pipeline->_maxcycleused <=
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
     64
 #else
     32
--- a/hotspot/src/share/vm/c1/c1_Runtime1.cpp~  2017-05-11 15:11:42.000000000 
+0300
+++ b/hotspot/src/share/vm/c1/c1_Runtime1.cpp   2017-06-07 16:07:11.220458274 
+0300
@@ -1196,7 +1196,7 @@
             RelocIterator iter(nm, (address)instr_pc, (address)(instr_pc + 1));
             relocInfo::change_reloc_info_for_address(&iter, (address) instr_pc,
                                                      relocInfo::none, rtype);
-#ifdef SPARC
+#if defined(SPARC) && !defined(ZERO)
             // Sparc takes two relocations for an metadata so update the 
second one.
             address instr_pc2 = instr_pc + NativeMovConstReg::add_offset;
             RelocIterator iter2(nm, instr_pc2, instr_pc2 + 1);

--- End Message ---
--- Begin Message ---
Source: openjdk-9
Source-Version: 9~b177-2

We believe that the bug you reported is fixed in the latest version of
openjdk-9, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 864...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <d...@ubuntu.com> (supplier of updated openjdk-9 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 07 Jul 2017 12:28:53 +0200
Source: openjdk-9
Binary: openjdk-9-jdk-headless openjdk-9-jre-headless openjdk-9-jdk 
openjdk-9-jre openjdk-9-demo openjdk-9-source openjdk-9-doc openjdk-9-dbg 
openjdk-9-jre-zero
Architecture: source
Version: 9~b177-2
Distribution: unstable
Urgency: medium
Maintainer: OpenJDK Team <open...@lists.launchpad.net>
Changed-By: Matthias Klose <d...@ubuntu.com>
Description:
 openjdk-9-dbg - Java runtime based on OpenJDK (debugging symbols)
 openjdk-9-demo - Java runtime based on OpenJDK (demos and examples)
 openjdk-9-doc - OpenJDK Development Kit (JDK) documentation
 openjdk-9-jdk - OpenJDK Development Kit (JDK)
 openjdk-9-jdk-headless - OpenJDK Development Kit (JDK) (headless)
 openjdk-9-jre - OpenJDK Java runtime, using ${vm:Name}
 openjdk-9-jre-headless - OpenJDK Java runtime, using ${vm:Name} (headless)
 openjdk-9-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark
 openjdk-9-source - OpenJDK Development Kit (JDK) source files
Closes: 841173 850268 863080 864288 864351 864359 864595 864596 864643 865129 
866924
Changes:
 openjdk-9 (9~b177-2) unstable; urgency=medium
 .
   * Try to build zero again on amd64, arm64, ppc64el and s390x.
   * Keep the conf/* symlinks in the JAVA_HOME directory.
     Closes: #866924, #863080.
   * Drop armel from the list of hotspot architectures. See #864464.
   * Stop using deprecated GNOME libraries. Closes: #850268.
   * Apply sparc64 build fixes (Adrian Glaubitz). Closes: #864351.
   * Update the zero-sparc patch (Adrian Glaubitz). Closes: #864359.
   * Update the m68k-support patch (Adrian Glaubitz). Closes: #864595.
   * Disable generation of jvmti.html on m68k (Adrian Glaubitz).
     Closes: #864596.
   * Update the zero-sh patch (Adrian Glaubitz). Closes: #864643.
   * Update the jdk-target-arch-define patch. Closes: #865129.
   * Provide jvmdir symlink in /usr/lib/debug. Addresses: #867314.
   * Fix pt_BR translation in awt message. Addresses: #863331.
   * Drop the 8073754-stack-overflow-9-build patch. Closes: #864288.
   * Use sigset_t to store the signals used by the JVM (James Cowgill).
     Closes: #841173.
Checksums-Sha1:
 f484d75a6b77a79ea9b5380497792c99cb778a87 4494 openjdk-9_9~b177-2.dsc
 1251666282702a872bdc17cc5544c20b77bb6a75 198828 
openjdk-9_9~b177-2.debian.tar.xz
 db41b1774ab900d9fceb42c7995c424b5676f494 17050 
openjdk-9_9~b177-2_source.buildinfo
Checksums-Sha256:
 0cd07587d75908e797ec698c1c93f8e407c18580d27725e3b695b3818868cd20 4494 
openjdk-9_9~b177-2.dsc
 21317ad2b445de99b2d393f102b6cb0409a9c07fd890a0b3b442410ba4eb9074 198828 
openjdk-9_9~b177-2.debian.tar.xz
 12f344293eacaa6780441320e073942a258bc790b494659cbaaa9b90e2a643c6 17050 
openjdk-9_9~b177-2_source.buildinfo
Files:
 ce2a8cb6d70dd4eef19aec1ba10ad071 4494 java optional openjdk-9_9~b177-2.dsc
 2a647d1278bb69ae1bda5516781b0948 198828 java optional 
openjdk-9_9~b177-2.debian.tar.xz
 a379bfd753a137152c85067e770215b3 17050 java optional 
openjdk-9_9~b177-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAllfrx8QHGRva29AdWJ1
bnR1LmNvbQAKCRC9fqpgd4+m9ZKpD/99hgKn7qJnL1eAhIC7WHI1N61mcZlOA89B
i4onrDpwSIvLevs/yK9DNyD7ZU40PXSceeebOK72FIp8g/fZzCfJe5kIFKcEo5LX
LVW7CgR/CyyX5Kf/DXVkLzSovCtVNXMCII/C12Cqw4T5Q7VwajOqS6Tv1zWvbO6k
eWbHCCn6iGQ6d40KD02bJFsGWmb5WeddmvZQEqop4flgNLbYeiKvR0JS5z39Mlus
nUm55N8IbgsX6YrziUlqvXjUoLAN6PxnhtWnsr7dv9bqZRfZ1p4CBhNNJoC1BQKZ
L91nUYzGwBBupw62z0wSQzn7i1BOEUnplLZhGccDyoUdlAB0iqdZrqKB44I2hfFr
YvQJR6ItDNZWNS/JlVLkAcB4IPYXiOeujN+7U8mBC1HNeJ1RfZqyuhm8BGit06ED
lNuj43lvD1rA98uR13iy2RcRYIfA1INXNPort3zbB3SXK9XZvBWaaBFwbNxTZ56s
GtX5AEdQnWHRv4ayV1wX91yfwnuqHCZ7wx+8tSmR3HPhHraqagZ3yqr4k1TtFNFc
E4q+PxaDEL1NN/26zrORbjA5tYvVCBnPtYVdIQrQPJavKTWaweqB8hgO8LCXd1TK
FuLNle4aaFtx58rlQa8vg1y853IsTANzgQH4FhrE6iTyRvtXd0wYm3qVFn1U3kMM
Cd0EHE3lqA==
=PDV6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to