Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1255069
| From | Emanuele Rocca <ema@debian.org> |
|---|---|
| Newsgroups | linux.debian.bugs.dist |
| Subject | Bug#1110449: calamares: FTBFS on arm64 with GCC-15 due to GCS warning |
| Date | 2025-08-05 21:10 +0200 |
| Message-ID | <LgvcR-5nht-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Source: calamares Version: 3.3.14-1 User: debian-arm@lists.debian.org Usertags: gcs Hi, calamares fails to build from source on arm64 if built with GCC-15, currently in experimental. GCC-15 includes support for an arm64 security feature called Guarded Control Stack (GCS). To help with GCS adoption, the linker warns about shared libraries built without GCS. For example: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libncursesw.so.6: warning: GCS is required by -z gcs, but this shared library lacks the necessary property note. The dynamic loader might not enable GCS or refuse to load the program unless all the shared library dependencies have the GCS marking. The warning is harmless, and can be ignored. However, calamares is built with --fatal-warnings, and for this reason will fail to build on arm64 once GCC-15 becomes the default compiler in Debian. Luckily, it is possible to switch the warning off by passing the argument gcs-report-dynamic=none to the linker. Please consider adding the following to your debian/rules: ifeq ($(DEB_TARGET_ARCH),arm64) DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,gcs-report-dynamic=none endif This can be done even before GCC-15 becomes the default compiler, to avoid build failures when it does.
Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread
Bug#1110449: calamares: FTBFS on arm64 with GCC-15 due to GCS warning Emanuele Rocca <ema@debian.org> - 2025-08-05 21:10 +0200
csiph-web