From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 9 19:30:44 2007 Return-Path: X-Original-To: amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CEC916A46C for ; Mon, 9 Jul 2007 19:30:44 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id 626F913C455 for ; Mon, 9 Jul 2007 19:30:44 +0000 (UTC) (envelope-from mi+metlife@aldan.algebra.com) Received: (qmail 11661 invoked from network); 9 Jul 2007 19:04:04 -0000 Received: from aldan.algebra.com (HELO [0.0.0.0]) ([216.254.65.224]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 9 Jul 2007 19:04:04 -0000 Message-ID: <469286A1.9020701@aldan.algebra.com> Date: Mon, 09 Jul 2007 15:04:01 -0400 From: "Mikhail T." User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: java@FreeBSD.org, amd64@FreeBSD.org, emulation@FreeBSD.org, glewis@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 09 Jul 2007 19:32:26 +0000 Cc: Subject: Linux JDK-1.5.0_12 (i386) unusable on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2007 19:30:44 -0000 Hello! I just tried to build the regular jdk15 port on my amd64 machine. It relies on the Linux jdk15 to bootstrap. Unfortunately, all invocations of javac and java were crashing with a HotSpot stack (linux-sun-jdk-1.5.0.12,2). I ended up manually replacing the bin/java and javac binaries with shell-wrapper, that prepends ``-client'' to the arguments. Although ``-client'' and ``-hotspot'' are supposed to be synonyms, the trick worked and the native JDK is now building. I'm unsure, where the blame lies -- with the Linuxulator, or the amd64 (6.2-stable from June 7th) -- but something needs to be done... Yours, -mi