mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#glibc

4 posts3 participants0 posts today
jbz<p>musl libc - Functional differences from glibc </p><p>「 ISO C and POSIX require the end-of-file status for a FILE to be sticky, i.e. for it to preclude further reads once it’s set, unless it’s explicitly cleared. musl has always honored this requirement. glibc versions prior to 2.28 ignored it and always returned new input, if available, even after the EOF flag is set 」</p><p><a href="https://wiki.musl-libc.org/functional-differences-from-glibc.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">wiki.musl-libc.org/functional-</span><span class="invisible">differences-from-glibc.html</span></a></p><p><a href="https://indieweb.social/tags/musl" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>musl</span></a> <a href="https://indieweb.social/tags/glibc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>glibc</span></a> <a href="https://indieweb.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://indieweb.social/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a></p>
jbz<p>⚠️ Steam Will Stop Working on Outdated Linux Systems This August | Linuxiac </p><p>「 According to a recent announcement, the Steam client will no longer run on any distribution with a GNU C Library (glibc) version older than 2.31 starting August 15,&nbsp;2025.</p><p>Users who stay on an outdated toolchain will find not only Steam but also any purchased games unable to launch until the underlying operating system is upgraded 」</p><p><a href="https://linuxiac.com/steam-will-stop-working-on-outdated-linux-systems-this-august/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">linuxiac.com/steam-will-stop-w</span><span class="invisible">orking-on-outdated-linux-systems-this-august/</span></a></p><p><a href="https://indieweb.social/tags/steam" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>steam</span></a> <a href="https://indieweb.social/tags/glibc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>glibc</span></a> <a href="https://indieweb.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> <a href="https://indieweb.social/tags/opensource" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>opensource</span></a></p>
Tuckers Nuts Resist! 🇺🇦 <p><span class="h-card" translate="no"><a href="https://mastodon.social/@cleverboi" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>cleverboi</span></a></span> <br>Boi, I'm not knowledgeable about glibc, but I do use and like Pop!_Os, so I'm boosting your twt in an effort to secure you an answer.<br>I don't know your use case, so I have no clue why you'd be having this software issue with Pop!_Os!<br>Hope someone else can be of actual assistance.<br><a href="https://mstdn.social/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> <a href="https://mstdn.social/tags/GLIBC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GLIBC</span></a> <a href="https://mstdn.social/tags/Pop" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Pop</span></a>!_Os <a href="https://mstdn.social/tags/PopOs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PopOs</span></a></p>
Vitex<p>glibc (2.41-7) unstable; urgency=medium</p><p> Starting with glibc 2.41, shared libraries requiring an executable stack<br> cannot be dynamically loaded through the <a href="https://f.cz/tags/dlopen" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dlopen</span></a> mechanism from a binary that<br> does not require an executable stack. This change aims to improve security,<br> as the previous behavior was used as a vector for RCE (<a href="https://f.cz/tags/CVE" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CVE</span></a>-2023-38408).<br> Attempting to do so will result in the following error:</p><p> cannot enable executable stack as shared object requires: Invalid argument</p><p> While most libraries generated in the past 20 years do not require an<br> executable stack, some third-party software still need this capability. Many<br> vendors have already updated their binaries to address this.</p><p> If you need to run a program that requires an executable stack through<br> dynamic loaded shared libraries, you can use the glibc.rtld.execstack<br> tunable:</p><p> Glibc6_TUNABLES=glibc.rtld.execstack=2 ./program</p><p> -- Aurelien Jarno &lt;aurel32@debian.org&gt; Sun, 13 Apr 2025 14:41:11 +0200</p><p><a href="https://f.cz/tags/Debian" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Debian</span></a> <a href="https://f.cz/tags/Changelog" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Changelog</span></a> <a href="https://f.cz/tags/GLibC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GLibC</span></a> <a href="https://f.cz/tags/Security" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Security</span></a> <a href="https://f.cz/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a></p>
Sourceware<p>Sourceware Survey 2025 Results</p><p>In the end we got 103 (!) responses with a nice mix of developers, users and maintainers from various hosted projects.</p><p><a href="https://sourceware.org/survey-2025" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">sourceware.org/survey-2025</span><span class="invisible"></span></a></p><p><a href="https://fosstodon.org/tags/binutils" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>binutils</span></a> <a href="https://fosstodon.org/tags/cygwin" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cygwin</span></a> <a href="https://fosstodon.org/tags/dwarfstd" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dwarfstd</span></a> <a href="https://fosstodon.org/tags/elfutils" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>elfutils</span></a> <a href="https://fosstodon.org/tags/gcc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gcc</span></a> <a href="https://fosstodon.org/tags/gdb" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gdb</span></a> <a href="https://fosstodon.org/tags/glibc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>glibc</span></a> <a href="https://fosstodon.org/tags/libabigail" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libabigail</span></a> <a href="https://fosstodon.org/tags/newlib" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>newlib</span></a> <a href="https://fosstodon.org/tags/systemTap" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>systemTap</span></a> <a href="https://fosstodon.org/tags/valgrind" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>valgrind</span></a> <a href="https://fosstodon.org/tags/bzip2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bzip2</span></a> <a href="https://fosstodon.org/tags/libffi" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>libffi</span></a> <a href="https://fosstodon.org/tags/dwz" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dwz</span></a> <a href="https://fosstodon.org/tags/debugedit" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>debugedit</span></a> <a href="https://fosstodon.org/tags/gnupoke" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gnupoke</span></a> <a href="https://fosstodon.org/tags/bunsen" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bunsen</span></a> <a href="https://fosstodon.org/tags/lvm2" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>lvm2</span></a> <a href="https://fosstodon.org/tags/annobin" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>annobin</span></a> <a href="https://fosstodon.org/tags/gnu" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>gnu</span></a>-gabi <a href="https://fosstodon.org/tags/cgen" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cgen</span></a> <a href="https://fosstodon.org/tags/kawa" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>kawa</span></a> <a href="https://fosstodon.org/tags/insight" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>insight</span></a> <a href="https://fosstodon.org/tags/pacme" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pacme</span></a></p>
stateful being<p><a href="https://mastodon.social/tags/tek" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tek</span></a> 0.2.0 out now: <a href="https://codeberg.org/unspeaker/tek/releases/tag/0.2.0" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/unspeaker/tek/rel</span><span class="invisible">eases/tag/0.2.0</span></a></p><p>it's buggy as hell, and about half the features i've showcased previously are disabled for now. but, more importantly, i've managed to build it as a single binary that you should be able to run on any <a href="https://mastodon.social/tags/linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>linux</span></a> with <a href="https://mastodon.social/tags/glibc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>glibc</span></a> and <a href="https://mastodon.social/tags/jack" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>jack</span></a>... let me know what happens!</p><p><a href="https://mastodon.social/tags/rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>rust</span></a> <a href="https://mastodon.social/tags/tui" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>tui</span></a> <a href="https://mastodon.social/tags/daw" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>daw</span></a></p>
Felix Palmen :freebsd: :c64:<p>Today, I implemented the <a href="https://mastodon.bsd.cafe/tags/async" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>async</span></a> / <a href="https://mastodon.bsd.cafe/tags/await" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>await</span></a> pattern (as known from <a href="https://mastodon.bsd.cafe/tags/csharp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>csharp</span></a> and meanwhile quite some other languages) ...</p><p>... in good old <a href="https://mastodon.bsd.cafe/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>! 😎 </p><p>Well, at least sort of.</p><p>* It requires some standard library support, namely <a href="https://mastodon.bsd.cafe/tags/POSIX" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>POSIX</span></a> user context switching with <a href="https://mastodon.bsd.cafe/tags/getcontext" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>getcontext</span></a> and friends, which was deprecated in POSIX-1.2008. But it's still available on many systems, including <a href="https://mastodon.bsd.cafe/tags/FreeBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>FreeBSD</span></a>, <a href="https://mastodon.bsd.cafe/tags/NetBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NetBSD</span></a>, <a href="https://mastodon.bsd.cafe/tags/Linux" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Linux</span></a> (with <a href="https://mastodon.bsd.cafe/tags/glibc" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>glibc</span></a>). It's NOT available e.g. on <a href="https://mastodon.bsd.cafe/tags/OpenBSD" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpenBSD</span></a>, or Linux with some alternative libc.</p><p>* I can't do anything about the basic language syntax, so some boilerplate comes with using it.</p><p>* It has some overhead (room for extra stacks, even extra syscalls as getcontext unfortunately also always saves/restores the signal mask)</p><p>But then ... async/await in C! 🥳 </p><p>Here are the docs:<br><a href="https://zirias.github.io/poser/api/latest/class_p_s_c___async_task.html" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">zirias.github.io/poser/api/lat</span><span class="invisible">est/class_p_s_c___async_task.html</span></a></p><p><a href="https://mastodon.bsd.cafe/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a> <a href="https://mastodon.bsd.cafe/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a></p>

I finally eliminated the need for a dedicated #thread controlling the pam helper #process in #swad. 🥳

The building block that was still missing from #poser was a way to await some async I/O task performed on the main thread from a worker thread. So I added a class to allow exactly that. The naive implementation just signals the main thread to carry out the requested task and then waits on a #semaphore for completion, which of course blocks the worker thread.

Turns out we can actually do better, reaching similar functionality like e.g. #async / #await in C#: Release the worker thread to do other jobs while waiting. The key to this is user context switching support like offered by #POSIX-1.2001 #getcontext and friends. Unfortunately it was deprecated in POSIX-1.2008 without an obvious replacement (the docs basically say "use threads", which doesn't work for my scenario), but still lots of systems provide it, e.g. #FreeBSD, #NetBSD, #Linux (with #glibc) ...

The posercore lib now offers both implementations, prefering to use user context switching if available. It comes at a price: Every thread job now needs its private stack space (I allocated 64kiB there for now), and of course the switching takes some time as well, but that's very likely better than leaving a task idle waiting. And there's a restriction, resuming must still happen on the same thread that called the "await", so if this thread is currently busy, we have to wait a little bit longer. I still think it's a very nice solution. 😎

In any case, the code for the PAM credential checker module looks much cleaner now (the await "magic" happens on line 174):
github.com/Zirias/swad/blob/57

The #Maneage #reproducibility system for scientific research papers that starts from a minimal POSIX-like host OS does not yet build [1] the #GNUCLibrary = #GLibC . We have a draft implementation building glibc *after* #GCC [2]; and an alternative proposal arguing that building glibc *first* and gcc second would be more long-term sustainable [[1] comment18].

Should GLibC be built first? Why (or why not)?

[1] savannah.nongnu.org/task/?1539
[2] gitlab.com/maneage/project-dev

Replied in thread

@landley @burnoutqueen Yeah...

#GPLv3 is a desaster as it's 99% ideology and 1% license text and alongside #AGPLv3 completely ignores the reality of how #licensing and #patents and #IP works.

  • Not that I like the status-quo, but we'd rather see businesses steer clear of anything GPLv2+ or GPLv3 or worse.

And on the flipside we basically get "source available" stuff like #SSPL which only serves as a means to commit #AssetDenial and monopolize commercial offerings...

#glibc#gnutils#fsf

Who at #glibc do we need to bribe to get @codonell :

"I think we really need to expose some
sort of clone/clone3 wrapper, with some guardrails against unsupportable
scenarios (such as spawning new threads in the current process)."

finally implemented! It really is missing!
patchwork.sourceware.org/proje

patchwork.sourceware.org[v7,6/8] posix: Add pidfd_fork (BZ 26371) - Patchwork

Pues ya tengo respuesta, por temas técnicos que no explicare aquí (pues no los entendí del todo, je je) el tiempo de ejecución de #Steam no cubre / alcanza la librería #glibc y lo que son los controladores gráficos. Por eso que al actualizar (principalmente distribuciones de liberación continua) esta librería muchos juegos (nativos principalmente, al parecer) se rompieron.

gamingonlinux.com/2025/02/the-

GamingOnLinux · The glibc 2.41 update has been causing problems for Linux gamingBy Liam Dawe