From owner-java@jp.FreeBSD.org Wed Oct 23 02:58:10 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g9MHwAD51548;
	Wed, 23 Oct 2002 02:58:10 +0900 (JST)
	(envelope-from owner-java@jp.FreeBSD.org)
Received: from t-mta3.odn.ne.jp (mfep3.odn.ne.jp [143.90.131.181])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g9MHw9351543
	for <java@jp.FreeBSD.org>; Wed, 23 Oct 2002 02:58:09 +0900 (JST)
	(envelope-from sugimura@jp.FreeBSD.org)
Received: from localhost ([211.121.6.165]) by t-mta3.odn.ne.jp with ESMTP
          id <20021022175809263.DHKL.13419.t-mta3.odn.ne.jp@mta3.odn.ne.jp>
          for <java@jp.FreeBSD.org>; Wed, 23 Oct 2002 02:58:09 +0900
Message-Id: <20021023.025946.730549829.sugimura@jp.FreeBSD.org>
To: java@jp.FreeBSD.org
From: SUGIMURA Takashi =?iso-2022-jp?B?GyRCP3lCPBsoQiAbJEI1LjtOGyhC?=
 <sugimura@jp.FreeBSD.org>
In-Reply-To: <20020807115103.379b1b3c.daichi@ongs.co.jp>
References: <20020726125711.3610c575.daichi@jp.freebsd.org>
	<5565z2rcqm.wl@dittohead.is.titech.ac.jp>
	<20020807115103.379b1b3c.daichi@ongs.co.jp>
X-Mailer: Mew version 2.2 on XEmacs 21.4.9 (Informed Management)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Reply-To: java@jp.FreeBSD.org
Precedence: list
Date: Wed, 23 Oct 2002 02:59:46 +0900
X-Sequence: java 232
Subject: [java 232] Re: JDK131 HotSpot on -stable
Errors-To: owner-java@jp.FreeBSD.org
Sender: owner-java@jp.FreeBSD.org
X-Originator: sugimura@jp.FreeBSD.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+021018

$B?yB<$G$9!#(B

>    # patch < /tmp/Maruyama_san-os_linux.cpp.diff
>    # cd /usr/src/lib/libc_r/uthread/
>    # patch < /tmp/pthread_private.h.diff
>    # cd /usr/ports/java/jdk13/
>    # make WITH_NATIVE_THREADS=yes install
>    # cd hotspot1.3.1/build/linux/
>    # setenv ALT_BOOTDIR /usr/local/linux-jdk1.3.1/
>    # gmake core
>    # gmake compiler1
>    # gmake compiler2 
>    # mkdir -p /usr/local/jdk1.3.1/jre/lib/i386/hotspot/
>

$B$-$g$&(B uthread $B$^$o$j$,2~NI$5$l$?$H$N$3$H$G!"(B
4.7-stable $B$r:n$jD>$7$F%A%c%l%s%8$7$F$_$^$7$?!#(B

# ($B4];3$5$s$N%Q%C%A$rEv$F$k(B)
# make WITH_NATIVE_THREADS=yes install

$B$7$F$_$^$7$?$,!"$^$@$&$^$/$$$+$J$$$h$&$G$9!#(B
$B4hD%$l$PDI$$$+$1$-$l$k$+$b$7$l$^$;$s$,!"$$$^$N$H$3$m$OE1B`$7$^$9!#(B

$B<h$j5^$.Js9p$^$G!#(B

/usr/bin/gcc  -O -pipe -march=pentiumpro -W -Wall  -Wno-unused -Wno-parentheses -pthread -I/usr/src/lib/libc_r/uthread -I/usr/src/lib/libc/include  -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-root-021023-02:51"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/java/hpi/native_threads/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -DNO_INTERRUPTIBLE_IO    -c -o ../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bsd.o ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: `enum pthread_susp' declared inside parameter list
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: its scope is only this definition or declaration, which is probably not what you want.
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:288: parameter `suspendState' has incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `getSuspendStateString':
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:293: warning: control reaches end of non-void function
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: At top level:
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: initializer-string for array of chars is too long
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: (near initialization for `SignalList[21]')
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: excess elements in array initializer
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: (near initialization for `SignalList')
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `record_gc_registers_of':
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:530: structure has no member named `ctxtype'
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: `CTX_JB_NOSIG' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: (Each undeclared identifier is reported only once
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: for each function it appears in.)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:533: `CTX_JB' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:534: `CTX_SJB' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:540: `CTX_UC' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:535: warning: unreachable code at beginning of switch statement
gmake[4]: *** [../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bsd.o] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java'
gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk13.

---
  $B!{!?(B
$B!c""(B   $B?yB<(B $B5.;N(B <sugimura@jp.FreeBSD.org> 
 $B!?!d(B           <sugimura@YasudaKei.org> http://YasudaKei.org/
GnuPG Key fingerprint = AB4D 2DB4 E305 3ACB A0A8  9417 F4C3 1191 E866 65AC

