[datum] initial public push (IPP)

Mark Raynsford org.openjdk at io7m.com
Wed Nov 8 11:25:01 UTC 2017


Hello.

On 2017-11-07T13:11:40 -0500
Vicente Romero <vicente.romero at oracle.com> wrote:
>
> We have just made public the development of data classes [1]. 

I've run into a bit of difficulty building the current code:

---

/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp: In static member function ‘static Address Address::make_raw(int, int, int, int, relocInfo::relocType)’:
/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp:199:12: error: ‘*((void*)& rspec +32)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return madr;
            ^~~~
/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp:199:12: error: ‘*((void*)& rspec +24)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp:199:12: error: ‘*((void*)& rspec +16)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1plus: all warnings being treated as errors
make[3]: *** [lib/CompileJvm.gmk:211: /home/someone/hg/amber/build/linux-x86_64-normal-server-release/hotspot/variant-server/libjvm/objs/assembler_x86.o] Error 1
make[2]: *** [make/Main.gmk:268: hotspot-server-libs] Error 2
make[2]: *** Waiting for unfinished jobs....

ERROR: Build failed for target 'images' in configuration 'linux-x86_64-normal-server-release' (exit code 2) 
Stopping sjavac server

=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_objs_assembler_x86.o:
/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp: In static member function ‘static Address Address::make_raw(int, int, int, int, relocInfo::relocType)’:
/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp:199:12: error: ‘*((void*)& rspec +32)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     return madr;
            ^~~~
/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp:199:12: error: ‘*((void*)& rspec +24)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
/home/someone/hg/amber/src/hotspot/cpu/x86/assembler_x86.cpp:199:12: error: ‘*((void*)& rspec +16)’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1plus: all warnings being treated as errors

* All command lines available in /home/someone/hg/amber/build/linux-x86_64-normal-server-release/make-support/failure-logs.
=== End of repeated output ===

No indication of failed target found.
Hint: Try searching the build log for '] Error'.
Hint: See common/doc/building.html#troubleshooting for assistance.

make[1]: *** [/home/someone/hg/amber/make/Init.gmk:296: main] Error 2
make: *** [/home/someone/hg/amber/make/Init.gmk:186: images] Error 2

---

I'm not sure if that's a legitimate error or just the result of
somewhat stricter compiler version on my end.

-- 
Mark Raynsford | http://www.io7m.com



More information about the amber-dev mailing list