From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 15895] glibc version 'GLIBC_VERSION' does not match released glibc version
Date: Wed, 20 Dec 2023 18:35:30 +0000 [thread overview]
Message-ID: <bug-15895-163-G8FFnxbTBr@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-15895-163@https.bugs.busybox.net/>
https://bugs.busybox.net/show_bug.cgi?id=15895
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yann.morin.1998@free.fr
--- Comment #2 from Yann E. MORIN <yann.morin.1998@free.fr> ---
Peter, All,
As for the reason why we use such a version string, one can read the fine
details in that very good (as usual) LWN article; it dates back 4 years
now, but the reasons are still the same, and boils down to the fact that
glibc does not do dot-releases:
https://lwn.net/Articles/736429/
So, rather than backport all and every patch going on the maintenance
branch, we sinply choose the latest commit on said branch whenever there
is a reason to update the version.
I understand that this does not help with CPE/CVE identification, but as
Thomas points out, we have a way out, something along the lines of:
GLIBC_VERSION_MAJOR = 2.38
GLIBC_VERSION_MINOR = 27-g750a45a783906a19591fb8ff6b7841470f1f5701
GLIBC_VERSION = $(GLIBC_VERSION_MAJOR)-$(GLIBC_VERSION_MINOR)
GLIBC_CPE_ID_VERSION = $(GLIBC_VERSION_MAJOR)
# CVE-YYYY-XXXXXX fixed in [sha1 of commit fix]
GLIBC_IGNORE_CVES += CVE-YYYY-XXXXX
# CVE-YYYY-XXXXXX fixed in [sha1 of commit fix]
GLIBC_IGNORE_CVES += CVE-YYYY-XXXXX
and so on... It is indeed a bit tedious, but we have to play with whatever
cards upstream dealt us; in this case, no dot-release.
It would be awesome if you were willing to submit such a patch!
Regards,
Yann e. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-12-20 18:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-20 12:17 [Buildroot] [Bug 15895] New: glibc version 'GLIBC_VERSION' does not match released glibc version bugzilla
2023-12-20 14:09 ` [Buildroot] [Bug 15895] " bugzilla
2023-12-20 18:35 ` bugzilla [this message]
2023-12-20 20:03 ` bugzilla
2024-06-15 15:25 ` bugzilla
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=bug-15895-163-G8FFnxbTBr@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.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