From owner-freebsd-java@FreeBSD.ORG Thu May 14 09:27:40 2009 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F413F106564A for ; Thu, 14 May 2009 09:27:39 +0000 (UTC) (envelope-from artemciy@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 78A678FC16 for ; Thu, 14 May 2009 09:27:39 +0000 (UTC) (envelope-from artemciy@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so1105754fga.12 for ; Thu, 14 May 2009 02:27:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=A3esN3pX6OkDgI8LSgGFi62N+YlbKnUwDBzcGjkZdTY=; b=odm6E+QPq1IW8k9WBfc38pG0w1MqIWY4Uq75/4u3v8+uvMOKbSCW+97JTCNjxRcrqu x0nywYkgJdBs/N/t4J9wz3XeKnzIjw2ZqcdAaSrU/eQr+iaPTUBS2s/pn1JAnK9FuDXX uBZ45E0kZr75AJzs93UMhRSeO9UP39b05oVuI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=evNISToPbYvL15AwiCyZ+R1JUprPgOKQj/K5lKiXMFQAEwBPieOztrQ+9jb1QL1X8T KDdocpvMvDnv3Y8nETW2PqcsSwIQDFFP1f/dg793/I/YDPDG0QfAQBqedwXnwHegDMpf 33evSssVKU/qn9FsCHCXvIraOebeDr2oAAk1o= Received: by 10.86.49.16 with SMTP id w16mr2290360fgw.62.1242293258520; Thu, 14 May 2009 02:27:38 -0700 (PDT) Received: from ?192.168.1.3? ([77.232.13.65]) by mx.google.com with ESMTPS id l19sm5036190fgb.2.2009.05.14.02.27.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 May 2009 02:27:37 -0700 (PDT) Message-ID: <4A0BE408.2080404@gmail.com> Date: Thu, 14 May 2009 13:27:36 +0400 From: ArtemGr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) MIME-Version: 1.0 To: kurt@intricatesoftware.com References: <4A0A9111.6060708@gmail.com> <200905131842.23134.lists@intricatesoftware.com> In-Reply-To: <200905131842.23134.lists@intricatesoftware.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: Can't compile openjdk6 b16 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 May 2009 09:27:40 -0000 Kurt Miller wrote: > I see this is a debug build on amd64, but what version of FreeBSD and what compiler version? > 7.0-RELEASE-p5 gcc version 4.2.1 20070719 [FreeBSD] > Most likely the following change is all that is needed for this > warning: > > -static char *flagnames[] = { > +static const char *flagnames[] = { > Yeah, but there are other such places: cc1plus: warnings being treated as errors /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:62: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:62: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:62: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:62: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:69: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:69: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:69: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:69: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:76: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:76: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:76: warning: deprecated conversion from string consta nt to 'char*' /usr/ports/java/openjdk6/work/hotspot/src/share/vm/opto/escape.cpp:76: warning: deprecated conversion from string consta nt to 'char*' gmake[7]: *** [escape.o] Error 1 gmake[7]: *** Waiting for unfinished jobs.... gmake[7]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64-debug/hotspot/outputdir/bsd_amd64_compiler2/j vmg' gmake[6]: *** [the_vm] Error 2 gmake[6]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64-debug/hotspot/outputdir/bsd_amd64_compiler2/j vmg' gmake[5]: *** [jvmg] Error 2 gmake[5]: Leaving directory `/usr/ports/java/openjdk6/work/build/bsd-amd64-debug/hotspot/outputdir' gmake[4]: *** [generic_build2] Error 2 gmake[4]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' gmake[3]: *** [jvmg] Error 2 gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make' gmake[2]: *** [hotspot-build] Error 2 gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work'