Build failure ??

David Simms david.simms at oracle.com
Tue Apr 16 08:09:51 UTC 2019


Thanks Tobias, my bad, build config I had doesn't include 
Shenandoah...btw, Valhalla only supports write barriers, and has yet to 
adapt to the heap access API, so Z and Shenandoah won't function as it is.

Sorry for the hassle.

/Mr. Simms

On 16/04/19 9:04 AM, Tobias Hartmann wrote:
> Hi Srikanth,
>
> thanks for reporting. Looks like an unresolved merge conflict. I'll fix it.
>
> Best regards,
> Tobias
>
> On 16.04.19 05:59, Srikanth wrote:
>> As of this morning, I am unable to build lworld branch: I have pulled everything from remote repo
>> and did a fresh configure, clean and when I make I get the error below.
>>
>> Any help in getting past this would be appreciated - TIA Srikanth
>>
>> Building target 'images' in configuration 'linux-x86_64-server-release'
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp: In static
>> member function ‘static void ShenandoahBarrierC2Support::pin_and_expand(PhaseIdealLoop*)’:
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:1337:23:
>> error: no matching function for call to ‘CallProjections::CallProjections()’
>>         CallProjections projs;
>>                         ^~~~~
>> In file included from /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/graphKit.hpp:32:0,
>>                   from
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.hpp:30,
>>                   from
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:26:
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:558:3: note: candidate:
>> CallProjections::CallProjections(uint)
>>     CallProjections(uint nbres) {
>>     ^~~~~~~~~~~~~~~
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:558:3: note:   candidate
>> expects 1 argument, 0 provided
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:545:7: note: candidate:
>> CallProjections::CallProjections(const CallProjections&)
>>   class CallProjections {
>>         ^~~~~~~~~~~~~~~
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:545:7: note:   candidate
>> expects 1 argument, 0 provided
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:1338:53:
>> error: no matching function for call to ‘CallNode::extract_projections(CallProjections*, bool, bool)’
>>         call->extract_projections(&projs, false, false);
>>                                                       ^
>> In file included from /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/graphKit.hpp:32:0,
>>                   from
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.hpp:30,
>>                   from
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:26:
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:657:20: note: candidate:
>> CallProjections* CallNode::extract_projections(bool, bool)
>>     CallProjections* extract_projections(bool separate_io_proj, bool do_asserts = true);
>>                      ^~~~~~~~~~~~~~~~~~~
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:657:20: note:   candidate
>> expects 2 arguments, 3 provided
>> lib/CompileJvm.gmk:175: recipe for target
>> '/home/srikanth/valhalla/valhalla/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/shenandoahSupport.o'
>> failed
>> make[3]: ***
>> [/home/srikanth/valhalla/valhalla/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/shenandoahSupport.o]
>> Error 1
>> make[3]: *** Waiting for unfinished jobs....
>> make/Main.gmk:257: recipe for target 'hotspot-server-libs' failed
>> make[2]: *** [hotspot-server-libs] Error 2
>>
>> ERROR: Build failed for target 'images' in configuration 'linux-x86_64-server-release' (exit code 2)
>>
>> === Output from failing command(s) repeated here ===
>> * For target hotspot_variant-server_libjvm_objs_shenandoahSupport.o:
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp: In static
>> member function ‘static void ShenandoahBarrierC2Support::pin_and_expand(PhaseIdealLoop*)’:
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:1337:23:
>> error: no matching function for call to ‘CallProjections::CallProjections()’
>>         CallProjections projs;
>>                         ^~~~~
>> In file included from /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/graphKit.hpp:32:0,
>>                   from
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.hpp:30,
>>                   from
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:26:
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:558:3: note: candidate:
>> CallProjections::CallProjections(uint)
>>     CallProjections(uint nbres) {
>>     ^~~~~~~~~~~~~~~
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:558:3: note:   candidate
>> expects 1 argument, 0 provided
>> /home/srikanth/valhalla/valhalla/src/hotspot/share/opto/callnode.hpp:545:7: note: candidate:
>> CallProjections::CallProjections(const CallProjections&)
>>     ... (rest of output omitted)
>>
>> * All command lines available in
>> /home/srikanth/valhalla/valhalla/build/linux-x86_64-server-release/make-support/failure-logs.
>> === End of repeated output ===
>>
>> === Make failed targets repeated here ===
>> lib/CompileJvm.gmk:175: recipe for target
>> '/home/srikanth/valhalla/valhalla/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/shenandoahSupport.o'
>> failed
>> make/Main.gmk:257: recipe for target 'hotspot-server-libs' failed
>> === End of repeated output ===
>>
>> Hint: Try searching the build log for the name of the first failed target.
>> Hint: See doc/building.html#troubleshooting for assistance.
>>
>> /home/srikanth/valhalla/valhalla/make/Init.gmk:307: recipe for target 'main' failed
>> make[1]: *** [main] Error 2
>> /home/srikanth/valhalla/valhalla/make/Init.gmk:186: recipe for target 'images' failed
>> make: *** [images] Error 2





More information about the valhalla-dev mailing list