pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lang/openjdk7 build fails on amd64-current



On Sun, 1 Mar 2015 19:44:10 +0100
Tobias Nygren <tnn%NetBSD.org@localhost> wrote:

> On Sun, 01 Mar 2015 16:37:29 +0100
> Marc Balmer <marc%msys.ch@localhost> wrote:
> 
> > I just tried to build lang/openjdk7 from pkgsrc -current on amd64
> > -current, it fails:
> > 
> > /usr/pkgsrc/lang/openjdk7/work/openjdk/hotspot/src/share/vm/memory/allocation.hpp:306:9:
> > error: 'UINTPTR_MAX' was not declared in this scope
> >      if (UINTPTR_MAX - request < (uintptr_t)_hwm) {
> 
> I see the same error on DragonFly 4.0.3, but not on any supported NetBSD
> release nor my -current box which is from Feb 20. I am investigating.

I recon this should fix it. Will commit after some more testing.

Cheers,
-T

$NetBSD$

--- hotspot/src/share/vm/utilities/vmError.cpp.orig	2015-01-26 15:21:49.000000000 +0000
+++ hotspot/src/share/vm/utilities/vmError.cpp
@@ -22,7 +22,6 @@
  *
  */

Don't include system headers before setting feature test macros.

-#include <fcntl.h>
 #include "precompiled.hpp"
 #include "compiler/compileBroker.hpp"
 #include "gc_interface/collectedHeap.hpp"


Home | Main Index | Thread Index | Old Index