Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2013 18:39:07 -0800
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        Peter Wemm <peter@wemm.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r260022 - head/lib/libkvm
Message-ID:  <28D86FF3-F13C-4EB1-AEED-4051F2944E27@xcllnt.net>
In-Reply-To: <CAGE5yCq5AVC2JJ5HiDj5i_1zQ1fKXj9cNuzF1oN0Tks9eoP=Lg@mail.gmail.com>
References:  <201312282301.rBSN1wWP002326@svn.freebsd.org> <CAGE5yCorJaMszNY3FvT2XNGEWMEAE47daCGLnxzdLjAFTcOf0A@mail.gmail.com> <CAGE5yCq5AVC2JJ5HiDj5i_1zQ1fKXj9cNuzF1oN0Tks9eoP=Lg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]

On Dec 28, 2013, at 4:40 PM, Peter Wemm <peter@wemm.org> wrote:

> On Sat, Dec 28, 2013 at 4:04 PM, Peter Wemm <peter@wemm.org> wrote:
>> On Sat, Dec 28, 2013 at 3:01 PM, Marcel Moolenaar <marcel@freebsd.org> wrote:
>>> 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.
>> 
>> Are you sure about this? I just got a brand new buildworld failure on
>> an amd64 machine.  The lib32 build code was trying to use 64 bit pmap
>> definitions and failed miserably.
>> 
>> I'm really sorry, I accidentally blew away the failure log.  I'll have
>> another in a few minutes.
> 
> 
> This is from stage5.1, the lib32 build:
> 
> /usr/src/lib/libkvm/kvm_amd64.c:78:2: error: unknown type name 'pml4_entry_t'
>        pml4_entry_t    *PML4;
>        ^

Ugh. I'll probably revert...

-- 
Marcel Moolenaar
marcel@xcllnt.net



[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAlK/i0sACgkQpgWlLWHuifbbaQCePPMca7t+AePCEMPey5nbJhZ8
1OEAmgLfdb2HVHmK8EqAvhSQYKeQjqnX
=NDxM
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28D86FF3-F13C-4EB1-AEED-4051F2944E27>