From owner-freebsd-java@FreeBSD.ORG Fri Dec 3 22:41:57 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B85416A4CE for ; Fri, 3 Dec 2004 22:41:57 +0000 (GMT) Received: from misty.eyesbeyond.com (glewis.dsl.xmission.com [166.70.56.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9866543D45 for ; Fri, 3 Dec 2004 22:41:56 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) iB3MftZ2037641; Fri, 3 Dec 2004 15:41:55 -0700 (MST) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.11/8.12.11/Submit) id iB3Mfsaw037640; Fri, 3 Dec 2004 15:41:54 -0700 (MST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 3 Dec 2004 15:41:54 -0700 From: Greg Lewis To: Will Saxon Message-ID: <20041203224154.GA37533@misty.eyesbeyond.com> References: <0E972CEE334BFE4291CD07E056C76ED803A2D3A8@bragi.housing.ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0E972CEE334BFE4291CD07E056C76ED803A2D3A8@bragi.housing.ufl.edu> User-Agent: Mutt/1.4.2.1i cc: java@freebsd.org Subject: Re: linux-sun-jdk15 or jdk15 on 5.3R-p2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 22:41:57 -0000 On Fri, Dec 03, 2004 at 03:22:16PM -0500, Will Saxon wrote: > Hello, > > I am another user who is not able to get linux-sun-jdk15 > working on a 5.3-R machine. Truss shows: > > linux_mkdir(0x805cba8,0x1ed) ERR#17 'File exists' > linux_lstat64(0x805cba8,0xbfbfc740,0xbfbfc898) = 0 (0x0) > linux_open("/tmp/hsperfdata_root/77570",0x242,0600) = 3 (0x3) > oftruncate(0x3,0x8000) = 0 (0x0) > linux_mmap(0xbfbfc8d0) = 681074688 (0x28986000) > close(3) = 0 (0x0) > #224() ERR#78 'Function not implemented' FWIW: # grep 224 /usr/include/asm/unistd.h #define __NR_gettid 224 And: #include #include _syscall0(pid_t,gettid) pid_t gettid(void); DESCRIPTION gettid returns the thread ID of the current process. This is equal to the process ID (as returned by getpid(2)), unless the process is part of a thread group (created by specifying the CLONE_THREAD flag to the clone(2) system call). All processes in the same thread group have the same PID, but each one has a unique TID. RETURN VALUE On success, returns the thread ID of the current process. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org