From owner-freebsd-java Tue Dec 3 7:24:44 2002 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 30BA237B401 for ; Tue, 3 Dec 2002 07:24:41 -0800 (PST) Received: from fs.quynh-and-brian.org (dsl-64-131-121-185.telocity.com [64.131.121.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8325443E9C for ; Tue, 3 Dec 2002 07:24:35 -0800 (PST) (envelope-from brian@quynh-and-brian.org) Received: (qmail 70704 invoked from network); 3 Dec 2002 15:24:33 -0000 Received: from host1.quynh-and-brian.org (HELO brians.aymanllc.com) ([10.1.1.1]) (envelope-sender ) by host1.quynh-and-brian.org (qmail-ldap-1.03) with SMTP for ; 3 Dec 2002 15:24:33 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Brian Skrab To: Achilleus Mantzios Subject: Re: Building jdk-1.3.1p7_x Fails when WITH_NATIVE_THREADS=yes Date: Tue, 3 Dec 2002 10:24:01 -0500 User-Agent: KMail/1.4.3 Cc: freebsd-java@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200212031024.01866.brian@quynh-and-brian.org> 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 Sorry about leaving that detail out. I'm running 4.7-STABLE. Thanks, ~brian skrab brian@quynh-and-brian.org On Tuesday 03 December 2002 02:50 am, Achilleus Mantzios wrote: > On Mon, 2 Dec 2002, Brian Skrab wrote: > > Hello, > > > > Is there a particular reason that the jdk-1.3.1p7_x port fails to bui= ld > > when attempting to build it with native threads? The only difference > > that I can see between the working native build of jdk-1.3.1p7 and th= e > > latest port revision (jdk-1.3.1p7_2) is the pre-requisite of the nspr > > port. Perhaps a different threading model in nspr is the root of thi= s > > problem? Is this port known to be in a state in which a native threa= ds > > version cannot be built? Or, am I just completely missing something? > > Are you running on -STABLE or -CURRENT ?? > > > Any suggestions/pointers will be much appreciated. > > > > Thanks for your time. > > > > ~brian > > brian@quynh-and-brian.org > > > > Here's my make command: > > make WITH_NATIVE_THREADS=3Dyes WITHOUT_PLUGIN=3Dyes > > > > And here is the build output: > > . > > . > > . > > /usr/bin/gcc -O -pipe -W -Wall -Wno-unused -Wno-parentheses -pthre= ad > > -I/usr/src/lib/libc_r/uthread -I/usr/src/lib/libc/include -Di386 > > -DARCH=3D'"i386"' -DSOLARIS2 -DRELEASE=3D'"1.3.1-p7"' > > -DFULL_VERSION=3D'"1.3.1-p7-bgs-021202-17:35"' -D_LARGEFILE64_SOURCE > > -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. > > -I../../../../build/bsd-i386/tmp/java/hpi/native_threads/CClassHeader= s > > -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/incl= ude > > -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREA= DS > > -DMOOT_PRIORITIES -DNO_INTERRUPTIBLE_IO -c -o > > ../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bs= d.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 func= tion > > `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:3= 21: > > 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 func= tion > > `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: (Ea= ch > > 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_b= sd.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] Er= ror > > 1 > > *** Error code 2 > > > > Stop in /usr/ports/java/jdk13. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Achilleus Mantzios > S/W Engineer > IT dept > Dynacom Tankers Mngmt > Nikis 4, Glyfada > Athens 16610 > Greece > tel: +30-10-8981112 > fax: +30-10-8981877 > email: achill@matrix.gatewaynet.com > mantzios@softlab.ece.ntua.gr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message