Can't compile openjdk6 b16

ArtemGr artemciy at gmail.com
Thu May 14 09:27:40 UTC 2009


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'



More information about the freebsd-java mailing list