From owner-freebsd-java@FreeBSD.ORG Fri Jan 21 12:49:28 2005 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 1458D16A4CE for ; Fri, 21 Jan 2005 12:49:28 +0000 (GMT) Received: from web51801.mail.yahoo.com (web51801.mail.yahoo.com [206.190.38.232]) by mx1.FreeBSD.org (Postfix) with SMTP id 6BF6243D2D for ; Fri, 21 Jan 2005 12:49:27 +0000 (GMT) (envelope-from huanghwh@yahoo.com) Received: (qmail 22736 invoked by uid 60001); 21 Jan 2005 12:49:26 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=U91yXfS+U+Rgf1J1E0Ma1/BVKWNZnadksej31NdfFPLUsztsTmS73ItJrWRdDteVLV6THZBwXqedGks1WRFPO8Ge995dFDvsbmHwFoBNxAh5oqEXBcvclpVghbGahq2/p3ohE/ka1GGy4Te1Pda+Z30mwPqdWPSS9yOhEbcwRVk= ; Message-ID: <20050121124926.22734.qmail@web51801.mail.yahoo.com> Received: from [218.19.184.132] by web51801.mail.yahoo.com via HTTP; Fri, 21 Jan 2005 20:49:26 CST Date: Fri, 21 Jan 2005 20:49:26 +0800 (CST) From: huang wen hui To: Alexey Zelkin In-Reply-To: <20050121123227.GA94815@phantom.cris.net> MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 8bit cc: java@freebsd.org Subject: Re: amd64 and Intel processors problem (was: Re: jdk15 fail compile under amd64) 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, 21 Jan 2005 12:49:28 -0000 --- Alexey Zelkin 的正文: > On Fri, Jan 21, 2005 at 07:38:27PM +0800, huang wen > hui wrote: > > --- Alexey Zelkin > ???????? > > > hi, > > > > > > Thank you for posting of your dmesg and > backtraces. > > > They described > > > a problem. > > > > > > Unfortunatelly, JVM building/built for amd64, > > > expects to be running > > > at real amd64 hardware. And in your case, > you're > > > using Intel hardware > > > running in amd64 emulation mode (as far as I > > > understand). > > > > > > At this point -- it's impossible to use such > > > combination, sorry. > > :( > > > > > > You need to build i386 version of jdk at > > > FreeBSD/i386, and just copy > > > it to your Intel/amd64. Can you please, try it > and > > > report your results ? > > I had tried it before, > > jdk1.5.0 always "Segmentation fault (core dumped)" > > jdk1.4.2 is ok. > > gdb backtrace from core file ? > > I don't know much gdb on COMPAT32: %./java_g Segmentation fault (core dumped) %gdb -core java_g.core java_g GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... "/usr/local/jdk1.5.0/bin/java_g.core" is not a core dump: File format not recognized (gdb) quit %gdb java_g GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... (gdb) run Starting program: /usr/local/jdk1.5.0/bin/java_g Program received signal SIGTRAP, Trace/breakpoint trap. 0x2805b970 in ?? () (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. 0x286a7403 in ?? () (gdb) bt #0 0x286a7403 in ?? () #1 0x08060040 in ?? () #2 0x288f61ec in ?? () #3 0xffffd198 in ?? () #4 0x2872c2d4 in ?? () #5 0x08054acd in ?? () #6 0x00000012 in ?? () #7 0x080547e4 in ?? () #8 0x00000001 in ?? () #9 0x2828fad3 in ?? () #10 0x281755f9 in ?? () #11 0x2817fe4c in ?? () #12 0x288f611c in ?? () #13 0x28966b68 in ?? () #14 0x01ffd094 in ?? () #15 0x28079ab8 in ?? () #16 0x280820d0 in ?? () #17 0x00000000 in ?? () #18 0xffffd0b4 in ?? () #19 0x2805f2e3 in ?? () #20 0x080489fb in ?? () #21 0xffffd050 in ?? () #22 0x00000000 in ?? () #23 0x00000000 in ?? () #24 0x000000b0 in ?? () #25 0x28058f90 in ?? () #26 0x01ffd0c4 in ?? () #27 0x28079ab8 in ?? () #28 0x00000000 in ?? () #29 0x2805d5d8 in ?? () #30 0xffffd144 in ?? () #31 0x2805f174 in ?? () #32 0x2817fe4c in ?? () #33 0x08060040 in ?? () #34 0xffffdb10 in ?? () #35 0xffffd1e8 in ?? () #36 0x28151dca in ?? () #37 0xffffd180 in ?? () #38 0x08054acd in ?? () #39 0xffffd1fc in ?? () #40 0x28108f3e in ?? () #41 0x00000000 in ?? () #42 0x00000000 in ?? () #43 0x00000000 in ?? () #44 0x00000000 in ?? () #45 0x00000000 in ?? () #46 0x00000000 in ?? () ---Type to continue, or q to quit--- #47 0x00000000 in ?? () #48 0x00000000 in ?? () #49 0x00000000 in ?? () #50 0x00000100 in ?? () #51 0x00000005 in ?? () #52 0x2817fe4c in ?? () #53 0x00000020 in ?? () #54 0x00000000 in ?? () #55 0xffffd138 in ?? () #56 0x28109222 in ?? () #57 0x00000020 in ?? () #58 0x00000000 in ?? () #59 0x00000000 in ?? () #60 0x2817fe4c in ?? () #61 0x00000000 in ?? () #62 0xffffdb10 in ?? () #63 0xffffd188 in ?? () #64 0x28109b3f in ?? () #65 0x00000020 in ?? () #66 0x00000000 in ?? () #67 0x00000000 in ?? () #68 0x00000000 in ?? () #69 0x00000000 in ?? () #70 0x2837f638 in ?? () #71 0xffffd168 in ?? () #72 0x2837f608 in ?? () #73 0x00000000 in ?? () #74 0x288f61ec in ?? () #75 0xffffd178 in ?? () #76 0x2837f5e8 in ?? () #77 0x00000000 in ?? () #78 0x288f61ec in ?? () #79 0xffffd198 in ?? () #80 0x284c2d2e in ?? () #81 0x08060040 in ?? () #82 0xffffdb10 in ?? () #83 0xffffd1a8 in ?? () #84 0x00000000 in ?? () #85 0x288f61ec in ?? () #86 0x08060040 in ?? () #87 0xffffd1c8 in ?? () #88 0x28572ae3 in ?? () #89 0xffffd1f0 in ?? () #90 0xffffd1c0 in ?? () #91 0xffffd1c8 in ?? () #92 0x28572a3c in ?? () #93 0x00000020 in ?? () ---Type to continue, or q to quit--- #94 0x00000029 in ?? () #95 0x080582d8 in __JCR_LIST__ () #96 0x00000000 in ?? () #97 0x00000001 in ?? () #98 0x080582d8 in __JCR_LIST__ () #99 0xffffd208 in ?? () #100 0x0804ae22 in InitializeJVM (pvm=0x8054acd, penv=0x12, ifn=0x80547e4) at ../../../../src/share/bin/java.c:1025 Previous frame inner to this frame (corrupt stack?) (gdb)quit _________________________________________________________ Do You Yahoo!? 嫌邮箱太小?雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html