]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
NEWS: Add note that libsystemd may not link to libm anymore
authorDaan De Meyer <daan@amutable.com>
Sun, 24 May 2026 11:51:27 +0000 (11:51 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sun, 24 May 2026 11:55:25 +0000 (12:55 +0100)
NEWS

diff --git a/NEWS b/NEWS
index e5a930685cfd56655a5ad658a918901ca8834c26..9222a04a9290e82858948001f22b8007d186ffd6 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -97,6 +97,15 @@ CHANGES WITH 261 in spe:
         * Required version of musl (when built with -Dlibc=musl) has been raised
           from 1.2.5 to 1.2.6.
 
+        * libsystemd is no longer guaranteed to be linked against libm. Whether
+          the dependency is recorded depends on whether the compiler chooses to
+          emit builtins for all calls to libm symbols. Consumers that rely on
+          libsystemd transitively pulling in libm should link against it
+          themselves. If forcing a link against libm is required as a
+          workaround, '-Wl,--push-state,--no-as-needed,-lm,--pop-state' can be
+          added to the link flags, or passed to meson via
+          '-Dc_link_args=-Wl,--push-state,--no-as-needed,-lm,--pop-state'.
+
         Changes in the system and service manager:
 
         * PID1 now supports the kernel's Live Update Orchestration (LUO) /