build error in jdk8/tl

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Dec 19 14:46:57 PST 2012


https://jbs.oracle.com/bugs/browse/JDK-8004898

On 12/19/12 2:28 PM, Peter Levart wrote:
> Hi,
>
> I'm trying to build a jdk/tl forest (hotspot repo is at 8af7d22f1f8f
> tip) and get the following error:
>
> Compiling /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/oops/klass.cpp
> Compiling
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/oops/klassVtable.cpp
> Compiling /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/lcm.cpp
> Compiling
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/library_call.cpp
> Compiling
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/interpreter/linkResolver.cpp
>
> Assembling
> /home/peter/work/hg/jdk8-tl/hotspot/src/os_cpu/linux_x86/vm/linux_x86_64.s
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/library_call.cpp:
> In member function 'CallGenerator* Compile::make_vm_intrinsic(ciMethod*,
> bool)':
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/library_call.cpp:415:67:
> error: converting 'false' to pointer type 'CallGenerator*'
> [-Werror=conversion-null]Compiling
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/live.cpp
>
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/library_call.cpp:418:67:
> error: converting 'false' to pointer type 'CallGenerator*'
> [-Werror=conversion-null]
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/library_call.cpp:421:67:
> error: converting 'false' to pointer type 'CallGenerator*'
> [-Werror=conversion-null]
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/opto/library_call.cpp:424:67:
> error: converting 'false' to pointer type 'CallGenerator*'
> [-Werror=conversion-null]
> Compiling
> /home/peter/work/hg/jdk8-tl/hotspot/src/share/vm/classfile/loaderConstraints.cpp
>
> cc1plus: all warnings being treated as errors
> gmake[6]: *** [library_call.o] Error 1
> gmake[6]: *** Waiting for unfinished jobs....
> gmake[5]: *** [the_vm] Error 2
> gmake[4]: *** [product] Error 2
> gmake[3]: *** [generic_build2] Error 2
> gmake[2]: *** [product] Error 2
> gmake[1]: ***
> [/home/peter/work/hg/jdk8-tl/build/linux-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
> Error 2
> make: *** [hotspot-only] Error 2
>
> Does anybody else get this?
>
> I'm using gcc 4.7.2 on 64bit Intel, Linux
>
>
> Regards, Peter
>


More information about the hotspot-runtime-dev mailing list