From: Hemanth.KumarMD@windriver.com
To: openembedded-core@lists.openembedded.org
Cc: Sundeep.Kokkonda@windriver.com, Hemanth.KumarMD@windriver.com
Subject: [PATCH v4 4/8] libxcrypt: avoid discarded-qualifiers build failure with glibc 2.43
Date: Thu, 12 Mar 2026 09:10:19 -0700 [thread overview]
Message-ID: <20260312161038.2578649-4-Hemanth.KumarMD@windriver.com> (raw)
In-Reply-To: <20260312161038.2578649-1-Hemanth.KumarMD@windriver.com>
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>
---
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 9aed0b9d81..c9cd5e6ef4 100644
--- a/meta/recipes-core/libxcrypt/libxcrypt.inc
+++ b/meta/recipes-core/libxcrypt/libxcrypt.inc
@@ -17,6 +17,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}"
--
2.49.0
next prev parent reply other threads:[~2026-03-12 16:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-12 16:10 [PATCH v4 1/8] glibc: Upgrade to 2.43 release Hemanth.KumarMD
2026-03-12 16:10 ` [PATCH v4 2/8] gettext: upgrade 0.26 -> 1.0 Hemanth.KumarMD
2026-03-12 16:10 ` [PATCH v4 3/8] gcc-runtime: avoid discarded-qualifiers build failure with glibc 2.43 Hemanth.KumarMD
2026-03-12 16:10 ` Hemanth.KumarMD [this message]
2026-03-12 16:10 ` [PATCH v4 5/8] barebox-tools: fix " Hemanth.KumarMD
2026-03-12 16:10 ` [PATCH v4 6/8] ltp: workaround openat2 " Hemanth.KumarMD
2026-03-12 16:10 ` [PATCH v4 7/8] glib-2.0: fix gdatetime ptest " Hemanth.KumarMD
2026-03-12 16:10 ` [PATCH v4 8/8] busybox: fix printf " Hemanth.KumarMD
2026-03-12 18:52 ` [OE-core] " Randy MacLeod
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260312161038.2578649-4-Hemanth.KumarMD@windriver.com \
--to=hemanth.kumarmd@windriver.com \
--cc=Sundeep.Kokkonda@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox