Date: Thu, 14 May 2009 13:27:36 +0400 From: ArtemGr <artemciy@gmail.com> To: kurt@intricatesoftware.com Cc: freebsd-java@freebsd.org Subject: Re: Can't compile openjdk6 b16 Message-ID: <4A0BE408.2080404@gmail.com> In-Reply-To: <200905131842.23134.lists@intricatesoftware.com> References: <4A0A9111.6060708@gmail.com> <200905131842.23134.lists@intricatesoftware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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'
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A0BE408.2080404>