From owner-freebsd-java@FreeBSD.ORG Mon Sep 8 01:46:47 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 CD29916A4BF; Mon, 8 Sep 2003 01:46:47 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id B495043FF5; Mon, 8 Sep 2003 01:46:42 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h88BpYFW033701; Mon, 8 Sep 2003 11:51:36 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h888t78a061631; Mon, 8 Sep 2003 11:55:07 +0300 (EEST) (envelope-from ml) Date: Mon, 8 Sep 2003 11:55:07 +0300 From: Alexey Zelkin To: Jens Rehsack Message-ID: <20030908115507.A61581@phantom.cris.net> References: <3F573110.90106@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3F573110.90106@liwing.de>; from rehsack@liwing.de on Thu, Sep 04, 2003 at 12:33:20PM +0000 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: glewis@freebsd.org cc: phantom@freebsd.org cc: freebsd-java@freebsd.org Subject: Re: jdk-1.4 on 5.1-current 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, 08 Sep 2003 08:46:47 -0000 hi, On Thu, Sep 04, 2003 at 12:33:20PM +0000, Jens Rehsack wrote: > Hi all, > > as all others I have problems getting jdk-1.4 compiled under -current. > The preprocessor problems I could solve on my own, but later in the > progress I'm getting a bus error with a core dump. This is strange. I did not expirienced any such problems with latest gcc imported. > It seems, the patchset is adding a flag "-O3" which is known to be > broken in all gcc3 variants, eg.: > - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11319 > - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11741 Hmm... I'll look into. Thanks for the reference. > My questions are: > 1) How can I enable the output of the compile instruction > which is executed (how can I enable verbose_echo)? Comment line 86 in hotspot/build/bsd/makefiles/vm.make. Or just set environment variable 'MAKE_VERBOSE' to 'YES'. > 2) How can I modify the c/c++-compiler flags which are used > to build java? See hotspot/build/bsd/makefiles/{vm,gcc}.make files. All compiler options are set there.