From owner-freebsd-emulation Thu Sep 7 14:51:35 2000 Delivered-To: freebsd-emulation@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 179DC37B423 for ; Thu, 7 Sep 2000 14:51:33 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA19994; Thu, 7 Sep 2000 17:43:44 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.0/8.9.1) id e87LhiK28036; Thu, 7 Sep 2000 17:43:44 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 7 Sep 2000 17:43:44 -0400 (EDT) To: freebsd-emulation@FreeBSD.ORG Cc: Martin Cracauer , Nate Williams , marcel@cup.hp.com Subject: Re: IBM JDK fails due to lack of SA_SIGINFO support In-Reply-To: <14774.42905.390753.70408@grasshopper.cs.duke.edu> References: <14773.43466.744621.411519@grasshopper.cs.duke.edu> <200009060447.WAA23183@nomad.yogotech.com> <20000906083957.A5530@cons.org> <14774.42905.390753.70408@grasshopper.cs.duke.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14776.2365.362350.29260@grasshopper.cs.duke.edu> Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Andrew Gallatin writes: > > > > I'm getting closer. I'd really appreciate some help from x86 > people.... I think its coming down to my lack of knowledge about x86 > assembly :-( I'm getting even closer. My toy program now works & I can get the JDK to run long enough to spit out a version number: <5:27pm>dragonfly/gallatin:IBMJava2-13>/compat/linux/bin/sh bin/java -version java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20000815 (JIT enabled: jitc)) (woo-hoo!) To get this far, I corrected my implementation of linux_rt_sendsig, implemented new sigtramp code for the "rt" (eg, SA_SIGINFO) handlers and then implemented a linux_rt_sigreturn(). So much for the good news.. When I actually try to run an applet, the application SEGV's on a stack address. Given that the address it faults on is almost reasonable, I'm wondering if there's something funky going on wrt our "MAP_GROWSDOWN" mmap code. Latest patches at http://www.cs.duke.edu/~gallatin/linux_sa_siginfo/diff Again, I could really use some help here. Thanks, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message