From owner-svn-src-head@FreeBSD.ORG Sun Dec 29 03:32: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 3234C117; Sun, 29 Dec 2013 03:32:47 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E20E812FD; Sun, 29 Dec 2013 03:32:46 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id rBT3WjfB027631 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Dec 2013 19:32:46 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id rBT3WjbT027630; Sat, 28 Dec 2013 19:32:45 -0800 (PST) (envelope-from jmg) Date: Sat, 28 Dec 2013 19:32:45 -0800 From: John-Mark Gurney To: Marcel Moolenaar Subject: Re: svn commit: r260022 - head/lib/libkvm Message-ID: <20131229033245.GY99167@funkthat.com> References: <201312282301.rBSN1wWP002326@svn.freebsd.org> <20131229010848.GV99167@funkthat.com> <7F0C4872-DB2A-4E6B-A8B8-E366989312C5@xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7F0C4872-DB2A-4E6B-A8B8-E366989312C5@xcllnt.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Sat, 28 Dec 2013 19:32:46 -0800 (PST) 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 03:32:47 -0000 Marcel Moolenaar wrote this message on Sat, Dec 28, 2013 at 18:49 -0800: > > 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. Then what was the goal of this commit? Was it to have an i386 compatible libkvm that links w/ amd64 binaries? or? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."