amd64 and Intel processors problem (was: Re: jdk15 fail compile under amd64)

huang wen hui huanghwh at yahoo.com
Fri Jan 21 05:10:05 PST 2005


 --- Alexey Zelkin <phantom at FreeBSD.org.ua> µÄÕýÎÄ£º
> On Fri, Jan 21, 2005 at 07:38:27PM +0800, huang wen
> hui wrote:
> >  --- Alexey Zelkin <phantom at 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


More information about the freebsd-java mailing list