From owner-freebsd-java Sun Feb 16 12:51:54 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 DAC6337B401 for ; Sun, 16 Feb 2003 12:51:51 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E02743F3F for ; Sun, 16 Feb 2003 12:51:51 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1GKpm4p093889; Sun, 16 Feb 2003 15:51:48 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1GKpZ8x093886; Sun, 16 Feb 2003 15:51:35 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15951.63959.454333.307092@ool-18bacefa.dyn.optonline.net> Date: Sun, 16 Feb 2003 15:51:35 -0500 To: Gene Harris Cc: freebsd-java@FreeBSD.ORG Subject: Re: jdk13 and WITH_NATIVE_THREADS compile failing In-Reply-To: <200302161054.03375.geneh@tetronsoftware.com> References: <200302161054.03375.geneh@tetronsoftware.com> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Gene Harris writes: > uname -a: > FreeBSD ns1.tetronsoftware.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Feb 15 > 22:29:24 CST 2003 > > I've thought I would give a try at compiling jdk13 with the > WITH_NATIVE_THREADS=yes in my make.conf file. It fizzles with several > errors. > > I am trying to compile with the latest patchset 8 from Greg's site. > A normal compile works fine, just not a native thread compile. I > just cvsup'ed on Saturday around 10 AM CST (-6 GMT). I'm (what I assume is) the same issue. I tried to compile WITH_NATIVE_THREADS with patchset 7 shortly before the release of patchset 8, but could not successfully compile. So, I thought I'd wait until p8 came out and give it a try then -- still does not work. My FreeBSD source was CVSup-ed early on the morning of 8 Feb. My ports were last CVSup-ed on 15 Feb. Here's a trimmed down log of the build with p8 WITH_NATIVE_THREADS. I've tried to leave in only the parts that are useful for context/debugging...hopefully someone a little more familiar with the source can help diagnose the problem... ool-18bacefa# uname -a FreeBSD ool-18bacefa.dyn.optonline.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 19:58:28 EST 2003 root@ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN i386 ool-18bacefa# make -DWITH_NATIVE_THREADS ===> Extracting for jdk-1.3.1p8 [...trimmed found dependencies...] [...trimmed lots of what seem to be successful patches...] WARNING: Your MAKEFLAGS environment variable is set. You should be very careful about the values set here. MAKEFLAGS is set to =>HPIS=green\ native<= Sanity check passed >>>Recursively making java all @ Sun Feb 16 15:16:08 EST 2003 ... gmake[1]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java' >>>Recursively making hpi all @ Sun Feb 16 15:16:08 EST 2003 ... gmake[2]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi' >>>Recursively making green all @ Sun Feb 16 15:16:08 EST 2003 ... [...trimmed uneventful build of "green all"...] <<>>Recursively making native all @ Sun Feb 16 15:16:26 EST 2003 ... gmake[3]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' gmake ../../../../build/bsd-i386/lib/i386/native_threads/libhpi.so VARIANT=OPT gmake[4]: Entering directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi/native' [...trimmed what seemed to be successful compilations of various souce files...] /usr/bin/gcc -O -pipe -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-p8"' -DFULL_VERSION='"1.3.1-p8-root-030216-15:16"' -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. Thanks in advance for any help... -- Chris To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message