Bug#1130088: godot: Please drop the riscv64 libatomic workaround

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Sun Mar 8 14:44:11 GMT 2026


Hi Adrian,

On Sun, 2026-03-08 at 16:37 +0200, Adrian Bunk wrote:
> This workaround is no longer required with recent GCC versions.
> 
> --- godot-4.4.1+ds/debian/rules	2025-08-16 13:03:47.000000000 +0000
> +++ godot-4.4.1+ds/debian/rules	2025-08-16 13:03:47.000000000 +0000
> @@ -6,12 +6,6 @@
>  DPKG_EXPORT_BUILDFLAGS = 1
>  include /usr/share/dpkg/buildflags.mk
>  
> -# Link with libatomic on archs where it is needed.
> -# See <URL: https://bugs.debian.org/1019868 >
> -ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),armel riscv64))
> -       export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
> -endif
> -
>  # replace "custom_build" with more useful Debian version info
>  include /usr/share/dpkg/pkg-info.mk  # provides DEB_VERSION
>  export BUILD_NAME = debian${DEB_VERSION}

This should affect a large number of packages, maybe we should file mass bugs.

FWIW, have you verified that the workaround is no longer needed? I have seen the
bug in question was fixed upstream, but I have never verified it actually works.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the Pkg-games-devel mailing list