You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Stepan Mishura <st...@gmail.com> on 2007/02/26 12:33:01 UTC

Re: svn commit: r510498 - in /harmony/enhanced/drlvm/trunk

Hi Gregory,

It looks like commit r510498 (HARMONY-3196) broke release build for DRL VM -
I'm not able to build snapshot for Windows x86 using federated build. Could
you check? I see the following error:

build.native.cpp:
       [cc] 46 total files to be compiled.
       [cc] gc_metadata.cpp
       [cc] fspace_collect_forward.cpp
       [cc] fspace_nongen_forward_pool.cpp
       [cc] verify_live_heap.cpp
       [cc] fspace_alloc.cpp
       [cc] finalizer_weakref.cpp
       [cc] mspace.cpp
       [cc] mark_scan_seq.cpp
       [cc] space_tuner.cpp
       [cc] fspace_forward.cpp
       [cc] free_area_pool.cpp
       [cc] fspace.cpp
       [cc] mspace_collect_compact.cpp
       [cc] gen_adapt.cpp
       [cc] C:\users\smishura\drlvm\vm\gc_gen\src\gen\gen_adapt.cpp(323) :
error C2169: 'abs' : intrinsic function, cannot be defined
       [cc] C:\users\smishura\drlvm\vm\gc_gen\src\gen\gen_adapt.cpp(347) :
error C2264: 'abs' : error in function definition or declaration; function
not called
       [cc] fspace_collect_copy.cpp
       [cc] mspace_slide_compact.cpp
       [cc] java_support.cpp
       [cc] java_natives.cpp
       [cc] gc_thread.cpp
       [cc] interior_pointer.cpp
       [cc] Generating Code...
       [cc] Compiling...
       [cc] mspace_move_compact.cpp
       [cc] mutator.cpp
       [cc] fspace_gen_forward_pool.cpp
       [cc] fspace_collect_forward_seq.cpp
       [cc] fspace_copy.cpp
       [cc] fallback_mark_scan.cpp
       [cc] gc_for_class.cpp
       [cc] collector.cpp
       [cc] mark_scan.cpp
       [cc] lspace.cpp
       [cc] mspace_alloc.cpp
       [cc] gc_for_barrier.cpp
       [cc] mutator_alloc.cpp
       [cc] finalizer_weakref_metadata.cpp
       [cc] gc_common.cpp
       [cc] mspace_collect.cpp
       [cc] collector_alloc.cpp
       [cc] mspace_extend_compact.cpp
       [cc] large_pages.cpp
       [cc] helper.cpp
       [cc] Generating Code...
       [cc] Compiling...
       [cc] gc_for_vm.cpp
       [cc] gen.cpp
       [cc] mark_scan_pool.cpp
       [cc] lspace_alloc_collect.cpp
       [cc] mark_scan_par.cpp
       [cc] fspace_collect_forward_par.cpp
       [cc] Generating Code...

BUILD FAILED

Thanks,
Stepan.

-----Original Message-----
From: gshimansky@apache.org [mailto:gshimansky@apache.org]
Sent: Thursday, February 22, 2007 7:22 PM
To: commits@harmony.apache.org
Subject: svn commit: r510498 - in /harmony/enhanced/drlvm/trunk: build/
build/make/ build/make/components/extra/ build/make/components/vm/
build/make/targets/ vm/gc_cc/src/ vm/gc_gen/src/gen/ vm/interpreter/src/
vm/jitrino/src/codegenerator/ia32/ vm/jitrino/src...

Author: gshimansky
Date: Thu Feb 22 05:21:55 2007
New Revision: 510498

URL: http://svn.apache.org/viewvc?view=rev&rev=510498
Log:
Applied HARMONY-3196 [drlvm][winx64][build] enabling of drlvm build on
windows/em64t

I've also implemented WriteBarrier in atomics.h and changed ReadWriteBarrier
to use MSVC 2005 intrinsic.

Tests passed on Ubuntu6 x86, Windows 2003 server x86 and SuSE9 x86_64. On
Windows x86_64 VM just compiles.


Modified:
    harmony/enhanced/drlvm/trunk/build/   (props changed)
    harmony/enhanced/drlvm/trunk/build/build.bat
    harmony/enhanced/drlvm/trunk/build/make/build.xml
    harmony/enhanced/drlvm/trunk/build/make/build_component.xsl
    harmony/enhanced/drlvm/trunk/build/make/components/extra/zlib.xml
    harmony/enhanced/drlvm/trunk/build/make/components/vm/em.xml
    harmony/enhanced/drlvm/trunk/build/make/components/vm/hythr.xml
    harmony/enhanced/drlvm/trunk/build/make/components/vm/jitrino.xml
    harmony/enhanced/drlvm/trunk/build/make/components/vm/vmcore.xml
    harmony/enhanced/drlvm/trunk/build/make/setup.xml
    harmony/enhanced/drlvm/trunk/build/make/targets/common_vm.xml
    harmony/enhanced/drlvm/trunk/build/make/win.properties
    harmony/enhanced/drlvm/trunk/vm/gc_cc/src/gc_for_vm.cpp
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
    harmony/enhanced/drlvm/trunk/vm/interpreter/src/interp_exports.cpp

harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BBPolling.cpp

harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CodeEmitter.cpp

harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp

harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp

harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InternalTrace.cpp
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/enc.cpp
    harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h
    harmony/enhanced/drlvm/trunk/vm/port/src/atomic/win/port_atomic.c
    harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/encoder.h

harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/lil_code_generator_em64t.cpp
    harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/m2n_em64t.cpp
    harmony/enhanced/drlvm/trunk/vm/port/src/thread/win/apr_thread_ext.c
    harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h
    harmony/enhanced/drlvm/trunk/vm/vmcore/include/atomics.h
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp

harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/compile_em64t.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp

harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/verifier/ver_utils.cpp

-- 
Stepan Mishura
Intel Enterprise Solutions Software Division

Re: svn commit: r510498 - in /harmony/enhanced/drlvm/trunk

Posted by Gregory Shimansky <gs...@gmail.com>.
Stepan Mishura wrote:
> Hi Gregory,
> 
> It looks like commit r510498 (HARMONY-3196) broke release build for DRL 
> VM -
> I'm not able to build snapshot for Windows x86 using federated build. Could
> you check? I see the following error:
> 
> build.native.cpp:
>       [cc] 46 total files to be compiled.
>       [cc] gc_metadata.cpp
>       [cc] fspace_collect_forward.cpp
>       [cc] fspace_nongen_forward_pool.cpp
>       [cc] verify_live_heap.cpp
>       [cc] fspace_alloc.cpp
>       [cc] finalizer_weakref.cpp
>       [cc] mspace.cpp
>       [cc] mark_scan_seq.cpp
>       [cc] space_tuner.cpp
>       [cc] fspace_forward.cpp
>       [cc] free_area_pool.cpp
>       [cc] fspace.cpp
>       [cc] mspace_collect_compact.cpp
>       [cc] gen_adapt.cpp
>       [cc] C:\users\smishura\drlvm\vm\gc_gen\src\gen\gen_adapt.cpp(323) :
> error C2169: 'abs' : intrinsic function, cannot be defined
>       [cc] C:\users\smishura\drlvm\vm\gc_gen\src\gen\gen_adapt.cpp(347) :
> error C2264: 'abs' : error in function definition or declaration; function
> not called

Sorry for breaking the build. I didn't know that release is so different 
from debug that abs function is different. I've renamed it to avoid 
names clash. Try revision 511861.

>       [cc] fspace_collect_copy.cpp
>       [cc] mspace_slide_compact.cpp
>       [cc] java_support.cpp
>       [cc] java_natives.cpp
>       [cc] gc_thread.cpp
>       [cc] interior_pointer.cpp
>       [cc] Generating Code...
>       [cc] Compiling...
>       [cc] mspace_move_compact.cpp
>       [cc] mutator.cpp
>       [cc] fspace_gen_forward_pool.cpp
>       [cc] fspace_collect_forward_seq.cpp
>       [cc] fspace_copy.cpp
>       [cc] fallback_mark_scan.cpp
>       [cc] gc_for_class.cpp
>       [cc] collector.cpp
>       [cc] mark_scan.cpp
>       [cc] lspace.cpp
>       [cc] mspace_alloc.cpp
>       [cc] gc_for_barrier.cpp
>       [cc] mutator_alloc.cpp
>       [cc] finalizer_weakref_metadata.cpp
>       [cc] gc_common.cpp
>       [cc] mspace_collect.cpp
>       [cc] collector_alloc.cpp
>       [cc] mspace_extend_compact.cpp
>       [cc] large_pages.cpp
>       [cc] helper.cpp
>       [cc] Generating Code...
>       [cc] Compiling...
>       [cc] gc_for_vm.cpp
>       [cc] gen.cpp
>       [cc] mark_scan_pool.cpp
>       [cc] lspace_alloc_collect.cpp
>       [cc] mark_scan_par.cpp
>       [cc] fspace_collect_forward_par.cpp
>       [cc] Generating Code...
> 
> BUILD FAILED
> 
> Thanks,
> Stepan.
> 
> -----Original Message-----
> From: gshimansky@apache.org [mailto:gshimansky@apache.org]
> Sent: Thursday, February 22, 2007 7:22 PM
> To: commits@harmony.apache.org
> Subject: svn commit: r510498 - in /harmony/enhanced/drlvm/trunk: build/
> build/make/ build/make/components/extra/ build/make/components/vm/
> build/make/targets/ vm/gc_cc/src/ vm/gc_gen/src/gen/ vm/interpreter/src/
> vm/jitrino/src/codegenerator/ia32/ vm/jitrino/src...
> 
> Author: gshimansky
> Date: Thu Feb 22 05:21:55 2007
> New Revision: 510498
> 
> URL: http://svn.apache.org/viewvc?view=rev&rev=510498
> Log:
> Applied HARMONY-3196 [drlvm][winx64][build] enabling of drlvm build on
> windows/em64t
> 
> I've also implemented WriteBarrier in atomics.h and changed 
> ReadWriteBarrier
> to use MSVC 2005 intrinsic.
> 
> Tests passed on Ubuntu6 x86, Windows 2003 server x86 and SuSE9 x86_64. On
> Windows x86_64 VM just compiles.
> 
> 
> Modified:
>    harmony/enhanced/drlvm/trunk/build/   (props changed)
>    harmony/enhanced/drlvm/trunk/build/build.bat
>    harmony/enhanced/drlvm/trunk/build/make/build.xml
>    harmony/enhanced/drlvm/trunk/build/make/build_component.xsl
>    harmony/enhanced/drlvm/trunk/build/make/components/extra/zlib.xml
>    harmony/enhanced/drlvm/trunk/build/make/components/vm/em.xml
>    harmony/enhanced/drlvm/trunk/build/make/components/vm/hythr.xml
>    harmony/enhanced/drlvm/trunk/build/make/components/vm/jitrino.xml
>    harmony/enhanced/drlvm/trunk/build/make/components/vm/vmcore.xml
>    harmony/enhanced/drlvm/trunk/build/make/setup.xml
>    harmony/enhanced/drlvm/trunk/build/make/targets/common_vm.xml
>    harmony/enhanced/drlvm/trunk/build/make/win.properties
>    harmony/enhanced/drlvm/trunk/vm/gc_cc/src/gc_for_vm.cpp
>    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp
>    harmony/enhanced/drlvm/trunk/vm/interpreter/src/interp_exports.cpp
> 
> harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32BBPolling.cpp 
> 
> 
> harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CodeEmitter.cpp 
> 
> 
> harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32GCMap.cpp 
> 
> 
> harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InternalProfiler.cpp 
> 
> 
> harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32InternalTrace.cpp 
> 
>    harmony/enhanced/drlvm/trunk/vm/jitrino/src/jet/enc.cpp
>    harmony/enhanced/drlvm/trunk/vm/port/include/port_atomic.h
>    harmony/enhanced/drlvm/trunk/vm/port/src/atomic/win/port_atomic.c
>    harmony/enhanced/drlvm/trunk/vm/port/src/encoder/ia32_em64t/encoder.h
> 
> harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/lil_code_generator_em64t.cpp 
> 
>    harmony/enhanced/drlvm/trunk/vm/port/src/lil/em64t/pim/m2n_em64t.cpp
>    harmony/enhanced/drlvm/trunk/vm/port/src/thread/win/apr_thread_ext.c
>    harmony/enhanced/drlvm/trunk/vm/thread/src/thread_private.h
>    harmony/enhanced/drlvm/trunk/vm/vmcore/include/atomics.h
>    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jni/jni.cpp
>    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti.cpp
>    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_break_intf.cpp
> 
> harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/compile_em64t.cpp 
> 
>    harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/em64t/base/ini_em64t.cpp
> 
> harmony/enhanced/drlvm/trunk/vm/vmcore/src/util/win/em64t/nt_exception_filter.cpp 
> 
>    harmony/enhanced/drlvm/trunk/vm/vmcore/src/verifier/ver_utils.cpp
> 


-- 
Gregory