hotspot build failure on ubuntu x86_64
Weijun.Wang at Sun.COM
Thu Oct 22 20:51:04 PDT 2009
Martin Buchholz wrote:
> Hi Max,
> Sounds to me like you're using a very recent gcc.
Probably, I'm using the gcc of 'apt-get install' on this 9.04.
> My policy has been to use a stodgy gcc,
> and let other folks use bleeding edge.
> Fedora/Ubuntu hackers are more likely
> to dogfood their gcc.... so check out the
> icedtea patch set.
Ok, I'll go have a look.
> I wish that Openjdk release engineering maintained
> buildability by a broad range of compilers
> through regular testing.
> On Thu, Oct 22, 2009 at 18:05, Max (Weijun) Wang <Weijun.Wang at sun.com> wrote:
>> 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
>> In function ‘void trace_method_handle_stub(const char*, oopDesc*, intptr_t*,
>> error: format ‘%016lx’ expects type ‘long unsigned int’, but argument 3 has
>> type ‘void*’
>> error: format ‘%016lx’ expects type ‘long unsigned int’, but argument 4 has
>> type ‘intptr_t*’
>> make: *** [methodHandles_x86.o] Error 1
>> What am I missing here? and, do you have any private patches to share?
More information about the build-dev