harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Shipilev" <aleksey.shipi...@gmail.com>
Subject [build] Windows/ia32/ICL build is broken?
Date Wed, 07 Nov 2007 12:22:06 GMT
Hi guys,

I'm trying to build fresh Harmony/ia32 (r592720) with Intel C++
Compiler 9.1 on Windows.
Besides that I have hacked CPPTASKS to workaround ICL hangs [1], there
are build problems.
Has anyone faced this?

===========================================
[snip]

build.native.init:
     [echo] ## Building native of 'vm.vmcore'

build.native.c:
       [cc] 0 total files to be compiled.

build.native.cpp:
       [cc] Starting dependency analysis for 165 files.
       [cc] 164 files are up to date.
       [cc] 1 files to be recompiled from dependency analysis.
       [cc] 7 total files to be compiled.
       [cc] ver.cpp
       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/../base/stackmap_x.h(34):
error #94: the size of an array must be greater than zero
       [cc]           MapElement elements[0];
       [cc]                               ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(152):
error #1195: conversion from integer to smaller pointer
       [cc]               return (IncomingType*)( (intptr)incoming & ~3 );
       [cc]                      ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(186):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming & ~3);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(194):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming | mask);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(232):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming | 1);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(238):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming & ~1);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(265):
error #1195: conversion from integer to smaller pointer
       [cc]               return (StackmapElement *) ((intptr)var_ptr & ~3);
       [cc]                      ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(286):
error #1195: conversion from integer to smaller pointer
       [cc]                   var_ptr = (StackmapElement*)((intptr)var_ptr | 2);
       [cc]                             ^

       [cc] context_5.cpp
       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\../base/stackmap_x.h(34):
error #94: the size of an array must be greater than zero
       [cc]           MapElement elements[0];
       [cc]                               ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\stackmap_5.h(152):
error #1195: conversion from integer to smaller pointer
       [cc]               return (IncomingType*)( (intptr)incoming & ~3 );
       [cc]                      ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\stackmap_5.h(186):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming & ~3);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\stackmap_5.h(194):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming | mask);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\stackmap_5.h(232):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming | 1);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\stackmap_5.h(238):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming & ~1);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\stackmap_5.h(265):
error #1195: conversion from integer to smaller pointer
       [cc]               return (StackmapElement *) ((intptr)var_ptr & ~3);
       [cc]                      ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\stackmap_5.h(286):
error #1195: conversion from integer to smaller pointer
       [cc]                   var_ptr = (StackmapElement*)((intptr)var_ptr | 2);
       [cc]                             ^

       [cc] context_x.cpp
       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\stackmap_x.h(34):
error #94: the size of an array must be greater than zero
       [cc]           MapElement elements[0];
       [cc]                               ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(152):
error #1195: conversion from integer to smaller pointer
       [cc]               return (IncomingType*)( (intptr)incoming & ~3 );
       [cc]                      ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(186):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming & ~3);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(194):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming | mask);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(232):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming | 1);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(238):
error #1195: conversion from integer to smaller pointer
       [cc]               incoming = (IncomingType *) ((intptr)incoming & ~1);
       [cc]                          ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(265):
error #1195: conversion from integer to smaller pointer
       [cc]               return (StackmapElement *) ((intptr)var_ptr & ~3);
       [cc]                      ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\../java5/stackmap_5.h(286):
error #1195: conversion from integer to smaller pointer
       [cc]                   var_ptr = (StackmapElement*)((intptr)var_ptr | 2);
       [cc]                             ^

       [cc] parse_arguments.cpp
       [cc] java_lang_VMThreadManager.cpp
       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\kernel_classes\native\java_lang_VMThreadManager.cpp(152):
error #1195: conversion from integer to smaller pointer
       [cc]       return jthread_thread_init(jenv, thread, ref,
(hythread_t)oldThread);
       [cc]                                                     ^

       [cc] context_6.cpp
       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java6\../base/stackmap_x.h(34):
error #94: the size of an array must be greater than zero
       [cc]           MapElement elements[0];
       [cc]                               ^

       [cc] vm.cpp
       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\init\vm.cpp(24):
error #1740: dllexport/dllimport conflict with
"VM_Global_State::loader_env" (declared at line 24); dllexport assumed
       [cc]   Global_Env *VM_Global_State::loader_env = 0;
       [cc]                                ^

       [cc] C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\init\vm.cpp(27):
error #1740: dllexport/dllimport conflict with
"ManagedObject::_tag_pointer" (declared at line 27); dllexport assumed
       [cc]   bool ManagedObject::_tag_pointer = false;
       [cc]                       ^

       [cc] icl: Command line warning: ignoring unknown option '/mp'
       [cc] compilation aborted for
C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\ver.cpp
(code 2)
       [cc] compilation aborted for
C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java5\context_5.cpp
(code 2)
       [cc] compilation aborted for
C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\base\context_x.cpp
(code 2)
       [cc] compilation aborted for
C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\kernel_classes\native\java_lang_VMThreadManager.cpp
(code 2)
       [cc] compilation aborted for
C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\verifier-3363\java6\context_6.cpp
(code 2)
       [cc] compilation aborted for
C:\users\shade\Harmony\trunk\working_vm\vm\vmcore\src\init\vm.cpp
(code 2)

BUILD FAILED
C:\users\shade\Harmony\trunk\working_vm\build\make\build.xml:555: The
following error occurred while executing this line:
C:\users\shade\Harmony\trunk\working_vm\build\make\build.xml:562: The
following error occurred while executing this line:
C:\users\shade\Harmony\trunk\working_vm\build\make\build_component.xml:74:
The following error occurred while executing this line:
C:\users\shade\Harmony\trunk\working_vm\build\make\targets\build.native.xml:107:
icl failed with return code 2

Total time: 25 seconds

===========================================

Thanks,
Aleksey.

[1] http://www.mail-archive.com/dev@harmony.apache.org/msg03850.html

Mime
View raw message