i386 jail undex amd64: libkvm

Dmitry Morozovsky marck at rinet.ru
Thu Jun 26 17:35:18 UTC 2008

Dear colleagues,

it seems this question had been arised several times, but I failed to find any 
solution (yet).

What is (and is there?) the proper way to compile libkvm-related binaries (and 
libkvm itself) to assure 32bit binaries work with amd64 kernel structures?

Straight way with installing i386 world, or cross-compile with TARGET=i386 
leads to empty result with ps and

kvm_open: kinfo_proc size mismatch (expected 768, got 1088)
top: Out of memory.

with top.

I tried to play with lib32 libraries and different system headers, but did not 

Any clues?

Thank you in advance.

D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***

More information about the freebsd-hackers mailing list