Bug#984130: flatpak-builder: ftbfs with GCC-11: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier

Simon McVittie smcv at debian.org
Wed Mar 3 18:25:17 GMT 2021


Control: forwarded -1 https://gitlab.gnome.org/GNOME/glib/-/issues/600
Control: clone -1 -2
Control: retitle -1 flatpak-builder: ftbfs with GCC-11: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier
Control: reassign -2 libglib2.0-dev 2.66.7-1
Control: retitle -2 glib2.0: uses volatile qualifier in ways that gcc 11 doesn't like
Control: fixed -2 2.67.5-2
Control: block -1 by -2
Control: block 984127 by -2

On Wed, 03 Mar 2021 at 16:12:21 +0000, Matthias Klose wrote:
> src/builder-extension.c: In function ‘builder_extension_get_type’:
> /usr/include/glib-2.0/glib/gatomic.h:112:5: error: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Werror=incompatible-pointer-types]

This is a GLib bug, and is believed to be already fixed in experimental's
GLib.

    smcv



More information about the pkg-gnome-maintainers mailing list