harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Fursov" <mike.fur...@gmail.com>
Subject Re: [drlvm][general] I think I might have broken the JVM repository
Date Wed, 18 Jul 2007 06:28:45 GMT
Yes, simple "build clean" must help.

On 7/18/07, Weldon Washburn <weldonwjw@gmail.com> wrote:
>
> Can you try to check out a new tree?  In specific, "svn co
> https://svn.apache.org/repos/asf/harmony/enhanced/trunk"    followed by,
> "ant populate", ...
>
> Incidentally, I did the above on my windows laptop 12 hours ago and
> everything worked fine.
>
>
>
>
> On 7/17/07, Alexei Zakharov <alexei.zakharov@gmail.com> wrote:
> >
> > Weldon,
> >
> > I cannot build the workspace after recent commits to DRLVM. I have no
> > idea does this issue related to your commit or not. Build log:
> >
> > <===
> > ...
> > build.native.init:
> >     [echo] ## Building native of 'vm.vmcore'
> >    [mkdir] Created dir:
> >
> >
> /home/ayzakhar/projects/harmony/working_vm/build/lnx_ia32_gcc_debug/semis/vm/vmcore/_bin
> >    [mkdir] Created dir:
> >
> >
> /home/ayzakhar/projects/harmony/working_vm/build/lnx_ia32_gcc_debug/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/ver_utils.h:399:
> > error: extra qualification 'CPVerifier::vf_Hash::' on member
> > 'HashFunc'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:107:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_handler'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:113:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_refname'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:161:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_throwable'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:173:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_arrayref_of_char'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:266:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'check_table'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/context.h:294:
> > error: extra qualification 'CPVerifier::vf_Context_t::' on member
> > 'new_ret_vector_constraint'
> >       [cc]
> > /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:
> > In function 'jint jni_init()':
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:387:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:387:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> > /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:
> > In function 'jint JNI_GetCreatedJavaVMs(JavaVM**, jsize, jsize*)':
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:426:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> > /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:
> > In function 'jint JNI_CreateJavaVM(JavaVM**, JNIEnv**, void*)':
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:456:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> >
> /home/ayzakhar/projects/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]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/jni/jni.cpp:543:
> > warning: (perhaps the 'offsetof' macro was used incorrectly)
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/ver_utils.h:399:
> > error: extra qualification 'CPVerifier::vf_Hash::' on member
> > 'HashFunc'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:107:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_handler'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:113:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_refname'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:161:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_throwable'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:173:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_arrayref_of_char'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:266:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'check_table'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/context.h:294:
> > error: extra qualification 'CPVerifier::vf_Context_t::' on member
> > 'new_ret_vector_constraint'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/ver_utils.h:399:
> > error: extra qualification 'CPVerifier::vf_Hash::' on member
> > 'HashFunc'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:107:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_handler'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:113:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_refname'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:161:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_throwable'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:173:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_arrayref_of_char'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:266:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'check_table'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/context.h:294:
> > error: extra qualification 'CPVerifier::vf_Context_t::' on member
> > 'new_ret_vector_constraint'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/ver_utils.h:399:
> > error: extra qualification 'CPVerifier::vf_Hash::' on member
> > 'HashFunc'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:107:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_handler'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:113:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_refname'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:161:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_throwable'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:173:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_arrayref_of_char'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:266:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'check_table'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/context.h:294:
> > error: extra qualification 'CPVerifier::vf_Context_t::' on member
> > 'new_ret_vector_constraint'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/ver_utils.h:399:
> > error: extra qualification 'CPVerifier::vf_Hash::' on member
> > 'HashFunc'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:107:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_handler'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:113:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_refname'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:161:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_throwable'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:173:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'sm_get_const_arrayref_of_char'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/tpool.h:266:
> > error: extra qualification 'CPVerifier::vf_TypePool::' on member
> > 'check_table'
> >       [cc]
> >
> /home/ayzakhar/projects/harmony/working_vm/vm/vmcore/src/verifier-3363/context.h:294:
> > error: extra qualification 'CPVerifier::vf_Context_t::' on member
> > 'new_ret_vector_constraint'
> >
> > BUILD FAILED
> > /home/ayzakhar/projects/harmony/working_vm/build/make/build.xml:479:
> > The following error occurred while executing this line:
> > /home/ayzakhar/projects/harmony/working_vm/build/make/build.xml:486:
> > The following error occurred while executing this line:
> >
> >
> /home/ayzakhar/projects/harmony/working_vm/build/make/build_component.xml:73:
> > The following error occurred while executing this line:
> >
> >
> /home/ayzakhar/projects/harmony/working_vm/build/lnx_ia32_gcc_debug/semis/build/targets/build.native.xml:81:
> > gcc failed with return code 1
> >
> > Total time: 5 minutes 58 seconds
> > <===
> >
> > I use
> > Debian Linux IA32,
> > gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
> >
> > Does anybody else see this?
> >
> > Regards,
> >
> > 2007/7/17, Weldon Washburn <weldonwjw@gmail.com>:
> > > On 7/16/07, Mikhail Loenko <mloenko@gmail.com> wrote:
> > > >
> > > > Hi Weldon,
> > > >
> > > > Do you have any updates?
> > > > I've made "svn up" and it builds and works fine for me. Nothing
> seems
> > > > to be broken
> > >
> > >
> > > I see the same thing on win32.  Nothing seems to be broken.  I created
> a
> > new
> > > directory and did a "svn co
> > > https://svn.apache.org/repos/asf/harmony/enhanced/trunk" then
> proceeded
> > to
> > > run build and "build test".  It all seems to work.  And all of the
> 300++
> > KB
> > > commit(s) I did earlier today seems to have been appied to
> > > the svn repository.
> > >
> > > The only problem I see at this time is that the Linux build is broken
> on
> > my
> > > Linux machine.  When I run a simple "java hello", it give the
> following
> > > error message:
> > >
> > >
> > > Failed to initialize system class loader.
> > > ** During system class loader initialization uncaught exception:
> > > java/lang/Unsat
> > > isfiedLinkError
> > >
> > > java/lang/UnsatisfiedLinkError : Can not find the library:
> > libhycharset.so
> > >  at java.lang.Runtime.loadLibrary0 (Runtime.java: 807)
> > >  at java.lang.System.loadLibrary (System.java: 223)
> > >  at org.apache.harmony.niochar.CharsetProviderImpl.<clinit>
> > > (CharsetProviderImpl
> > > .java: 47)
> > >  at java.nio.charset.Charset$1.run (Charset.java: 151)
> > >  at java.nio.charset.Charset$1.run (Charset.java: 1)
> > >  at java.security.AccessController.doPrivilegedImpl (
> > AccessController.java:
> > > 171)...............
> > >
> > > Somehow the niochar library thinks there is a libhycharset.so.  I
> don't
> > have
> > > a clue why this is happening.  Since I am able to do a clean download
> > then
> > > build and run on win32, perhaps it was not caused by my commits
> (?)  In
> > any
> > > case, I continue to hunt down this bug on the Linux platform.
> > >
> > >
> > >
> > > Thanks,
> > > > Mikhail
> > > >
> > > > 2007/7/17, Weldon Washburn <weldonwjw@gmail.com>:
> > > > > While attempting to commit threading files that have been svn
> moved,
> > I
> > > > am
> > > > > receiving errors about files already existing.  I am 100% focused
> on
> > > > putting
> > > > > the repository back together now. I will post updates to the dev
> > list.
> > > > > Sorry for the inconvenience.
> >
> >
> > --
> > Alexei Zakharov,
> > Intel ESSD
> >
>
>
>
> --
> Weldon Washburn
>



-- 
Mikhail Fursov

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message