Thanks.

Weldon agreed to remove these fields... So... When somebody will remove them? :)
Can you do this please?

SY, Alexey

2007/7/25, Gregory Shimansky <[EMAIL PROTECTED]>:
Mikhail Loenko wrote:
> I have gcc 4.1.0. I'll try to rebuild and let you know the results

I noticed this on the previous week [1]. It happens because of conflict
between declaration and definition of p_the_safepoint_control_thread and
global_safepoint_status variables. Only the most recent gcc versions
complain about this problem.

[1] http://thread.gmane.org/gmane.comp.java.harmony.devel/28353

> 2007/7/25, Alexey Petrenko <[EMAIL PROTECTED]>:
>> Same stuff after clean checkout...
>>
>> FedoraCore 6, gcc 4.1.1
>>
>> 2007/7/25, Alexey Petrenko <[EMAIL PROTECTED]>:
>> > <[EMAIL PROTECTED]/work/harmony/working_vm>svn stat
>> > ?      build/out
>> > ?      vm/vmcore/src/init/vm_init.cpp.orig
>> > ?      vm/thread/src/hythr.exp.orig
>> > ?      vm/thread/src/hythr.def.orig
>> >
>> > will try to remove vm and checkout again...
>> >
>> > SY, Alexey
>> >
>> > 2007/7/25, Alexey Varlamov <[EMAIL PROTECTED]>:
>> > > Looks like a conflict happened during update. What 'svn stat' says?
>> > >
>> > > 2007/7/25, Alexey Petrenko <[EMAIL PROTECTED]>:
>> > > > Guys,
>> > > >
>> > > > I can not build drlvm on Linux for a few days. The following error
>> > > > appears after usual svn update and do not want to go away :(
>> > > > Svn updates and deep cleaning of repository did not help...
>> > > >
>> > > > What am I doing wrong?
>> > > >
>> > > > Thanks in advance.
>> > > >
>> > > > SY, Alexey
>> > > >
>> > > > build.native.init:
>> > > >     [echo] ## Building native of 'vm.vmcore'
>> > > >    [mkdir] Created dir:
>> > > >
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/build/lnx_ia32_gcc_release/semis/vm/vmcore/_bin
>>
>> > > >    [mkdir] Created dir:
>> > > >
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/build/lnx_ia32_gcc_release/semis/vm/vmcore/_obj
>>
>> > > >
>> > > > build.native.c:
>> > > >       [cc] 0 total files to be compiled.
>> > > >
>> > > > build.native.cpp:
>> > > >       [cc] 170 total files to be compiled.
>> > > >       [cc]
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/include/vm_threads.h:134:
>>
>> > > > error: previous declaration of 'volatile VM_thread*
>> > > > p_the_safepoint_control_thread' with 'C++' linkage
>> > > >       [cc]
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/thread/thread_manager.cpp:81:
>>
>> > > > error: conflicts with new declaration with 'C' linkage
>> > > >       [cc]
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/include/vm_threads.h:135:
>>
>> > > > error: previous declaration of 'volatile safepoint_state
>> > > > global_safepoint_status' with 'C++' linkage
>> > > >       [cc]
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/thread/thread_manager.cpp:82:
>>
>> > > > error: conflicts with new declaration with 'C' linkage
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:
>> > > > In function 'jint jni_init()':
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:387:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:387:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:387:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:387:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:
>> > > > In function 'jint JNI_GetCreatedJavaVMs(JavaVM**, jsize, jsize*)':
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:426:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:426:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:
>> > > > In function 'jint JNI_CreateJavaVM(JavaVM**, JNIEnv**, void*)':
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:456:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:456:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: invalid access to non-static data member
>> > > > 'JavaVM_Internal::link' of NULL object
>> > > >       [cc]
>> /nfs/pb/home/aapetren/work/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
>>
>> > > > warning: (perhaps the 'offsetof' macro was used incorrectly)
>> > > >
>> > > > BUILD FAILED
>> > > >
>> /nfs/pb/home/aapetren/work/harmony/working_vm/build/make/build.xml:479:
>> > > > The following error occurred while executing this line:
>> > > >
>> /nfs/pb/home/aapetren/work/harmony/working_vm/build/make/build.xml:486:
>> > > > The following error occurred while executing this line:
>> > > >
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/build/make/build_component.xml:73:
>>
>> > > > The following error occurred while executing this line:
>> > > >
>> 
/nfs/pb/home/aapetren/work/harmony/working_vm/build/lnx_ia32_gcc_release/semis/build/targets/build.native.xml:81:
>>
>> > > > gcc failed with return code 1
>> > > >
>> > > > Total time: 6 minutes 11 seconds
>> > > > *
>> > > > * Please, refer to README.txt for details.
>> > > >
>> > >
>> >
>>
>


--
Gregory


Reply via email to