You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sergey Dmitriev (JIRA)" <ji...@apache.org> on 2007/10/26 14:07:52 UTC

[jira] Created: (HARMONY-5032) [drlvm][port] drlvm is not buildable on linux em64t

[drlvm][port] drlvm is not buildable on linux em64t
---------------------------------------------------

                 Key: HARMONY-5032
                 URL: https://issues.apache.org/jira/browse/HARMONY-5032
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: linux em64t
            Reporter: Sergey Dmitriev
            Priority: Critical


Just have discovered that today-yesterday's DRLVM (r588319) is not buildable on Linux em64t.
Note that 22 october version is ok.

{guy@earth:~/harmony.26oct/working_vm/build} ./build.sh -DBUILD_CFG=release

. . .

build:

build_vm.port:

pre_init:

common_vm:
Overriding previous definition of reference to common.compiler
Overriding previous definition of reference to common.cpp.compiler
Overriding previous definition of reference to common.c.compiler
Overriding previous definition of reference to common.linker

init:
Overriding previous definition of reference to asm.fileset

init_component:

build.java:

build.jar:

build.native.init:
     [echo] ## Building native of 'vm.port'
    [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port
    [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_bin
    [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_obj

build.native.c:
       [cc] 11 total files to be compiled.
       [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c: In function `disasm_print':
       [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c:125: warning: cast from pointer to integer of different size
       [cc] /tmp/ccL6oUxH.s: Assembler messages:
       [cc] /tmp/ccL6oUxH.s:134: Error: `0(%esp)' is not a valid 64 bit base/index expression

BUILD FAILED
/export/harmony.26oct/working_vm/build/make/build.xml:543: The following error occurred while executing this line:
/export/harmony.26oct/working_vm/build/make/build.xml:550: The following error occurred while executing this line:
/export/harmony.26oct/working_vm/build/make/build_component.xml:73: The following error occurred while executing this line:
/export/harmony.26oct/working_vm/build/make/targets/build.native.xml:91: gcc failed with return code 1

Total time: 1 minute 54 seconds
*
* Please, refer to README.txt for details.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5032) [drlvm][port] drlvm is not buildable on linux em64t

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537987 ] 

Vladimir Beliaev commented on HARMONY-5032:
-------------------------------------------

I can't reproduce it neither - I just did a fresh build as:

$ cd <trunk>
$ svn update && ant -Dauto.fetch=true
...
BUILD SUCCESSFUL
Total time: 23 minutes 20 seconds

$ ./working_vm/build/deploy/jdk/jre/bin/java -version
Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
java version "1.5.0" 
pre-alpha : not complete or compatible
svn = r588667, (Oct 26 2007), Linux/em64t/gcc 4.1.0, release build
http://harmony.apache.org

I believe the bug must be closed as Not Reproduced.

Thanks
Vladimir Beliaev


> [drlvm][port] drlvm is not buildable on linux em64t
> ---------------------------------------------------
>
>                 Key: HARMONY-5032
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5032
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux em64t
>            Reporter: Sergey Dmitriev
>            Priority: Critical
>
> Just have discovered that today-yesterday's DRLVM (r588319) is not buildable on Linux em64t.
> Note that 22 october version is ok.
> {guy@earth:~/harmony.26oct/working_vm/build} ./build.sh -DBUILD_CFG=release
> . . .
> build:
> build_vm.port:
> pre_init:
> common_vm:
> Overriding previous definition of reference to common.compiler
> Overriding previous definition of reference to common.cpp.compiler
> Overriding previous definition of reference to common.c.compiler
> Overriding previous definition of reference to common.linker
> init:
> Overriding previous definition of reference to asm.fileset
> init_component:
> build.java:
> build.jar:
> build.native.init:
>      [echo] ## Building native of 'vm.port'
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_bin
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_obj
> build.native.c:
>        [cc] 11 total files to be compiled.
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c: In function `disasm_print':
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c:125: warning: cast from pointer to integer of different size
>        [cc] /tmp/ccL6oUxH.s: Assembler messages:
>        [cc] /tmp/ccL6oUxH.s:134: Error: `0(%esp)' is not a valid 64 bit base/index expression
> BUILD FAILED
> /export/harmony.26oct/working_vm/build/make/build.xml:543: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build.xml:550: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build_component.xml:73: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/targets/build.native.xml:91: gcc failed with return code 1
> Total time: 1 minute 54 seconds
> *
> * Please, refer to README.txt for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5032) [drlvm][port] drlvm is not buildable on linux em64t

Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12537963 ] 

Gregory Shimansky commented on HARMONY-5032:
--------------------------------------------

I think this file isn't used and could be deleted. I can't reproduce the bug BTW.

> [drlvm][port] drlvm is not buildable on linux em64t
> ---------------------------------------------------
>
>                 Key: HARMONY-5032
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5032
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux em64t
>            Reporter: Sergey Dmitriev
>            Priority: Critical
>
> Just have discovered that today-yesterday's DRLVM (r588319) is not buildable on Linux em64t.
> Note that 22 october version is ok.
> {guy@earth:~/harmony.26oct/working_vm/build} ./build.sh -DBUILD_CFG=release
> . . .
> build:
> build_vm.port:
> pre_init:
> common_vm:
> Overriding previous definition of reference to common.compiler
> Overriding previous definition of reference to common.cpp.compiler
> Overriding previous definition of reference to common.c.compiler
> Overriding previous definition of reference to common.linker
> init:
> Overriding previous definition of reference to asm.fileset
> init_component:
> build.java:
> build.jar:
> build.native.init:
>      [echo] ## Building native of 'vm.port'
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_bin
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_obj
> build.native.c:
>        [cc] 11 total files to be compiled.
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c: In function `disasm_print':
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c:125: warning: cast from pointer to integer of different size
>        [cc] /tmp/ccL6oUxH.s: Assembler messages:
>        [cc] /tmp/ccL6oUxH.s:134: Error: `0(%esp)' is not a valid 64 bit base/index expression
> BUILD FAILED
> /export/harmony.26oct/working_vm/build/make/build.xml:543: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build.xml:550: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build_component.xml:73: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/targets/build.native.xml:91: gcc failed with return code 1
> Total time: 1 minute 54 seconds
> *
> * Please, refer to README.txt for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5032) [drlvm][port] drlvm is not buildable on linux em64t

Posted by "Sergey Dmitriev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538763 ] 

Sergey Dmitriev commented on HARMONY-5032:
------------------------------------------

Ok. I see some update has been made to build.xml since 22 oct:

make/build.xml:
        . . .
+        <condition property="is.unix.x86_64">
+            <and>
+                <isset property="is.unix"/>
+                <isset property="is.x86_64"/>
+            </and>
+        </condition>
+        <condition property="is.unix.x86">
+            <and>
+                <isset property="is.unix"/>
+                <isset property="is.x86"/>
+            </and>
+        </condition>
        . . .

And execution of "./build.sh -DBUILD_CFG=release -DCOMPONENTS=vm.port -d" shows the following:

+ Condition false; not setting is.unix.x86_64
+ Condition true; setting is.unix.x86 to true
+ Setting project property: is.unix.x86 -> true

But specifying -Dos.arch=x86_64 works just fine.

Just wanted to say that now the DRLVM build (not federated one) does not work as before on em64t *without* specifying -Dos.arch=x86_64. But 22 oct version did work. As far as I remember that was the intention to make DRLVM be able to detect OS arch automatically, no? 



> [drlvm][port] drlvm is not buildable on linux em64t
> ---------------------------------------------------
>
>                 Key: HARMONY-5032
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5032
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux em64t
>            Reporter: Sergey Dmitriev
>            Priority: Critical
>
> Just have discovered that today-yesterday's DRLVM (r588319) is not buildable on Linux em64t.
> Note that 22 october version is ok.
> {guy@earth:~/harmony.26oct/working_vm/build} ./build.sh -DBUILD_CFG=release
> . . .
> build:
> build_vm.port:
> pre_init:
> common_vm:
> Overriding previous definition of reference to common.compiler
> Overriding previous definition of reference to common.cpp.compiler
> Overriding previous definition of reference to common.c.compiler
> Overriding previous definition of reference to common.linker
> init:
> Overriding previous definition of reference to asm.fileset
> init_component:
> build.java:
> build.jar:
> build.native.init:
>      [echo] ## Building native of 'vm.port'
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_bin
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_obj
> build.native.c:
>        [cc] 11 total files to be compiled.
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c: In function `disasm_print':
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c:125: warning: cast from pointer to integer of different size
>        [cc] /tmp/ccL6oUxH.s: Assembler messages:
>        [cc] /tmp/ccL6oUxH.s:134: Error: `0(%esp)' is not a valid 64 bit base/index expression
> BUILD FAILED
> /export/harmony.26oct/working_vm/build/make/build.xml:543: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build.xml:550: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build_component.xml:73: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/targets/build.native.xml:91: gcc failed with return code 1
> Total time: 1 minute 54 seconds
> *
> * Please, refer to README.txt for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5032) [drlvm][port] drlvm is not buildable on linux em64t

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538789 ] 

Alexey Varlamov commented on HARMONY-5032:
------------------------------------------

Ah, these details clarify the issue. Which JRE do you use for building - 32 bit or 64 bit? Looks like the first one; then you actually worked with the mixed build, i.e. classlib natives were 32-bit libs. I recall this have been discussed on list and recorded somewhere on wiki as a rule of thumb: it is preferable to use native JRE for the target platform.

The change you refer to is towards properties unification between classlib and drlvm. It is not complete though, otherwise you'd get pure 32-build instead :)

> [drlvm][port] drlvm is not buildable on linux em64t
> ---------------------------------------------------
>
>                 Key: HARMONY-5032
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5032
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux em64t
>            Reporter: Sergey Dmitriev
>            Priority: Critical
>
> Just have discovered that today-yesterday's DRLVM (r588319) is not buildable on Linux em64t.
> Note that 22 october version is ok.
> {guy@earth:~/harmony.26oct/working_vm/build} ./build.sh -DBUILD_CFG=release
> . . .
> build:
> build_vm.port:
> pre_init:
> common_vm:
> Overriding previous definition of reference to common.compiler
> Overriding previous definition of reference to common.cpp.compiler
> Overriding previous definition of reference to common.c.compiler
> Overriding previous definition of reference to common.linker
> init:
> Overriding previous definition of reference to asm.fileset
> init_component:
> build.java:
> build.jar:
> build.native.init:
>      [echo] ## Building native of 'vm.port'
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_bin
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_obj
> build.native.c:
>        [cc] 11 total files to be compiled.
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c: In function `disasm_print':
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c:125: warning: cast from pointer to integer of different size
>        [cc] /tmp/ccL6oUxH.s: Assembler messages:
>        [cc] /tmp/ccL6oUxH.s:134: Error: `0(%esp)' is not a valid 64 bit base/index expression
> BUILD FAILED
> /export/harmony.26oct/working_vm/build/make/build.xml:543: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build.xml:550: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build_component.xml:73: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/targets/build.native.xml:91: gcc failed with return code 1
> Total time: 1 minute 54 seconds
> *
> * Please, refer to README.txt for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-5032) [drlvm][port] drlvm is not buildable on linux em64t

Posted by "Sergey Dmitriev (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Dmitriev closed HARMONY-5032.
------------------------------------

    Resolution: Invalid

Thanks Alexey! The bug can be closed then.

> [drlvm][port] drlvm is not buildable on linux em64t
> ---------------------------------------------------
>
>                 Key: HARMONY-5032
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5032
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux em64t
>            Reporter: Sergey Dmitriev
>            Priority: Critical
>
> Just have discovered that today-yesterday's DRLVM (r588319) is not buildable on Linux em64t.
> Note that 22 october version is ok.
> {guy@earth:~/harmony.26oct/working_vm/build} ./build.sh -DBUILD_CFG=release
> . . .
> build:
> build_vm.port:
> pre_init:
> common_vm:
> Overriding previous definition of reference to common.compiler
> Overriding previous definition of reference to common.cpp.compiler
> Overriding previous definition of reference to common.c.compiler
> Overriding previous definition of reference to common.linker
> init:
> Overriding previous definition of reference to asm.fileset
> init_component:
> build.java:
> build.jar:
> build.native.init:
>      [echo] ## Building native of 'vm.port'
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_bin
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_obj
> build.native.c:
>        [cc] 11 total files to be compiled.
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c: In function `disasm_print':
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c:125: warning: cast from pointer to integer of different size
>        [cc] /tmp/ccL6oUxH.s: Assembler messages:
>        [cc] /tmp/ccL6oUxH.s:134: Error: `0(%esp)' is not a valid 64 bit base/index expression
> BUILD FAILED
> /export/harmony.26oct/working_vm/build/make/build.xml:543: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build.xml:550: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build_component.xml:73: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/targets/build.native.xml:91: gcc failed with return code 1
> Total time: 1 minute 54 seconds
> *
> * Please, refer to README.txt for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HARMONY-5032) [drlvm][port] drlvm is not buildable on linux em64t

Posted by "Vladimir Beliaev (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HARMONY-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538820 ] 

Vladimir Beliaev commented on HARMONY-5032:
-------------------------------------------

I've build the release version of DRLVM on SLES10 x86_64 with command:

     ./build.sh -DBUILD_CFG=release 

$ ./deploy/jdk/jre/bin/java -version

    Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable.
    java version "1.5.0" 
    pre-alpha : not complete or compatible
    svn = r588706, (Oct 30 2007), Linux/em64t/gcc 4.1.0, release build
    http://harmony.apache.org

Looks like you have something special in your environment... Ant version ? Os type/version ? gcc version ? 

Could you double check please? 

Thanks
Vladimir Beliaev

> [drlvm][port] drlvm is not buildable on linux em64t
> ---------------------------------------------------
>
>                 Key: HARMONY-5032
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5032
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: linux em64t
>            Reporter: Sergey Dmitriev
>            Priority: Critical
>
> Just have discovered that today-yesterday's DRLVM (r588319) is not buildable on Linux em64t.
> Note that 22 october version is ok.
> {guy@earth:~/harmony.26oct/working_vm/build} ./build.sh -DBUILD_CFG=release
> . . .
> build:
> build_vm.port:
> pre_init:
> common_vm:
> Overriding previous definition of reference to common.compiler
> Overriding previous definition of reference to common.cpp.compiler
> Overriding previous definition of reference to common.c.compiler
> Overriding previous definition of reference to common.linker
> init:
> Overriding previous definition of reference to asm.fileset
> init_component:
> build.java:
> build.jar:
> build.native.init:
>      [echo] ## Building native of 'vm.port'
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_bin
>     [mkdir] Created dir: /export/harmony.26oct/working_vm/build/lnx_em64t_gcc_release/semis/vm/port/_obj
> build.native.c:
>        [cc] 11 total files to be compiled.
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c: In function `disasm_print':
>        [cc] /export/harmony.26oct/working_vm/vm/port/src/disasm/linux/disasm.c:125: warning: cast from pointer to integer of different size
>        [cc] /tmp/ccL6oUxH.s: Assembler messages:
>        [cc] /tmp/ccL6oUxH.s:134: Error: `0(%esp)' is not a valid 64 bit base/index expression
> BUILD FAILED
> /export/harmony.26oct/working_vm/build/make/build.xml:543: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build.xml:550: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/build_component.xml:73: The following error occurred while executing this line:
> /export/harmony.26oct/working_vm/build/make/targets/build.native.xml:91: gcc failed with return code 1
> Total time: 1 minute 54 seconds
> *
> * Please, refer to README.txt for details.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.