From owner-freebsd-java@FreeBSD.ORG Fri Sep 12 08:16:16 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 96B5116A4BF for ; Fri, 12 Sep 2003 08:16:16 -0700 (PDT) Received: from mail.liwing.de (mail.liwing.de [213.70.188.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4151943FF3 for ; Fri, 12 Sep 2003 08:16:15 -0700 (PDT) (envelope-from rehsack@liwing.de) Received: (qmail 15504 invoked from network); 12 Sep 2003 15:16:11 -0000 Received: from stingray.liwing.de (HELO liwing.de) ([213.70.188.164]) (envelope-sender ) by mail.liwing.de (qmail-ldap-1.03) with SMTP for ; 12 Sep 2003 15:16:11 -0000 Message-ID: <3F61E33A.9040405@liwing.de> Date: Fri, 12 Sep 2003 15:16:10 +0000 From: Jens Rehsack User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030821 X-Accept-Language: de-de, de, en-us, en MIME-Version: 1.0 To: Alexey Zelkin References: <3F573110.90106@liwing.de> <20030908115507.A61581@phantom.cris.net> <3F5C4342.4050200@liwing.de> <20030908121132.B61701@phantom.cris.net> In-Reply-To: <20030908121132.B61701@phantom.cris.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: glewis@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: jdk-1.4 on 5.1-current X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 15:16:16 -0000 Hi Alexey, I tried again with MAKE_VERBOSE=yes and CFLAGS=-g and got a chance to look into the result. First what makes me confuse was the output during make: >>>Recursively making javac all @ Fri Sep 12 14:30:54 GMT 2003 ... Syntax error: Unterminated quoted string gmake[3]: Entering directory `/usr/ports/java/jdk14/work/j2se/make/java/javac' >>>Recursively making ../../sun/javac all @ Fri Sep 12 14:30:54 GMT 2003 ... cd ../../sun/javac ; gmake all RELEASE=1.4.1-p4-pre1 FULL_VERSION=1.4.1-p4-pre1-root_12_sep_2003_12_53 Syntax error: Unterminated quoted string gmake[4]: Entering directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac' >>>Recursively making sources all @ Fri Sep 12 14:30:54 GMT 2003 ... Syntax error: Unterminated quoted string gmake[5]: Entering directory `/usr/ports/java/jdk14/work/j2se/make/sun/javac/sources' If you want to see the entire log, I'll record by script(1) and mail it to you. Than the coredump occures again and I checked the dump: (gdb) bt #0 0x68475d1e in init_debug_values () at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:104 #1 0x68479619 in os_init() () at /usr/ports/java/jdk14/work/hotspot/src/os/bsd/vm/os_bsd.cpp:2176 #2 0x684cdc11 in Threads::create_vm(JavaVMInitArgs*) (args=0xbfbfe880) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/thread.cpp:2514 #3 0x683dcd5b in JNI_CreateJavaVM (vm=0xbfbff11c, penv=0xbfbff118, args=0x0) at /usr/ports/java/jdk14/work/hotspot/src/share/vm/prims/jni.cpp:2318 #4 0x0804a7d4 in free () #5 0x08048fc0 in free () #6 0x08048be4 in free () (gdb) disas 0x68475d1e Dump of assembler code for function init_debug_values: 0x68475cf0 : push %ebp 0x68475cf1 : mov %esp,%ebp 0x68475cf3 : push %ebx 0x68475cf4 : sub $0x4,%esp 0x68475cf7 : call 0x68279dda <__i686.get_pc_thunk.bx> 0x68475cfc : add $0x16990c,%ebx 0x68475d02 : lea 0xfff8843c(%ebx),%eax 0x68475d08 : mov %eax,(%esp,1) 0x68475d0b : call 0x6826905c <_init+10636> 0x68475d10 : test %eax,%eax 0x68475d12 : mov $0x1,%eax 0x68475d17 : cmove 0xfff1c7e0(%ebx),%eax 0x68475d1e : mov %eax,0xfff1c7e0(%ebx) 0x68475d24 : lea 0xfff88451(%ebx),%eax 0x68475d2a : mov %eax,(%esp,1) 0x68475d2d : call 0x6826905c <_init+10636> 0x68475d32 : test %eax,%eax 0x68475d34 : mov $0x1,%eax 0x68475d39 : cmove 0xfff1c7d8(%ebx),%eax 0x68475d40 : mov %eax,0xfff1c7d8(%ebx) 0x68475d46 : lea 0xfff88468(%ebx),%eax 0x68475d4c : mov %eax,(%esp,1) 0x68475d4f : call 0x6826905c <_init+10636> 0x68475d54 : test %eax,%eax 0x68475d56 : mov $0x1,%eax 0x68475d5b : cmove 0xfff1c7dc(%ebx),%eax 0x68475d62 : mov %eax,0xfff1c7dc(%ebx) 0x68475d68 : lea 0xfff88481(%ebx),%eax 0x68475d6e : mov %eax,(%esp,1) 0x68475d71 : call 0x6826905c <_init+10636> 0x68475d76 : test %eax,%eax 0x68475d78 : mov $0x1,%eax 0x68475d7d : cmove 0xfff1c7e4(%ebx),%eax 0x68475d84 : mov %eax,0xfff1c7e4(%ebx) 0x68475d8a : lea 0xfff8849d(%ebx),%eax 0x68475d90 : mov %eax,(%esp,1) 0x68475d93 : call 0x6826905c <_init+10636> 0x68475d98 : test %eax,%eax 0x68475d9a : je 0x68475da8 0x68475d9c : mov 0x5768(%ebx),%eax 0x68475da2 : movl $0x1,(%eax) 0x68475da8 : lea 0xfff884ad(%ebx),%eax 0x68475dae : mov %eax,(%esp,1) 0x68475db1 : call 0x6826905c <_init+10636> 0x68475db6 : test %eax,%eax 0x68475db8 : je 0x68475dc6 0x68475dba : mov 0x696c(%ebx),%eax 0x68475dc0 : movl $0x1,(%eax) 0x68475dc6 : add $0x4,%esp 0x68475dc9 : pop %ebx 0x68475dca : pop %ebp 0x68475dcb : ret End of assembler dump. (gdb) list 100,110 init_debug_values() { 101 char *s; 102 bool *b; 103 104 if ((s = getenv("_JAVADEBUG_TRACE_HPI")) != NULL) { 105 b = (jint*)&TraceHPI; *b = true; 106 } 107 108 if ((s = getenv("_JAVADEBUG_TRACE_VMOPS")) != NULL) { 109 b = (jint*)&TraceVMOperation; *b = true; 110 } 110 } (gdb) print b No symbol "b" in current context. Because of I cannot easily read AT&T style assembly and don't know gdb too much, I'm not sure how I can go forward to find the error and fix it. Any help to do this is gladly welcome. Best regards, Jens