Re: __fpclassifyd problem

From: Scott Long <scottl_at_freebsd.org>
Date: Wed, 29 Oct 2003 15:42:56 -0700 (MST)
On Wed, 29 Oct 2003, Scott Long wrote:
> On Wed, 29 Oct 2003, Kris Kennaway wrote:
> > On Wed, Oct 29, 2003 at 09:13:37PM +0100, John Angelmo wrote:
> > > Doug White wrote:
> > >
> > > >On Mon, 27 Oct 2003, David Schultz wrote:
> > > >
> > > >
> > > >>I'm just catching up on -CURRENT, but I wanted to point out that
> > > >>this was fixed last night in:
> > > >>
> > > >>	src/lib/msun/src/e_scalbf.c,v1.8
> > > >>	src/lib/msun/src/e_scalb.c,v1.10
> > > >>
> > > >>The fix was to use the old versions of isnan() and isinf()
> > > >>specifically in the two places in libm where they are needed.
> > > >
> > > >
> > > >okay, so the $65,000 question is:
> > > >
> > > >Does this make the Diablo JDKs work? :)
> > > >
> > >
> > >
> > > I could test, should I just get those files from current, integrate with
> > > 5.1-p10 and recompile?
> >
> > That should work.
> >
> > Kris
> >

To respond to myself, I got ahold of a 4.8 libm.so and made sure that the
linker used it.  No change in the problem, and it still hints that the
native libc is being linked in.

Scott

>
> I just tried running the Diablo JDK under -current from yesterday (with
> the libm fix from a few days ago).  It does not look good; possibly an
> issue with both the compat libc and native libc being linked in?  Maybe
> libm.so is still bringing in the native libc.so?  We don't install the
> 4.x libm into compat, and I don't have any 4.x machine around to steal it
> from, so I can't test out that theory.
>
> [junior] ~> cd /usr/local/diablo-jdk1.3.1/bin
> [junior] /usr/local/diablo-jdk1.3.1/bin> sudo ./java
> Bus error (core dumped)
> [junior] /usr/local/diablo-jdk1.3.1/bin> sudo gdb
> ../jre/bin/i386/green_threads/java -core=java.core
> GNU gdb 5.2.1 (FreeBSD)
> Copyright 2002 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 "i386-undermydesk-freebsd"...
> (no debugging symbols found)...
> Core was generated by `java'.
> Program terminated with signal 10, Bus error.
> Reading symbols from ../jre/lib/i386/green_threads/libhpi.so...
> (no debugging symbols found)...done.
> Loaded symbols for ../jre/lib/i386/green_threads/libhpi.so
> Reading symbols from /usr/lib/compat/libc.so.4...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/compat/libc.so.4
> Reading symbols from /lib/libm.so.2...(no debugging symbols found)...done.
> Loaded symbols for /lib/libm.so.2
> Reading symbols from /usr/lib/libc.so...(no debugging symbols
> found)...done.
> Loaded symbols for /usr/lib/libc.so
> Reading symbols from ../jre/lib/i386/classic/libjvm.so...
> (no debugging symbols found)...done.
> Loaded symbols for ../jre/lib/i386/classic/libjvm.so
> Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols
> found)...
> done.
> Loaded symbols for /usr/libexec/ld-elf.so.1
> #0  0x2810fe5c in .cerror () from /usr/lib/compat/libc.so.4
> (gdb) bt
> #0  0x2810fe5c in .cerror () from /usr/lib/compat/libc.so.4
> #1  0x28088a51 in open () from ../jre/lib/i386/green_threads/libhpi.so
> #2  0x2810033c in __hash_open () from /usr/lib/compat/libc.so.4
> #3  0x281001fb in dbopen () from /usr/lib/compat/libc.so.4
> #4  0x280c3277 in ttyname () from /usr/lib/compat/libc.so.4
> #5  0x280881f0 in initializeTTY () from
> ../jre/lib/i386/green_threads/libhpi.so
> #6  0x28088529 in InitializeAsyncIO ()
>    from ../jre/lib/i386/green_threads/libhpi.so
> #7  0x28091ca8 in sysThreadBootstrap ()
>    from ../jre/lib/i386/green_threads/libhpi.so
> #8  0x28295f07 in InitializeJavaVM () from
> ../jre/lib/i386/classic/libjvm.so
> #9  0x2826b3e4 in JNI_CreateJavaVM () from
> ../jre/lib/i386/classic/libjvm.so
> #10 0x08049c4a in InitializeJVM ()
> #11 0x08048f5e in main ()
> #12 0x08048b65 in _start ()
> (gdb)
>
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
>
Received on Wed Oct 29 2003 - 13:40:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:27 UTC