[packages/gtk-webkit4] - linker memory needs overgrown 32bit address space when building with debuginfo - rel 2

baggins baggins at pld-linux.org
Sat Mar 28 07:29:07 CET 2015


commit 4bb10dff0f742b880824b5ebf49b184573c2a282
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Mar 28 07:28:22 2015 +0100

    - linker memory needs overgrown 32bit address space when building with debuginfo
    - rel 2

 gtk-webkit4.spec | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk-webkit4.spec b/gtk-webkit4.spec
index f423612..3d42a3f 100644
--- a/gtk-webkit4.spec
+++ b/gtk-webkit4.spec
@@ -9,11 +9,16 @@
 %bcond_with	seccomp		# seccomp filters (broken as of 2.6.5)
 %bcond_with	wayland		# Wayland target (broken as of 2.6.[0-5])
 #
+# it's not possible to build this with debuginfo on 32bit archs due to
+# memory constraints during linking
+%ifarch %{ix86} x32
+%define		_enable_debug_packages		0
+%endif
 Summary:	Port of WebKit embeddable web component to GTK+ 3
 Summary(pl.UTF-8):	Port osadzalnego komponentu WWW WebKit do GTK+ 3
 Name:		gtk-webkit4
 Version:	2.8.0
-Release:	1
+Release:	2
 License:	BSD-like
 Group:		X11/Libraries
 Source0:	http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
@@ -137,12 +142,7 @@ Dokumentacja API WebKita.
 %build
 install -d build
 cd build
-# ld cannot handle so huge shared libs (when building with debug info)
-%ifarch %{x8664}
 LDFLAGS="%{rpmldflags} -fuse-ld=gold"
-%else
-LDFLAGS="%{rpmldflags} -fuse-ld=bfd -Wl,--no-keep-memory"
-%endif
 %cmake .. \
 	-DENABLE_CREDENTIAL_STORAGE=ON \
 	-DENABLE_GEOLOCATION=ON \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gtk-webkit4.git/commitdiff/4bb10dff0f742b880824b5ebf49b184573c2a282



More information about the pld-cvs-commit mailing list