From owner-svn-src-head@FreeBSD.ORG Sun Dec 29 02:48:47 2013 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6FD6A76D; Sun, 29 Dec 2013 02:48:47 +0000 (UTC) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 25F301FAF; Sun, 29 Dec 2013 02:48:46 +0000 (UTC) Received: from [192.168.2.84] (50-0-150-213.dsl.static.sonic.net [50.0.150.213]) (authenticated bits=0) by mail.xcllnt.net (8.14.7/8.14.7) with ESMTP id rBT2mjAk009829 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 28 Dec 2013 18:48:46 -0800 (PST) (envelope-from marcel@xcllnt.net) Content-Type: multipart/signed; boundary="Apple-Mail=_C64CA47F-5CF7-47E2-86C6-D8F3CB1A29DC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: svn commit: r260022 - head/lib/libkvm From: Marcel Moolenaar In-Reply-To: <20131229010848.GV99167@funkthat.com> Date: Sat, 28 Dec 2013 18:49:07 -0800 Message-Id: <7F0C4872-DB2A-4E6B-A8B8-E366989312C5@xcllnt.net> References: <201312282301.rBSN1wWP002326@svn.freebsd.org> <20131229010848.GV99167@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1827) Cc: "svn-src-head@freebsd.org" , svn-src-all , Marcel Moolenaar , "src-committers@freebsd.org" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 02:48:47 -0000 --Apple-Mail=_C64CA47F-5CF7-47E2-86C6-D8F3CB1A29DC Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On Dec 28, 2013, at 5:08 PM, John-Mark Gurney wrote: > Marcel Moolenaar wrote this message on Sat, Dec 28, 2013 at 23:01 +0000: >> Author: marcel >> Date: Sat Dec 28 23:01:57 2013 >> New Revision: 260022 >> URL: http://svnweb.freebsd.org/changeset/base/260022 >> >> Log: >> Allow building a cross libkvm by setting TARGET_ARCH. The library so >> produced will be called libkvm-${ARCH} instead of libkvm. This allows >> installing it alongside the native version. >> For symbol lookups, use ps_pglobal_lookup() instead of __fdnlist() >> when building a cross libkvm. It is assumed that the cross tool that >> uses the cross libkvm also provides an implementation for this >> proc_services function. >> >> Note that this commit does not change any of the architecture-specific >> code for cross-compilation. > > Shouldn't we be putting cross compiled libaries in another location > than /lib? Kind of like the compat32 libs? I don't think we're there yet. libkvm is not ready for generic cross building and we don't really have the infrastructure for it either. For one, we really need to install CPU-specific headers on the host. We can manually cross-build a few things, like binutils and gdb and I see value to extend that to kgdb, but that's about it. -- Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_C64CA47F-5CF7-47E2-86C6-D8F3CB1A29DC Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlK/jaMACgkQpgWlLWHuifZdDgCeLxsYJ1HhI7Ot18t2JRXq06fj jCQAn32Bqm2sKc75cQ7OPFqHKnO5Ltg3 =+Wnk -----END PGP SIGNATURE----- --Apple-Mail=_C64CA47F-5CF7-47E2-86C6-D8F3CB1A29DC--