From owner-freebsd-java@FreeBSD.ORG Fri Oct 3 07:46:17 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 7997716A4B3 for ; Fri, 3 Oct 2003 07:46:17 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id A678444063 for ; Fri, 3 Oct 2003 07:45:51 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 1A5RBl-0000qs-05 for freebsd-java@freebsd.org; Fri, 03 Oct 2003 08:45:51 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 1A5RBU-0000jo-05; Fri, 03 Oct 2003 08:45:33 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) h93Ek8jG049366; Fri, 3 Oct 2003 08:46:08 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9p1/8.12.9/Submit) id h93Ek1nH049363; Fri, 3 Oct 2003 08:46:01 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Fri, 3 Oct 2003 08:46:01 -0600 From: Greg Lewis To: Jens Rehsack Message-ID: <20031003144600.GA49318@misty.eyesbeyond.com> References: <3F7D52B4.8000306@liwing.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F7D52B4.8000306@liwing.de> User-Agent: Mutt/1.4.1i X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mgr5.xmission.com X-Spam-Status: No, hits=-0.9 required=8.0 tests=BAYES_30 autolearn=no version=2.60 X-Spam-Level: cc: Alexey Zelkin cc: freebsd-java@freebsd.org Subject: Re: Another jdk build error on -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: Fri, 03 Oct 2003 14:46:17 -0000 On Fri, Oct 03, 2003 at 10:43:00AM +0000, Jens Rehsack wrote: > after I patched out all '-O3' flags as recommented, the build failed > again at the same place with the same core dump. By the way, the hint > of Thomas to use the debug versions worked fine. Everytime the build > stops with core dump, I link the debug executables those ones without > debug (ln -f $file_g $file). > > Now I'm getting 2 new errors: > 1) Because of the -Werror in j2se/make/java/nio/Makefile (already > in and added by patch for bsd platform), gcc3.3.1 fails because > _LITTLE_ENDIAN is already defined. Setting both occurances to > -Wno-error solved that. I have patches for this one. It switches the JDK to use rather than do its own endian thing. > 2) In the makefiles is the threading linkage different between > -STABLE and -CURRENT, j2se/ext/plugin/build/solaris/GNUmakefile > seems to does not. The following error results: I'll look into this. All we need to do is check the version and use -lc_r instead (or at least thats what bsd.port.mk does). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org