From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 10 15:49:40 2004 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5C8C16A4CE for ; Thu, 10 Jun 2004 15:49:40 +0000 (GMT) Received: from wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id E633C43D48 for ; Thu, 10 Jun 2004 15:49:37 +0000 (GMT) (envelope-from bv@bilver.wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by wjv.com (8.12.11/8.12.11) with ESMTP id i5AFmxIP087756; Thu, 10 Jun 2004 11:48:59 -0400 (EDT) (envelope-from bv@bilver.wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.11/8.12.11/Submit) id i5AFmwTh087755; Thu, 10 Jun 2004 11:48:58 -0400 (EDT) (envelope-from bv) Date: Thu, 10 Jun 2004 11:48:58 -0400 From: Bill Vermillion To: John E Hein Message-ID: <20040610154858.GA87267@wjv.com> References: <20040610011333.GA75565@wjv.com> <16584.32782.434690.477238@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16584.32782.434690.477238@gromit.timing.com> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on bilver.wjv.com cc: freebsd-emulation@freebsd.org Subject: Re: Further info on jdk14 problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: bv@wjv.com List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2004 15:49:40 -0000 It's Thu, Jun 10, 2004 at 09:36 . I'm in a small dim room with doors labeled "Dungeon" and "Forbidden". There is noise, the door marked Dungeon flies open and John E Hein SHOUTS: > Bill Vermillion wrote at 21:13 -0400 on Jun 9, 2004: > > Looking at the docs I see that a valid javac needs to be installed. > > The linux-sun was giving 'bad system call' on my 4.10. > > > > So I decided to try to put in another javac to see if there would > > be a difference. > > > I installed the linux-ibm-jdk1.4.1, and set the appropriate > > variables, and in the end I get the same 'bad system call' > > Snipped from the build: > > ------------------------------ > > Bootstrap Settings: > > JAVAWS_BOOTDIR = /usr/local/linux-ibm-jdk1.4.1 > > BOOTSTRAP J2SDK VERSION: Bad system call (core dumped) > > OUTPUTDIR = /usr/ports/java/jdk14/work/control/build/bsd-i586 > > ------------------------------ > > So does that indicate it is indeed an emulation problem, as it now > > occurs in both the sun-linux jdk and the ibm-linux. > I sent a message about it working for me yesterday on 4.8. I just > checked 4.10 and it also works for me (also with linux_base-7.1_7). Did you have a working javac before you built it on the 4.10. My rear of the docs is that the linux-sun-jdk is used only if you don't have a working port. > Add a -dl to the make of your linux-sun-jdk port and see the last > thing it's doing before it dies. If it's a linux app that's being > run, try using ktrace and the linux_kdump port to see where it's > dying. > Which linux_base do you have installed? A grep on linux of pkg_info yields this: linux-ibm-jdk-1.4.1_2 IBM Java Development Kit 1.4.1 for Linux linux_base-7.1_5 The base set of packages needed in Linux mode linuxdoc-1.1_1 The Linuxdoc SGML DTD sgmlformat-1.7_2 Generates groff and HTML from linuxdoc and docbook SGML doc The linux-ibm-jdk was installed when I tried to see if there was a problem with the sun-linux . I just ran with the -dl and get this. [Just the last few very long lines] ===> linux-sun-jdk-1.4.2.04 depends on file: /compat/linux/lib/libc.so.6 - found true if [ -f /usr/ports/java/linux-sun-jdk14/scripts/pre-extract ]; then cd /usr/ports/java/linux-sun-jdk14 && /usr/bin/env PORTOBJFORMAT=elf BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" BSD_INSTALL_DATA="install -c -o root -g wheel -m 444" BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" CURDIR=/usr/ports/java/linux-sun-jdk14 DISTDIR=/usr/ports/distfiles WRKDIR=/usr/ports/java/linux-sun-jdk14/work WRKSRC=/usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_04 PATCHDIR=/usr/ports/java/linux-sun-jdk14/files SCRIPTDIR=/usr/ports/java/linux-sun-jdk14/scripts FILESDIR=/usr/ports/java/linux-sun-jdk14/files PORTSDIR=/usr/ports DEPENDS="" PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/X11R6 /bin/sh /usr/ports/java/linux-sun-jdk14/scripts/pre-extract; fi /bin/mkdir -p /usr/ports/java/linux-sun-jdk14/work cd /usr/ports/java/linux-sun-jdk14/work && /usr/bin/tail -n 136192 /usr/ports/distfiles/j2sdk-1_4_2_04-linux-i586.bin > /usr/ports/java/linux-sun-jdk14/work/install.sfx && /bin/chmod +x /usr/ports/java/linux-sun-jdk14/work/install.sfx && /usr/ports/java/linux-sun-jdk14/work/install.sfx > /dev/null Bad system call (core dumped) *** Error code 140 Stop in /usr/ports/java/linux-sun-jdk14. *** Error code 1 Stop in /usr/ports/java/jdk14. root@bilver.wjv.com# exit Script done on Thu Jun 10 11:46:15 2004 Bill -- Bill Vermillion - bv @ wjv . com