[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-distro-pkg-dev
Subject:    [Bug 2598] New: error: cannot convert 'volatile intptr_t*' to 'volatile int*'
From:       bugzilla-daemon () icedtea ! classpath ! org
Date:       2015-08-27 16:18:39
Message-ID: bug-2598-30 () http ! icedtea ! classpath ! org/bugzilla/
[Download RAW message or body]


--1440692322.4dd28D8a0.4967
Date: Thu, 27 Aug 2015 16:18:42 +0000
MIME-Version: 1.0
Content-Type: text/plain

http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2598

            Bug ID: 2598
           Summary: error: cannot convert 'volatile intptr_t*' to
                    'volatile int*'
           Product: IcedTea
           Version: 2.6.1
          Hardware: arm
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew@redhat.com
          Reporter: johan.oudinet@green-communications.fr
                CC: unassigned@icedtea.classpath.org

I'm cross-compiling (well, trying actually) to ARM32 target and I get the
following error message (g++ 4.9.2):
g++ -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DARM -DZERO_LIBARCH=\"arm\"
-DPRODUCT -I.
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/prims
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/precompiled
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/cpu/zero/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os/linux/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os/posix/vm
                
-I../generated -DHOTSPOT_RELEASE_VERSION="\"24.85-b03\""
-DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"johan\""
-DHOTSPOT_LIB_ARCH=\"arm\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\""
-DDERIVATIVE_ID="\"IcedTea 2.6.1\"" -DDISTRIBUTION_ID="\"Built on Ubuntu 15.04
(Thu Aug 27 15:01:20 CEST 2015)\"" -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero
-DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero
-DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc  -fpic -fno-rtti
-fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -D_LITTLE_ENDIAN
-pipe -g -O3 -fno-strict-aliasing -fno-devirtualize -DHOTSPOT_ASM
-DVM_LITTLE_ENDIAN -DINCLUDE_TRACE=1  -Wpointer-arith -Wsign-compare    -c
-fpch-deps -MMD -MP -MF ../generated/dependencies/precompiled.hpp.gch.d -x
c++-header
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/precompiled/precompiled.hpp
                
-o precompiled.hpp.gch 
In file included from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os/linux/vm/os_linux.inline.hpp:42:0,
  from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/compiler/disassembler.hpp:31,
  from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/asm/assembler.inline.hpp:30,
  from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/precompiled/precompiled.hpp:30:
                
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:
 In static member function 'static intptr_t Atomic::add_ptr(intptr_t, volatile
intptr_t*)':
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:197:43:
                
error: cannot convert 'volatile intptr_t* {aka volatile long int*}' to
'volatile int*' for argument '1' to 'int arm_add_and_fetch(volatile int*, int)'
   return arm_add_and_fetch(dest, add_value);
                                           ^
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:
 In static member function 'static intptr_t Atomic::xchg_ptr(intptr_t, volatile
intptr_t*)':
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:256:52:
                
error: cannot convert 'volatile intptr_t* {aka volatile long int*}' to
'volatile int*' for argument '1' to 'int arm_lock_test_and_set(volatile int*,
int)'
   return arm_lock_test_and_set(dest, exchange_value);
                                                    ^
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:
 In static member function 'static intptr_t Atomic::cmpxchg_ptr(intptr_t,
volatile intptr_t*, intptr_t)':
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:302:66:
                
error: cannot convert 'volatile intptr_t* {aka volatile long int*}' to
'volatile int*' for argument '1' to 'int arm_compare_and_swap(volatile int*,
int, int)'
   return arm_compare_and_swap(dest, compare_value, exchange_value);
                                                                  ^
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/make/linux/makefiles/vm.make:329:
 recipe for target 'precompiled.hpp.gch' failed
make[9]: *** [precompiled.hpp.gch] Error 1
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/make/linux/makefiles/top.make:119:
 recipe for target 'the_vm' failed
make[8]: *** [the_vm] Error 2
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/make/linux/Makefile:394:
 recipe for target 'productzero' failed
make[7]: *** [productzero] Error 2
Makefile:224: recipe for target 'generic_buildzero' failed
make[6]: *** [generic_buildzero] Error 2
Makefile:166: recipe for target 'productzero' failed
make[5]: *** [productzero] Error 2
make/hotspot-rules.gmk:126: recipe for target 'hotspot-build' failed
make[4]: *** [hotspot-build] Error 2
Makefile:251: recipe for target 'build_product_image' failed
make[3]: *** [build_product_image] Error 2
Makefile:2657: recipe for target 'stamps/icedtea-boot.stamp' failed
make[2]: *** [stamps/icedtea-boot.stamp] Error 2

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--1440692322.4dd28D8a0.4967
Date: Thu, 27 Aug 2015 16:18:42 +0000
MIME-Version: 1.0
Content-Type: text/html

<html>
    <head>
      <base href="http://icedtea.classpath.org/bugzilla/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - error: cannot convert 'volatile intptr_t*' to 'volatile int*'"
   href="http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2598">2598</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>error: cannot convert 'volatile intptr_t*' to 'volatile int*'
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>IcedTea
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>2.6.1
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>arm
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>IcedTea
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>gnu.andrew&#64;redhat.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>johan.oudinet&#64;green-communications.fr
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>unassigned&#64;icedtea.classpath.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm cross-compiling (well, trying actually) to ARM32 target and I get \
the following error message (g++ 4.9.2):
g++ -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DARM -DZERO_LIBARCH=\&quot;arm\&quot;
-DPRODUCT -I.
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/prims
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/precompiled
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/cpu/zero/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os/linux/vm
                
-I/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os/posix/vm
                
-I../generated -DHOTSPOT_RELEASE_VERSION=&quot;\&quot;24.85-b03\&quot;&quot;
-DHOTSPOT_BUILD_TARGET=&quot;\&quot;product\&quot;&quot; \
                -DHOTSPOT_BUILD_USER=&quot;\&quot;johan\&quot;&quot;
-DHOTSPOT_LIB_ARCH=\&quot;arm\&quot; \
                -DHOTSPOT_VM_DISTRO=&quot;\&quot;OpenJDK\&quot;&quot;
-DDERIVATIVE_ID=&quot;\&quot;IcedTea 2.6.1\&quot;&quot; \
-DDISTRIBUTION_ID=&quot;\&quot;Built on Ubuntu 15.04 (Thu Aug 27 15:01:20 CEST \
                2015)\&quot;&quot; -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero
-DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero
-DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc  -fpic -fno-rtti
-fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -D_LITTLE_ENDIAN
-pipe -g -O3 -fno-strict-aliasing -fno-devirtualize -DHOTSPOT_ASM
-DVM_LITTLE_ENDIAN -DINCLUDE_TRACE=1  -Wpointer-arith -Wsign-compare    -c
-fpch-deps -MMD -MP -MF ../generated/dependencies/precompiled.hpp.gch.d -x
c++-header
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/precompiled/precompiled.hpp
                
-o precompiled.hpp.gch 
In file included from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os/linux/vm/os_linux.inline.hpp:42:0,
  from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/compiler/disassembler.hpp:31,
  from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/asm/assembler.inline.hpp:30,
  from
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/share/vm/precompiled/precompiled.hpp:30:
                
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:
 In static member function 'static intptr_t Atomic::add_ptr(intptr_t, volatile
intptr_t*)':
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:197:43:
                
error: cannot convert 'volatile intptr_t* {aka volatile long int*}' to
'volatile int*' for argument '1' to 'int arm_add_and_fetch(volatile int*, int)'
   return arm_add_and_fetch(dest, add_value);
                                           ^
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:
 In static member function 'static intptr_t Atomic::xchg_ptr(intptr_t, volatile
intptr_t*)':
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:256:52:
                
error: cannot convert 'volatile intptr_t* {aka volatile long int*}' to
'volatile int*' for argument '1' to 'int arm_lock_test_and_set(volatile int*,
int)'
   return arm_lock_test_and_set(dest, exchange_value);
                                                    ^
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:
 In static member function 'static intptr_t Atomic::cmpxchg_ptr(intptr_t,
volatile intptr_t*, intptr_t)':
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp:302:66:
                
error: cannot convert 'volatile intptr_t* {aka volatile long int*}' to
'volatile int*' for argument '1' to 'int arm_compare_and_swap(volatile int*,
int, int)'
   return arm_compare_and_swap(dest, compare_value, exchange_value);
                                                                  ^
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/make/linux/makefiles/vm.make:329:
 recipe for target 'precompiled.hpp.gch' failed
make[9]: *** [precompiled.hpp.gch] Error 1
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/make/linux/makefiles/top.make:119:
 recipe for target 'the_vm' failed
make[8]: *** [the_vm] Error 2
/home/johan/Documents/buildroot/output/build/openjdk-2.6.1/openjdk-boot/hotspot/make/linux/Makefile:394:
 recipe for target 'productzero' failed
make[7]: *** [productzero] Error 2
Makefile:224: recipe for target 'generic_buildzero' failed
make[6]: *** [generic_buildzero] Error 2
Makefile:166: recipe for target 'productzero' failed
make[5]: *** [productzero] Error 2
make/hotspot-rules.gmk:126: recipe for target 'hotspot-build' failed
make[4]: *** [hotspot-build] Error 2
Makefile:251: recipe for target 'build_product_image' failed
make[3]: *** [build_product_image] Error 2
Makefile:2657: recipe for target 'stamps/icedtea-boot.stamp' failed
make[2]: *** [stamps/icedtea-boot.stamp] Error 2</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>
--1440692322.4dd28D8a0.4967--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic