Your message dated Mon, 29 Dec 2025 19:02:13 +0200
with message-id <aVK0FWvWxN3dYp4X@localhost>
and subject line Re: Bug#1110450: clamfs: FTBFS on arm64 with GCC-15 due to GCS 
warning
has caused the Debian Bug report #1110450,
regarding clamfs: FTBFS on arm64 with GCC-15 due to GCS warning
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1110450: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110450
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: clamfs
Version: 1.3.0-1
User: [email protected]
Usertags: gcs

Hi,

clamfs 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, clamfs 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.

--- End Message ---
--- Begin Message ---
On Tue, Aug 05, 2025 at 09:04:43PM +0200, Emanuele Rocca wrote:
> Source: clamfs
> Version: 1.3.0-1
> User: [email protected]
> Usertags: gcs
> 
> Hi,
> 
> clamfs 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, clamfs 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.

This got "fixed" by recompilation of libraries lower in the stack:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/clamfs.html

cu
Adrian

--- End Message ---

Reply via email to