From owner-freebsd-java@FreeBSD.ORG Sun Oct 19 17:05:21 2003 Return-Path: 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 791E116A4B3 for ; Sun, 19 Oct 2003 17:05:21 -0700 (PDT) Received: from phantom.cris.net (phantom.cris.net [212.110.130.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C61943FCB for ; Sun, 19 Oct 2003 17:05:14 -0700 (PDT) (envelope-from phantom@FreeBSD.org.ua) Received: (from phantom@localhost) by phantom.cris.net (8.12.6/8.12.6) id h9K0EJGA047439; Mon, 20 Oct 2003 03:14:19 +0300 (EEST) (envelope-from phantom) Date: Mon, 20 Oct 2003 03:14:17 +0300 From: Alexey Zelkin To: Andrew Houghton Message-ID: <20031020031417.A47397@phantom.cris.net> References: <50362.10.0.3.233.1066571115.squirrel@Hgate.lehgha01.fl.comcast.net> <20031020005005.A46542@phantom.cris.net> <3F931B2A.9040102@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3F931B2A.9040102@acm.org>; from aah@acm.org on Sun, Oct 19, 2003 at 04:15:54PM -0700 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org cc: travis@travis.johnson.name Subject: Re: Error JDK1.4.1 - Cannot Compile X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2003 00:05:21 -0000 If you are using jdk 1.4.1 (linux) compiler -- try downgrading you linux_base to 6.2. Or try to upgrade linux-sun-jdk14 to 1.4.2. Unfortunatelly there are too much assumptions of glibc version and another stuff in linux jdk. It is not a FreeBSD only problem -- it applies to many linux guys as well. On Sun, Oct 19, 2003 at 04:15:54PM -0700, Andrew Houghton wrote: > For what it's worth, I've seen this problem before. Simply restarting > 'make build' (or whatever you're doing) on my box allowed the > compilation to continue. It doesn't seem to be consistent for me, > either -- sometimes the linux javac compiler will segfault, sometimes it > won't, but in every case where it failed my compilation completed > normally by simply restarting the make process (without cleaning first, > of course). > > - a. > > Alexey Zelkin wrote: > > >hi, > > > >On Sun, Oct 19, 2003 at 09:45:15AM -0400, travis@travis.johnson.name wrote: > > > >[..] > > > > > > > >>then /usr/local/linux-sun-jdk1.4.1/bin/javac -J-Xmx128m -classpath > >>/usr/ports/java/jdk14/work/control/build/bsd-i586/classes -bootclasspath > >>"/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jce.jar:/usr/ports/java/jdk14/work/control/build/bsd-i586/lib/jsse.jar" > >>-sourcepath > >>"/usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc:../../../../src/solaris/classes:../../../../src/share/classes" > >>-d /usr/ports/java/jdk14/work/control/build/bsd-i586/classes \ > >> ; \ > >>fi > >>gmake[5]: *** [debug] Segmentation fault (core dumped) > >> > >> > > > >As you may see from above chunk of text -- it's linux javac faulting. > >Please check archives for similar issues (I not sure about exact > >problem, but there were many linux_base related ones). > > > > > >_______________________________________________ > >freebsd-java@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-java > >To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > > > > > >