public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [whinlatter][PATCH 1/3] libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
@ 2026-04-10 10:05 martin.jansa
  2026-04-10 10:05 ` [whinlatter][PATCH 2/3] libxcrypt: Fix build wrt C23 support martin.jansa
  2026-04-10 10:05 ` [whinlatter][PATCH 3/3] libxcrypt: Use configure knob to disable warnings as errors martin.jansa
  0 siblings, 2 replies; 3+ messages in thread
From: martin.jansa @ 2026-04-10 10:05 UTC (permalink / raw)
  To: openembedded-core; +Cc: Hemanth Kumar M D, Richard Purdie

From: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>

With the glibc 2.43 upgrade, building nativesdk-libxcrypt triggers a
-Wdiscarded-qualifiers warning in crypt-gost-yescrypt.c and
crypt-sm3-yescrypt.c which becomes a build failure due to -Werror.

Signed-off-by: Hemanth Kumar M D <Hemanth.KumarMD@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-core/libxcrypt/libxcrypt.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/libxcrypt/libxcrypt.inc b/meta/recipes-core/libxcrypt/libxcrypt.inc
index da515d1927..1292f4288b 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -19,6 +19,7 @@ PROVIDES = "virtual/crypt"
 BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
 TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir} -Wno-error"
 CPPFLAGS:append:class-nativesdk = " -Wno-error"
+CFLAGS:append:class-nativesdk = " -Wno-error=discarded-qualifiers"
 
 API = "--disable-obsolete-api"
 EXTRA_OECONF += "${API}"


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-10 10:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 10:05 [whinlatter][PATCH 1/3] libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43 martin.jansa
2026-04-10 10:05 ` [whinlatter][PATCH 2/3] libxcrypt: Fix build wrt C23 support martin.jansa
2026-04-10 10:05 ` [whinlatter][PATCH 3/3] libxcrypt: Use configure knob to disable warnings as errors martin.jansa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox