Date: Sat, 21 Jul 2001 20:07:40 -0700 From: Arun Sharma <arun@sharmas.dhs.org> To: Arun Sharma <arun@sharmas.dhs.org> Cc: java@FreeBSD.ORG Subject: Re: POSIX port of Intel ORP Message-ID: <20010721200740.B32616@sharmas.dhs.org> In-Reply-To: <20010721104950.A31627@sharmas.dhs.org>; from arun@sharmas.dhs.org on Sat, Jul 21, 2001 at 10:49:50AM -0700 References: <20010720100944.A13540@sharmas.dhs.org> <20010721025208.A65928@misty.eyesbeyond.com> <20010720104344.A22485@sharmas.dhs.org> <20010721032457.A66507@misty.eyesbeyond.com> <20010721104950.A31627@sharmas.dhs.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 21, 2001 at 10:49:50AM -0700, Arun Sharma wrote: > Here is a developer preview of what I have done so far: > > http://www.sharma-home.net/~adsharma/projects/orp/orp-posix-patch.txt.gz > [34 KB] Ok, I've narrowed down the problems to issues with the way FreeBSD restores signal context when linked with libc_r. See my message to -hackers on this topic. I tried using IBM's MxN pthread implementation: http://oss.software.ibm.com/developerworks/opensource/pthreads/ That I'd ported to FreeBSD earlier: http://oss.software.ibm.com/pipermail/pthreads-devel/2001-July/000050.html and bingo! it solved all the problems. My ngpt port is still very rough and untested. I can put up a 4.3-STABLE binary if people here are interested. After compiling, you need to *manually* copy libngpt.so.10 to /usr/local/lib and symlink it to libpthread.so. Here's the patch to use ngpt: --- orp.posix/mains/orp/Makefile- Sat Jul 21 20:05:01 2001 +++ orp.posix/mains/orp/Makefile Sat Jul 21 20:05:21 2001 @@ -35,7 +35,7 @@ ifeq ($(UNAME), FreeBSD) -LINKER_FLAGS = -L/usr/local/lib -lc_r -lglib -lm -lgthread +LINKER_FLAGS = -L/usr/local/lib -lpthread -lglib -lm -lgthread else LINKER_FLAGS = -lglib -ldl -lm -lgthread endif Enjoy! -Arun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010721200740.B32616>