[Buildroot] [PATCH 1/1] package/libnss: fix musl build

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Feb 7 15:40:07 UTC 2024


Hello Giulio,

On Fri, 12 Jan 2024 23:39:55 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

> > So basically, when FREEBL_NO_DEPEND is set to 1, freebl shall not
> > depend on PR_SetError as this function is defined by nspr.
> > 
> Yes but your patch only comment out PR_SetError() while it should
> depend on FREEBL_NO_DEPEND at this point even if I didn’t go in depth
> again after 1/2 years.
>
> But the point is why this only happens on musl and specific
> architectures.

This is indeed the question that we need to answer. Why is that musl
only?

According to Fabrice's explanation, it should happen on all platforms,
regarding of the C library. So there is something "more" to it, that we
don't yet understand.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com



More information about the buildroot mailing list