Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2022 11:10:49 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   Re: git: e66390736613 - main - Define _NPCM and the last PC_FREEn constant in terms of _NPCPV.
Message-ID:  <9108301c-5035-440f-0db0-a98b7465e297@FreeBSD.org>
In-Reply-To: <202208232031.27NKVT2H033895@gitrepo.freebsd.org>
References:  <202208232031.27NKVT2H033895@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/23/22 1:31 PM, John Baldwin wrote:
> The branch main has been updated by jhb:
> 
> URL: https://cgit.FreeBSD.org/src/commit/?id=e66390736613a452238531f64bb9f674ebd4c3a6
> 
> commit e66390736613a452238531f64bb9f674ebd4c3a6
> Author:     John Baldwin <jhb@FreeBSD.org>
> AuthorDate: 2022-08-23 20:31:02 +0000
> Commit:     John Baldwin <jhb@FreeBSD.org>
> CommitDate: 2022-08-23 20:31:02 +0000
> 
>      Define _NPCM and the last PC_FREEn constant in terms of _NPCPV.
>      
>      This applies one of the changes from
>      5567d6b4419b02a2099527228b1a51cc55a5b47d to other architectures
>      besides arm64.
>      
>      Reviewed by:    kib
>      Sponsored by:   DARPA
>      Differential Revision:  https://reviews.freebsd.org/D36263

So this actually broke emulators/qemu because <machine/pmap.h> now
requires <sys/param.h>.  I have a patch to fix the port available at
https://reviews.freebsd.org/D36362.  What I don't know is if there are
other ports broken by this that might change how to address this?  I
would mostly hope that <machine/pmap.h> wouldn't be a header that userland
would need to use and that adding <sys/param.h> in a few places would
be the end of it.  However, if there's wider-spread breakage then I
would hack on this to avoid the need for <sys/param.h>.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9108301c-5035-440f-0db0-a98b7465e297>