From owner-freebsd-java@FreeBSD.ORG Wed Aug 8 05:01:33 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC4C316A41B for ; Wed, 8 Aug 2007 05:01:33 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 6C84813C457 for ; Wed, 8 Aug 2007 05:01:33 +0000 (UTC) (envelope-from justen.stepka@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so11388nfb for ; Tue, 07 Aug 2007 22:01:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=l19IXEuX0fux+q3MLkS/U37iwKgxfCkXPZuOsiggRDhZw9+Jhr23duec74H3+pthlHqdoKXZiLIAdJFCrS+qg4GjLkrHj7ucuTZBxzSMCdvkuOuJ4UriUnAzQYAGN+F8q1U+o9zt1hxPRRmWgk4On1fXFSh2ek574RBa/0J1nk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=pRYtule+F6KTUXWHBbnAHuzyiMwPLIZLm22j1i2tGQ2N1WE1zyh+kxOScnf7OZ6PN0YSXEJrV2imlz/2mrDwAPIIJs/LbRK0+2dmgljTIAgRA5pGotdwCE+t1bljUjGxjt4AY62oBvUWZp2SOQLDkQ3w/BwofoVC3pWNw0ycVA0= Received: by 10.78.175.14 with SMTP id x14mr9039hue.1186549291962; Tue, 07 Aug 2007 22:01:31 -0700 (PDT) Received: by 10.78.129.20 with HTTP; Tue, 7 Aug 2007 22:01:31 -0700 (PDT) Message-ID: Date: Wed, 8 Aug 2007 15:01:31 +1000 From: "Justen Stepka" Sender: justen.stepka@gmail.com To: "Jonathan Chen" In-Reply-To: <20070807102734.GA87862@osiris.chen.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070807100340.GB86955@osiris.chen.org.nz> <20070807102734.GA87862@osiris.chen.org.nz> X-Google-Sender-Auth: 1aa9dd141c60d7e5 Cc: freebsd-java@freebsd.org Subject: Re: 6.2-STABLE JDK 1.5 compilation errors X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2007 05:01:33 -0000 On 8/7/07, Jonathan Chen wrote: > On Tue, Aug 07, 2007 at 08:20:47PM +1000, Justen Stepka wrote: > > On 8/7/07, Jonathan Chen wrote: > > > On Tue, Aug 07, 2007 at 07:14:07PM +1000, Justen Stepka wrote: > > > > It's been a while since I've compiled the JDK -- but it's good to see > > > > things are still the same :). > > > > > > > > Today I ran into some compiling errors with the 1.5 JDK on 6.2-STABLE > > > > (as of this morning). > > > > > > > > Here are the compilation errors: > > > > > > > > /usr/ports/java/jdk15/work/control/build/bsd-i586/gensrc/sun/nio/cs/StandardCharsets.java:226: > > > > expected > > > > Java HotSpot(TM) Client VM warning: Can't detect initial thread stack > > > > location - find_vma failed > > > [...] > > > > > > What's your bootstrap JDK? > > > -- > > > Jonathan Chen > > > ----------------------------------------------------------------------- > > > "I love deadlines. I like the whooshing sound they make as they fly by" > > > - Douglas Adams > > > > > > > linux-sun-jdk-1.5.0.12,2 > > Did you remember to mount the linux procfs? Alternatively, you can use > the diablo-native jdk to bootstrap. > > Cheers. > -- > Jonathan Chen > ---------------------------------------------------------------------- > Do not take life too seriously. > You will never get out of it alive. > Sure enough that turned out to be the issue. Not sure why, but running these commands: kldload linprocfs mount -t linprocfs linprocfs /compat/linux/proc still resulted in the same error until I did a 'make clean' and then 'make ; make install'. -- Justen Stepka http://www.jstepka.name/blog/