Bug#1110452: elogind: FTBFS on arm64 with GCC-15 due to GCS warning

Emanuele Rocca ema at debian.org
Thu Dec 4 09:15:03 GMT 2025


On 2025-08-05 09:10, Emanuele Rocca wrote:
> ifeq ($(DEB_TARGET_ARCH),arm64)
> DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,gcs-report-dynamic=none
> endif

Just a quick note to mention that the variable needs to be exported for
the above to work.

> This can be done even before GCC-15 becomes the default compiler, to avoid
> build failures when it does.

You may be wondering why the package still builds fine even though
GCC-15 has now been the default compiler in unstable for a while. That's
because the issue arises when building with GCC-15 *and a version of
glibc also built with GCC-15*. For now, glibc in unstable is still built
with GCC-14.

Cheers,
  ema



More information about the Debian-init-diversity mailing list