From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 26 17:35:18 2008 Return-Path: Delivered-To: hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6AAA106567F for ; Thu, 26 Jun 2008 17:35:18 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 3A4878FC1F for ; Thu, 26 Jun 2008 17:35:17 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.2/8.14.2) with ESMTP id m5QHIgUB086500 for ; Thu, 26 Jun 2008 21:18:42 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Thu, 26 Jun 2008 21:18:42 +0400 (MSD) From: Dmitry Morozovsky To: hackers@FreeBSD.org Message-ID: <20080626211352.M77682@woozle.rinet.ru> X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (woozle.rinet.ru [0.0.0.0]); Thu, 26 Jun 2008 21:18:42 +0400 (MSD) Cc: Subject: i386 jail undex amd64: libkvm X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 17:35:18 -0000 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 succeed. Any clues? Thank you in advance. Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------