On Mon, Sep 01, 2025 at 05:01:31PM +0000, Ross Burton wrote:
> On 29 Aug 2025, at 12:47, Frederik Brændstrup via lists.yoctoproject.org 
> <[email protected]> wrote:
> > 
> > As a preface, I know this is probably a bit of an aggressive move. But
> > pkg-config doesn't build on newer GCC and Clang compilers due to a lot
> > of hardening. The old K&R style C code is deprecated and cannot compile
> > in the gcc default mode.
> > 
> > pkgconf is a modern and compatible (although not necessarily bug
> > compatible) alternative that is maintained, and has more features
> > that are not available in the old pkg-config. I've been using this patch
> > for a while now, and it has worked flawlessly.
> > 
> > Signed-off-by: Frede Braendstrup <[email protected]>
> 
> First, I’m 100% on board with this.  But the last time I did a test build 
> with pkg-config vs pkgconf there were some differences in the output.
> 
> Have you done a world build with and without this change, and verified that 
> the output is identical?
> 
> Also, this should go to [email protected] 
> <mailto:[email protected]> so can you follow-up on 
> there?
> 
> Thanks,
> Ross
>

Hi Ross

I must admit, that I've only experimented with this in my own
embedded projects, so there's not really much evidence that this "just
works". The issue I ran into, which was fixed by this, was that
pkg-config just didn't build on modern compilers as I wrote initially.

I'm willing to put in some time to making this work though, but I will
probably need some guidance in respect to what level of similarity we
need and how to verify it properly. Currently I just know that all of 
the recipes I've built produce a binary, but I haven't given much 
thought to binary equivalence.

I'll start by kicking off a world build, and seeing where that goes.

/Frede
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#222723): 
https://lists.openembedded.org/g/openembedded-core/message/222723
Mute This Topic: https://lists.openembedded.org/mt/115011697/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to