From owner-freebsd-java@FreeBSD.ORG Fri Jan 21 13:10:04 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 D868116A4CF for ; Fri, 21 Jan 2005 13:10:04 +0000 (GMT) Received: from web51810.mail.yahoo.com (web51810.mail.yahoo.com [206.190.38.241]) by mx1.FreeBSD.org (Postfix) with SMTP id 5655D43D39 for ; Fri, 21 Jan 2005 13:10:04 +0000 (GMT) (envelope-from huanghwh@yahoo.com) Received: (qmail 66639 invoked by uid 60001); 21 Jan 2005 13:10:02 -0000 Message-ID: <20050121131002.66637.qmail@web51810.mail.yahoo.com> Received: from [218.19.184.132] by web51810.mail.yahoo.com via HTTP; Fri, 21 Jan 2005 21:10:02 CST Date: Fri, 21 Jan 2005 21:10:02 +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 13:10:05 -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 ? > > forget this: I used ln's "libpthread.so.1", or java will not run, jdk1.4.2 has same problem. # ls -l /usr/lib32/libpthread.so.1 lrwxr-xr-x 1 root wheel 11 Jan 21 21:00 /usr/lib32/libpthread.so.1 -> libc_r.so.5 #/usr/local/jdk1.5.0/bin/java Segmentation fault (core dumped) #cp libpthread.so.1.orig libpthread.so.1 #/usr/local/jdk1.5.0/bin/java /libexec/ld-elf.so.1: /usr/lib32/libpthread.so.1: Undefined symbol "i386_set_ldt" _________________________________________________________ Do You Yahoo!? 嫌邮箱太小?雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/10m/*http://cn.mail.yahoo.com/event/10m.html