Date: Fri, 21 Jan 2005 21:10:02 +0800 (CST) From: huang wen hui <huanghwh@yahoo.com> To: Alexey Zelkin <phantom@FreeBSD.org.ua> Cc: java@freebsd.org Subject: Re: amd64 and Intel processors problem (was: Re: jdk15 fail compile under amd64) Message-ID: <20050121131002.66637.qmail@web51810.mail.yahoo.com> In-Reply-To: <20050121123227.GA94815@phantom.cris.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Alexey Zelkin <phantom@FreeBSD.org.ua> 的正文: > On Fri, Jan 21, 2005 at 07:38:27PM +0800, huang wen > hui wrote: > > --- Alexey Zelkin <phantom@FreeBSD.org.ua> > ???????? > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121131002.66637.qmail>