Bug#949621: webkit2gtk: Please pass "--reduce-memory-overheads" on non-Gold targets

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Jan 22 21:00:07 GMT 2020

Source: webkit2gtk
Version: 2.26.3-1
Severity: normal
User: debian-68k at lists.debian.org
Usertags: m68k


In order to avoid memory exhaustation on 32-bit targets not using Gold,
please pass "--reduce-memory-overheads" to the linker:

ifneq (,$(filter $(DEB_HOST_ARCH),hppa m68k powerpc sh4))
        LDFLAGS += -Wl,--reduce-memory-overheads

I copied that flag from openSUSE where it is used on every target not
enabling the Gold linker [1] (line 300).


> [1] https://build.opensuse.org/package/view_file/openSUSE:Factory:ARM/webkit2gtk3/webkit2gtk3.spec?expand=1

 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

More information about the Pkg-webkit-maintainers mailing list