Hi.

I've problems compiling native JDK 1.5.0. Posting to this list as it
seems related to linprocfs problems (linux-sun-jdk is used for
bootstraping). Build fails early in the beginning with "javac"
segmentation fault, and here's what I get in dmesg (lots of such
messages):
malloc(M_WAITOK) of "1024", forcing M_NOWAIT with the
following non-sleepable locks held: exclusive sleep mutex vm object
(standard object) r = 0 (0xffffff0063434578) locked
@ /usr/src/sys/compat/linprocfs/linprocfs.c:835
KDB: stack backtrace:
witness_warn() at witness_warn+0x262 uma_zalloc_arg() at
uma_zalloc_arg+0x217 malloc() at malloc+0xa3
vn_fullpath() at vn_fullpath+0x56
linprocfs_doprocmaps() at linprocfs_doprocmaps+0x31e
pfs_read() at pfs_read+0x2aa
VOP_READ_APV() at VOP_READ_APV+0x74
vn_read() at vn_read+0x232
dofileread() at dofileread+0x94
kern_readv() at kern_readv+0x60
read() at read+0x4a
ia32_syscall() at ia32_syscall+0x178
Xint0x80_syscall() at Xint0x80_syscall+0x5d
pid 63125 (javac), uid 0: exited on signal 11 (core dumped)

running recent -CURRENT/amd64. COMPAT_43TTY, COMPAT_LINUX32 and
LINPROCFS are compiled in kernel.

---
Yuri
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...ebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"