From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 13 19:33:45 2005 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77A5F16A4CE for ; Sun, 13 Feb 2005 19:33:45 +0000 (GMT) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 225A943D53 for ; Sun, 13 Feb 2005 19:33:45 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01 ([66.130.198.54]) by VL-MO-MR010.ip.videotron.ca (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0IBV00KSB7O8ON@VL-MO-MR010.ip.videotron.ca> for freebsd-amd64@freebsd.org; Sun, 13 Feb 2005 14:33:44 -0500 (EST) Date: Sun, 13 Feb 2005 14:33:42 -0500 From: Nicolas Blais To: freebsd-amd64@freebsd.org Message-id: <200502131433.43567.nb_root@videotron.ca> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: KMail/1.7.2 Subject: Can't compile jdk15 on amd64 5.3-STABLE X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Feb 2005 19:33:45 -0000 Hi, So far I've been running linux-sun-jdk-1.4.2.06_1 successfully on my box and works great in konqueror but not at all in firefox. So I tried to compile jdk15 and it gives me the following error: execv(): Bad address Error trying to exec /usr/local/linux-sun-jdk1.4.2/bin/javac. Check if file exists and permissions are set correctly. gmake[3]: *** [.compile.classlist] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk15. I googled around and found http://lists.freebsd.org/pipermail/freebsd-java/2005-February/003446.html and several replies but no real fix for me. Apparently I'm not the only one in this situation. >From what I understand, the command "javac" that is executed before the fail point is 25814 characters long and on my 5.3-STABLE machine I max out at 16384 characters (according to many configure scripts). I tried copy pasting the javac command but I max out of the buffer near the middle of the command whether I use Konsole, Xterm or good-old ttyv + csh. Jdk15 compiles fine on my -CURRENT amd64 machine but I would like to have it work on my stable one as well. Any solutions? Thanks, Nicolas.