From owner-freebsd-java Sat Jan 4 1:31: 4 2003 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 AB54437B401 for ; Sat, 4 Jan 2003 01:31:01 -0800 (PST) Received: from wspf1.us4.outblaze.com (205-158-62-146.outblaze.com [205.158.62.146]) by mx1.FreeBSD.org (Postfix) with SMTP id A651F43ED1 for ; Sat, 4 Jan 2003 01:31:00 -0800 (PST) (envelope-from ronp@outgun.com) Received: (qmail 16516 invoked from network); 3 Jan 2003 14:33:44 -0000 Received: from unknown (205.158.62.68) by 205-158-62-146.outblaze.com with QMQP; 3 Jan 2003 14:33:44 -0000 Received: (qmail 75909 invoked from network); 4 Jan 2003 09:30:55 -0000 Received: from unknown (HELO ws4-3.us4.outblaze.com) (205.158.62.52) by 205-158-62-153.outblaze.com with SMTP; 4 Jan 2003 09:30:55 -0000 Received: (qmail 30710 invoked by uid 1001); 4 Jan 2003 09:29:16 -0000 Message-ID: <20030104092916.30709.qmail@outgun.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [67.121.253.169] by ws4-3.us4.outblaze.com with http for ronp@outgun.com; Sat, 04 Jan 2003 17:29:16 +0800 From: "Ron Park" To: freebsd@spatula.net Cc: freebsd-java@FreeBSD.ORG Date: Sat, 04 Jan 2003 17:29:16 +0800 Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) X-Originating-Ip: 67.121.253.169 X-Originating-Server: ws4-3.us4.outblaze.com Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org :-) It was my fault. I did cvsup the stable source tree, and couldn't find any new definition to pthread_main_np in /usr/src/lib/libc_r at all. After saw your message, I check my cvsup config file, and found out that I put RELENG_4_7 instead of RELENG_4. Thanks a lot. I'm syncing now, should not have any problem then. RP ----- Original Message ----- Wrom: PKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA Date: Sat, 4 Jan 2003 01:11:20 -0800 (PST) To: Ron Park Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) > You need to cvsup to get the MFCed stuff to libc_r; then at the very least > you need to rebuild libc_r and install the newer include/pthread*.h files. > > Nick > > On Sat, 4 Jan 2003, Ron Park wrote: > > > I'm working in the project that using a lot of servlet. Our prefered platform in FreeBSD. I myself has been using FreeBSD for a couple years. We first try tomcat with native JDK 1.3 with classic VM. But the performance is not up to what we want. We did try linux-sun-jdk1.3, but got some unexpected result. So, I just trying to build hotspot to see how it would perform. But run into some problem. I'm using 4.7 stable, with lastest port tree sync. My uname -a is > > > > FreeBSD bulldog.com 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Sun Oct 20 03:55:45 PDT 2002 ronp@bulldog.com:/usr/obj/usr/src/sys/GENERIC i386 > > > > Here is my steps.. > > > > 1) Using ports/java/jdk13, make install native JDK 1.3 from port. The port is sync up to lastest, and I'm using patch7. The only thing I change here is to turn on WITH_NATIVE_THREAD=yes. I got the JDK install with native thread enable. I got the following when I run "java -native -version" > > > > java version "1.3.1-p7" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-part-030102-13:40) > > Classic VM (build 1.3.1-p7-part-030102-13:40, native threads, nojit) > > freebsd-java@freebsd.org > > > > 2) O.K. now it's time to start off hotspot build. I use the source that already extract in port tree. So, I did > > > > export ALT_BOOTDIR=/usr/local/linux-jdk1.3.1 > > cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux > > > > and then > > > > gmake core compiler1 compiler2 > > > > > > And this is the error that I got.. > > > > -------------------------------------------------------------------------------- > > Compiling /shared/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/os/linux/vm/os_linux.cpp > > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp: In function `jint thr_main()': > > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: ` pthread_main_np' undeclared (first use this function) > > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: (Each > > undeclared identifier is reported only once for each function it appears > > in.) > > gmake[2]: *** [os_linux.o] Error 1 > > -------------------------------------------------------------------------------------- > > > > I have checked libc_r and didn't find pthread_main_np. I look up the list, and saw some mention about a patch on libc_r that add pthread_main_np, but it does sound like for CURRENT branch more. I checked the lastest STABLE tree, and there is no pthread_main_np either. I guess it might not been backport to STABLE yet. > > > > However, I also saw a lot of posts that successfully build hotspot on 4.7 stable. My question is what else I need to do? Is there any other patchset I need to apply? Or??? > > > > --RP > > -- > > ____________________________________________________ > > Get your free email from http://www.outgun.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > -- > "The aptly-named morons.org is an obscenity-laced screed..." > -- Robert P. Lockwood, Catholic League director of research > Nick Johnson, version 2.0 http://www.spatula.net/ > -- ____________________________________________________ Get your free email from http://www.outgun.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message