public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "unlvsur at live dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/115907] Libstdc++ and GCC itself should avoid glibc above 2.34 dependency
Date: Sun, 21 Jul 2024 14:35:24 +0000	[thread overview]
Message-ID: <bug-115907-4-by3fvRK8Af@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-115907-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115907

--- Comment #44 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #42)
> (In reply to frankhb1989 from comment #41)
> > I ran into exact the same trouble of C23 missing symbols on old systems. In
> > my case it is a custom build (with tailored source) of libfreeimage which
> > has some calls to `sscanf` pulling the unwanted symbol references (to
> > `__isoc23_sscanf@GLIBC_2.38`) into the library
> 
> That is not a glibc issue but rather you are thinking glibc will be forwards
> compatible; glibc is not and never can be; this is true for almost all OS
> out there (Mac OS has a similar issue though they provide sysroots with all
> needed headers/libraries so it is slightly easier to handle rather than you
> need to go out and find one). It is definitely backwards compatiable. If you
> want to build a program that runs on older systems you 100% need to use the
> earliest version of glibc to link (and use headers from) against rather than
> the newest version.

https://github.com/trcrsired/glibc/commit/4a724a45761fe27000247267d6ea02cb64b17b3c#diff-e1c081599cb4df1d7224ee161959d04457b256c4b269e428baec5a6d34e630d1

My patch just works perfectly. Don't know what's your opposition. I am not even
suggest an ABI lock down or something

  parent reply	other threads:[~2024-07-21 14:35 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-13 11:55 [Bug libstdc++/115907] New: " unlvsur at live dot com
2024-07-13 12:13 ` [Bug libstdc++/115907] " unlvsur at live dot com
2024-07-13 12:39 ` pinskia at gcc dot gnu.org
2024-07-13 12:41 ` pinskia at gcc dot gnu.org
2024-07-13 12:56 ` unlvsur at live dot com
2024-07-13 12:57 ` unlvsur at live dot com
2024-07-13 12:59 ` pinskia at gcc dot gnu.org
2024-07-13 13:04 ` unlvsur at live dot com
2024-07-13 13:04 ` unlvsur at live dot com
2024-07-13 13:05 ` unlvsur at live dot com
2024-07-13 13:05 ` unlvsur at live dot com
2024-07-13 13:06 ` unlvsur at live dot com
2024-07-13 13:08 ` unlvsur at live dot com
2024-07-13 13:10 ` unlvsur at live dot com
2024-07-13 13:11 ` pinskia at gcc dot gnu.org
2024-07-13 13:12 ` arsen at gcc dot gnu.org
2024-07-13 13:13 ` pinskia at gcc dot gnu.org
2024-07-13 13:13 ` unlvsur at live dot com
2024-07-13 13:14 ` unlvsur at live dot com
2024-07-13 13:15 ` pinskia at gcc dot gnu.org
2024-07-13 13:17 ` arsen at gcc dot gnu.org
2024-07-13 13:19 ` unlvsur at live dot com
2024-07-13 13:20 ` unlvsur at live dot com
2024-07-13 13:21 ` pinskia at gcc dot gnu.org
2024-07-13 13:23 ` unlvsur at live dot com
2024-07-13 13:31 ` pinskia at gcc dot gnu.org
2024-07-13 13:37 ` unlvsur at live dot com
2024-07-13 13:41 ` pinskia at gcc dot gnu.org
2024-07-13 13:43 ` arsen at gcc dot gnu.org
2024-07-13 14:01 ` unlvsur at live dot com
2024-07-13 14:06 ` unlvsur at live dot com
2024-07-13 14:10 ` unlvsur at live dot com
2024-07-13 14:12 ` unlvsur at live dot com
2024-07-13 14:23 ` unlvsur at live dot com
2024-07-13 14:47 ` arsen at gcc dot gnu.org
2024-07-13 15:51 ` unlvsur at live dot com
2024-07-13 15:55 ` unlvsur at live dot com
2024-07-13 19:30 ` pinskia at gcc dot gnu.org
2024-07-13 19:57 ` arsen at gcc dot gnu.org
2024-07-13 20:10 ` unlvsur at live dot com
2024-07-13 20:12 ` pinskia at gcc dot gnu.org
2024-07-19 18:55 ` frankhb1989 at gmail dot com
2024-07-19 19:02 ` pinskia at gcc dot gnu.org
2024-07-21 14:31 ` unlvsur at live dot com
2024-07-21 14:35 ` unlvsur at live dot com [this message]
2024-07-21 14:36 ` pinskia at gcc dot gnu.org
2024-07-21 14:38 ` unlvsur at live dot com
2024-07-21 14:57 ` pinskia at gcc dot gnu.org
2024-07-21 15:01 ` arsen at gcc dot gnu.org
2024-07-21 15:13 ` unlvsur at live dot com
2024-07-21 15:14 ` unlvsur at live dot com
2024-07-21 15:15 ` unlvsur at live dot com
2024-07-21 15:16 ` unlvsur at live dot com
2024-07-21 15:17 ` unlvsur at live dot com
2024-07-21 15:18 ` unlvsur at live dot com
2024-07-21 15:20 ` pinskia at gcc dot gnu.org
2024-07-21 15:21 ` unlvsur at live dot com
2024-07-21 15:53 ` arsen at gcc dot gnu.org
2024-07-22  9:41 ` redi at gcc dot gnu.org
2024-07-22  9:53 ` unlvsur at live dot com
2024-07-22  9:56 ` unlvsur at live dot com

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-115907-4-by3fvRK8Af@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).