netbsd port ?

Renju Mathew m.renju at
Wed Jul 8 05:09:07 PDT 2009


Thanks for all the support. I was able to move a little further in the
OpenJDK compilation on NetBSD3.1

But Now I am facing a new problem. As I continue with the compilation it
ended up with the following error.


-I../generated/adfiles -I../generated/jvmtifiles
-I../generated -DHOTSPOT_RELEASE_VERSION="\"16.0-b04\""
-fno-rtti -fno-exceptions -pthread -fcheck-new -m32 -march=i586 -pipe
-O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -Werror -Wpointer-arith
-Wconversion -Wsign-compare    -c -o attachListener_bsd.o

bsd.cpp: In

   static member function `static BsdAttachOperation*


bsd.cpp:323: error: `::

   getpeereid' undeclared (first use here)

gmake[6]: *** [attachListener_bsd.o] Error 1

gmake[6]: Leaving directory

gmake[5]: *** [the_vm] Error 2

gmake[5]: Leaving directory

gmake[4]: *** [product] Error 2

gmake[4]: Leaving directory

gmake[3]: *** [generic_build2] Error 2

gmake[3]: Leaving directory

gmake[2]: *** [product] Error 2

gmake[2]: Leaving directory

gmake[1]: *** [hotspot-build] Error 2

gmake[1]: Leaving directory `/teles/rema/jdk/1stMethod/bsd-port'

gmake: *** [build_product_image] Error 2


Anybody has the similar experience??..






-----Original Message-----
From: bsd-port-dev-bounces at
[mailto:bsd-port-dev-bounces at] On Behalf Of Renju Mathew
Sent: Monday, June 15, 2009 7:23 PM
To: S.P.Zeidler
Cc: bsd-port-dev at
Subject: RE: netbsd port ?




Thanks for all your support.

As of the instructions given in
<> , I
completed all the pre-install steps successfully.

But as I gave gmake  it exited with the following error:



# A fatal error has been detected by the Java Runtime Environment:


#  Internal Error (nmethod.cpp:1836), pid=1012, tid=49190

#  Error: guarantee(cont_offset != 0,"unhandled implicit exception in
compiled code")


# JRE version: 6.0_14-b08

# Java VM: Java HotSpot(TM) Client VM (14.0-b16 mixed mode, sharing
linux-x86 )

# An error report file with more information is saved as:

# /teles/rema/jdk/bsd-port/langtools/make/hs_err_pid1012.log


# If you would like to submit a bug report, please visit:




I Installed "lang/sun-jdk6" from pkgsrc. And  I'm working on a  NetBSD
3.1 i386 machine... 





-----Original Message-----
From: S.P.Zeidler [mailto:spz at] 
Sent: Friday, May 29, 2009 12:19 PM
To: Renju Mathew
Cc: bsd-port-dev at
Subject: Re: netbsd port ?




Thus wrote Renju Mathew (m.renju at


> I'm a newbie in openJDK. 


> I want to know whether there is any NetBSD 3.0 port of openJDK?


I built binaries for NetBSD 5.0 that are available via the openjdk-bin

package in pkgsrc, but not for earlier releases (although I probably

should build a NetBSD-4 version, since that's still an officially

supported release train).


I'd expect openjdk to just build on NetBSD-3, see

for a recipy. Once you scrub your environment(*) it's fairly

straightforward, it just takes a while to build.


The patch I needed for the openjdk version I put onto has

since been integrated, so that one isn't necessary any more; but as lots

new code has been added, too, there's chance of entirely new fun to be






(*) variables like eg $BIN get used as conditional, and the script that

sets them as a "yes" indicator doesn't unset them as a "no" indicator,

if you already had them set because you use them differently, you get

surprising results. If I had lots more time I'd want to hunt them all


spz at (S.P.Zeidler)

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the bsd-port-dev mailing list