No subject

Max (Weijun) Wang Weijun.Wang at Sun.COM
Fri Oct 23 01:05:43 UTC 2009


Hi Martin

I've just changed my Linux box to a x86_64 one, and my first build of  
JDK 7 shows these errors:

...
cc1plus: warnings being treated as errors
/media/sda6/space/work/myjdk/hotspot/src/cpu/x86/vm/ 
methodHandles_x86.cpp: In function ‘void  
trace_method_handle_stub(const char*, oopDesc*, intptr_t*, intptr_t*)’:
/media/sda6/space/work/myjdk/hotspot/src/cpu/x86/vm/ 
methodHandles_x86.cpp:276: error: format ‘%016lx’ expects type ‘long  
unsigned int’, but argument 3 has type ‘void*’
/media/sda6/space/work/myjdk/hotspot/src/cpu/x86/vm/ 
methodHandles_x86.cpp:276: error: format ‘%016lx’ expects type ‘long  
unsigned int’, but argument 4 has type ‘intptr_t*’
make[7]: *** [methodHandles_x86.o] Error 1
...

What am I missing here? and, do you have any private patches to share?

Thanks
Max




More information about the build-dev mailing list