[neon/qt6/qt6-base/Neon/unstable] debian: integrate mold linker and enable_gdb_index

Carlos De Maine null at kde.org
Sat Oct 28 04:12:14 BST 2023


Git commit 953d18a318f7676f3ef71b87753595f37ad67038 by Carlos De Maine.
Committed on 28/10/2023 at 05:07.
Pushed by carlosdem into branch 'Neon/unstable'.

integrate mold linker and enable_gdb_index

M  +1    -0    debian/control
M  +6    -5    debian/rules

https://invent.kde.org/neon/qt6/qt6-base/-/commit/953d18a318f7676f3ef71b87753595f37ad67038

diff --git a/debian/control b/debian/control
index 7b2cad1..209289a 100644
--- a/debian/control
+++ b/debian/control
@@ -90,6 +90,7 @@ Build-Depends: cmake,
                libxkbcommon-x11-dev,
                libxrender-dev,
                libzstd-dev,
+               mold,
                ninja-build,
                pkg-config,
                pkg-kde-tools,
diff --git a/debian/rules b/debian/rules
index 254f809..c0dadb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,11 +32,10 @@ endif
 %:
 	dh $@ --with pkgkde_symbolshelper --buildsystem=cmake+ninja
 
-#		-DFEATURE_use_mold_linker=ON \
-#		-DFEATURE_enable_gdb_index=ON \
-#		-DFEATURE_separate_debug_info=ON \
-#		-DFEATURE_lttng=ON \
-
+## FAILED: src/gui/qtgui_tracepoints_p.
+## tracegen: fatal: Cannot deduce CTF type for 'QImage::Format format
+##
+#		-DFEATURE_lttng=ON \  ##segfaults at
 
 override_dh_auto_configure:
 	dh_auto_configure -- \
@@ -52,6 +51,7 @@ override_dh_auto_configure:
 		-DFEATURE_doubleconversion=ON \
 		-DFEATURE_freetype=ON \
 		-DFEATURE_fontconfig=ON \
+		-DFEATURE_enable_gdb_index=ON \
 		-DFEATURE_glib=ON \
 		-DFEATURE_harfbuzz=ON \
 		-DFEATURE_icu=ON \
@@ -75,6 +75,7 @@ override_dh_auto_configure:
 		-DFEATURE_system_proxies=ON \
 		-DFEATURE_system_xcb_xinput=ON \
 		-DFEATURE_system_zlib=ON \
+		-DFEATURE_use_mold_linker=ON \
 		-DINSTALL_ARCHDATADIR=lib/$(DEB_HOST_MULTIARCH)/qt6 \
 		-DINSTALL_BINDIR=lib/qt6/bin \
 		-DINSTALL_EXAMPLESDIR=lib/$(DEB_HOST_MULTIARCH)/qt6/examples \


More information about the Neon-commits mailing list