NetBSD Status
Landon Fuller
landonf at plausiblelabs.com
Sun Sep 14 13:34:06 PDT 2008
Howdy All --
Dalibor has asked me to elaborate on the status of NetBSD support.
When we brought over the BSD changes, we had to remove a small amount
of code for which a Sun Contributor Agreement was not available --
this included the NetBSD-specific changes.
This patchset is relatively small, and should be a small project to re-
implement by someone interested in NetBSD support.
Here is a list of the NetBSD-specific work that was removed, based on
the commit log messages:
- jdk/src/solaris/native/java/net/
NetworkInterface.c:
Added missing includes for ETHER_ADDR_LEN, etc
bsd_close.c:
Explicitly initialize file descriptor table mutexes (should be done
on all platforms, not just NetBSD)
- jdk/src/solaris/native/java/io
UnixFileSystem_md.c:
Use statvfs on NetBSD, instead of statfs
- jdk/src/solaris/javavm/include
typedefs_md.h:
Include stdint.h for intptr_t on NetBSD
- hotspot/src/os/bsd/vm
os_bsd.cpp:
Stub out NetBSD thread priority functions
- hotspot/src/os_cpu/bsd_x86/vm
threadLS_bsd_x86.hpp:
Define PAGE_SHIFT for NetBSD
os_bsd_x86.cpp:
NetBSD does not have pthread_np.h
Fix context_trapno define, works on current NetBSD/i386
Here are the Makefile changes:
- jdk/make/common
Defs.gmk:
Define LDLIBS_COMMON for NetBSD
Defs-bsd.gmk
Use -rpath /usr/pkg/lib for NetBSD
- jdk/make/common/shared/
Defs-utils.gmk:
Use echo -e to expand "\n", etc
- jdk/make/common/shared
Platform.gmk:
Use awk instead of cut/expr to be NetBSD friendly
Additionally, these makefiles were updated to search for libiconv in /
usr/pkg/lib:
* jdk/make/java/instrument/Makefile
* jdk/make/java/npt
* jdk/make/sun/splashscreen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://mail.openjdk.java.net/pipermail/bsd-port-dev/attachments/20080914/9bd44b71/PGP.sig
More information about the bsd-port-dev
mailing list