harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geir Magnusson Jr." <g...@pobox.com>
Subject Re: [drlvm][threading][build] HARMONY-1907 commit (r472524) breaks the build on SUSE9
Date Thu, 09 Nov 2006 14:44:48 GMT
Worked fine for me on Ubuntu 6 using gcc 3.4.3

Gregory Shimansky wrote:
> Thanks for spotting this. I'll check on SUSE and if reverting this patch 
> helps, I'll revert it. I wonder why this doesn't break on more modern 
> linuxes.
> 
> Egor Pasko wrote:
>> Guys,
>>
>> after commit of HARMONY-1907 (r472524) by Gregory .. * Good news: 
>> builds OK :)
>> * Bad news: I am observing HelloWorld to fall into SEGV on SUSE9   
>> (yes, old gcc-3.3.3 again:)
>>
>> 788 methods compiled successfully, last are:
>>
>> EM: compile start:[JET_DPGO n=782] 
>> java/lang/FinalizerThread$FinalizerStartLock::<init>(Ljava/lang/FinalizerThread;)V

>>
>> EM: compile done:[JET_DPGO n=782: OK] 
>> java/lang/FinalizerThread$FinalizerStartLock::<init>(Ljava/lang/FinalizerThread;)V

>>
>> EM: compile start:[JET_DPGO n=783] java/lang/Thread::setDaemon(Z)V
>> EM: compile done:[JET_DPGO n=783: OK] java/lang/Thread::setDaemon(Z)V
>> EM: compile start:[JET_DPGO n=784] java/lang/Thread::isAlive()Z
>> EM: compile done:[JET_DPGO n=784: OK] java/lang/Thread::isAlive()Z
>> EM: compile start:[JET_DPGO n=785] java/lang/Thread::start()V
>> EM: compile done:[JET_DPGO n=785: OK] java/lang/Thread::start()V
>> EM: compile start:[JET_DPGO n=786] java/lang/Object::wait()V
>> EM: compile done:[JET_DPGO n=786: OK] java/lang/Object::wait()V
>> EM: compile start:[JET_DPGO n=787] java/lang/Thread::runImpl()V
>> EM: compile done:[JET_DPGO n=787: OK] java/lang/Thread::runImpl()V
>> EM: compile start:[JET_DPGO n=788] java/lang/Object::notifyAll()V
>> EM: compile done:[JET_DPGO n=788: OK] java/lang/Object::notifyAll()V
>>
>> most likely, threading library failed to load, because:
>> (gdb) bt 20
>> #0  0x40007de5 in do_lookup_x () from /lib/ld-linux.so.2
>> #1  0x400080dc in _dl_lookup_symbol_x () from /lib/ld-linux.so.2
>> #2  0x40558f16 in do_sym () from /lib/tls/libc.so.6
>> #3  0x4055904a in _dl_sym () from /lib/tls/libc.so.6
>> #4  0x40586158 in dlsym_doit () from /lib/libdl.so.2
>> #5  0x4000cf86 in _dl_catch_error () from /lib/ld-linux.so.2
>> #6  0x40586415 in _dlerror_run () from /lib/libdl.so.2
>> #7  0x40586101 in dlsym () from /lib/libdl.so.2
>> #8  0x40c998f7 in apr_dso_sym (ressym=0x5288f0f0, handle=0x80b4530, 
>> symname=0x52a80410 "Java_java_lang_VMThreadManager_notifyAll")
>>     at dso.c:227
>> #9  0x40b9665a in natives_lookup_symbol (libraries=0x84e88e8, 
>> symbol=0x52a80410 "Java_java_lang_VMThreadManager_notifyAll")
>>     at 
>> /export/users/evpasko/svn/3/trunk/working_vm/vm/vmcore/src/util/natives_support.cpp:629

>>
>> #10 0x40b96882 in natives_lookup_method (libraries=0x84e88e8, 
>> class_name=0x807b520 "java/lang/VMThreadManager",
>>     method_name=0x807b0f0 "notifyAll", method_desc=0x807b3b0 
>> "(Ljava/lang/Object;)I")
>>     at 
>> /export/users/evpasko/svn/3/trunk/working_vm/vm/vmcore/src/util/natives_support.cpp:669

>>
>> #11 0x40af9d80 in ClassLoader::LookupNative (this=0x8082dc0, 
>> method=0x83f62d4)
>>     at 
>> /export/users/evpasko/svn/3/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:1330

>>
>> #12 0x40afc2ad in classloader_find_native (method=0x83f62d4)
>>     at 
>> /export/users/evpasko/svn/3/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:2061

>>
>> #13 0x40b05441 in compile_prepare_native_method (method=0x83f62d4, 
>> flags={insert_write_barriers = 0, opt_level = 8, dynamic_profile = 0})
>>     at 
>> /export/users/evpasko/svn/3/trunk/working_vm/vm/vmcore/src/jit/compile.cpp:652 
>>
>> #14 0x40b05979 in compile_do_compilation (method=0x83f62d4, 
>> flags={insert_write_barriers = 0, opt_level = 8, dynamic_profile = 0})
>>     at 
>> /export/users/evpasko/svn/3/trunk/working_vm/vm/vmcore/src/jit/compile.cpp:771 
>>
>> #15 0x40b05d99 in compile_jit_a_method (method=0x83f62d4) at 
>> /export/users/evpasko/svn/3/trunk/working_vm/vm/vmcore/src/jit/compile.cpp:832 
>>
>>
>> If nobody has a quick idea how to fix it, I'll take a look today
>>
> 
> 

Mime
View raw message