[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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

Hi!

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
endif

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

Thanks,
Adrian

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

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


Reply to: