Package: dpkg-dev Version: 1.22.0 Severity: important Hi,
The recent change (https://git.dpkg.org/cgit/dpkg/dpkg.git/diff/?id=11efff1bf) breaks building Debian packages with clang on arm64. LLVM does not have -fstack-clash-protection enabled on aarch64 (https://reviews.llvm.org/D96007). Here is the original bug report for adding clash protection: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918914 The GNUstep Objective-C 2.0 toolchain depends on Clang as GCC does not have newer Objective-C features such as ARC, properties, and blocks. Fedora enables stack-clash-protection based on the toolchain (https://src.fedoraproject.org/fork/tstellar/rpms/redhat-rpm-config/blob/c0bad810b4b47086f58e7537e258333b14c92c45/f/rpmrc#_77), and omits the flag when the compiler is not gcc. I would suggest either checking for the compiler (if possible), or disabling it for aarch64 until Clang has support for it as well. Right now, projects like Grand Central Dispatch (libdispatch) or other projects with -Werror turned on, refuse to build.