Discord and glibc 2.41 update on Arch Linux
Discord is an application that enables communication with other people in groups, while building the greatest communities across different guilds. Glibc is a GNU C standard library that provides you with standard C functions for your applications and with wrappers for system calls for your Linux platform.
Recently, the Arch Linux team is planning to push the newly-released glibc 2.41 (released on January 29th, 2025) later today, which provides the following features:
- Glibc on Linux now supports the sched_setattr and sched_getattr functions for parameterized scheduling policies such as SCHED_DEADLINE mode.
- ISO C23 function families in the math.h header file for acospi, asinpi, atan2pi, atanpi, cospi, sinpi, and tanpi.
- Support for the Linux getrandom vDSO.
- Faster strnlen() performance on AMD and Intel CPUs.
- A “_ISOC2Y_SOURCE” feature test macro to enable features from the draft ISO C2Y standard.
- Optimizations and correct rounding for various math functions.
- The new “glibc.rtld.execstack” tunable allows for controlling whether an executable stack is allowed from the main program.
- Support for the extensible Restartable Sequences “RSEQ” ABI since Linux 6.3.
- Character encoding and other tables updated against Unicode 16.0.
- The iconv program now supports converting files in-place.
- The DNS stub resolver now supports the strict-error option.
- Support for Guarded Control Stack (GCS) on AArch64 systems.
- Faster performance for code generation and math function speed on AArch64 systems with SVE and NEON intrinsics.
- A new architecture type to better support Hygon x86_64 processors.
- The Glibc test suite has been expanded significantly with some 800+ more test cases than the prior version.
- Fixing a possible buffer overflow when printing an assertion failure message.
- Many bug fixes.
However, it looks like that it may have caused problems with the stable version of Discord, because when you install the updated glibc, Discord will notify you that the installation is now corrupt. Luckily, it only affects the audio connectivity feature, but for those who rely on this feature, this is unfortunate.
The Discord team have fixed this in canary builds, so it will take time to push the fix to the stable channels one day. Meanwhile, the team advises you to use the Canary version of Discord, the Flatpak version, or the browser version.