Merge ~liushuyu-011/ubuntu/+source/vectorscan:ubuntu/devel into ubuntu/+source/vectorscan:ubuntu/devel

Proposed by Zixing Liu
Status: Merged
Merged at revision: 720c1fd912f2e66753da69b7c264408b90991c79
Proposed branch: ~liushuyu-011/ubuntu/+source/vectorscan:ubuntu/devel
Merge into: ubuntu/+source/vectorscan:ubuntu/devel
Diff against target: 39 lines (+9/-2)
3 files modified
debian/changelog (+6/-0)
debian/control (+2/-1)
debian/rules (+1/-1)
Reviewer Review Type Date Requested Status
Vladimir Petko (community) Approve
Review via email: mp+467842@code.launchpad.net

Description of the change

This MP fixes vectorscan FTBFS issue by removing LTO flags on Ubuntu.

The build failed because GCC LTO generated duplicated (artificial) symbols in the same TU (maybe a bug in GCC?)

To post a comment you must log in.
Revision history for this message
Zixing Liu (liushuyu-011) wrote :
Revision history for this message
Vladimir Petko (vpa1977) :
review: Approve
Revision history for this message
Vladimir Petko (vpa1977) wrote :

Uploaded, thank you!!!

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index e75115e..251afb4 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,9 @@
6+vectorscan (5.4.11-2ubuntu1) oracular; urgency=medium
7+
8+ * d/rules: disable LTO flags to fix linking issues on Ubuntu (LP: #2071664).
9+
10+ -- Zixing Liu <zixing.liu@canonical.com> Wed, 19 Jun 2024 13:04:15 -0600
11+
12 vectorscan (5.4.11-2) unstable; urgency=medium
13
14 * Make build reproducible: Closes: #1056649
15diff --git a/debian/control b/debian/control
16index 35d8a3e..688a4e7 100644
17--- a/debian/control
18+++ b/debian/control
19@@ -1,6 +1,7 @@
20 Source: vectorscan
21 Priority: optional
22-Maintainer: Konstantinos Margaritis <markos@debian.org>
23+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
24+XSBC-Original-Maintainer: Konstantinos Margaritis <markos@debian.org>
25 Build-Depends: cmake,
26 debhelper-compat (= 13),
27 libboost-dev,
28diff --git a/debian/rules b/debian/rules
29index 4992c06..060f96c 100755
30--- a/debian/rules
31+++ b/debian/rules
32@@ -1,6 +1,6 @@
33 #!/usr/bin/make -f
34
35-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
36+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto
37
38 ifeq ($(DEB_HOST_ARCH),amd64)
39 export DEB_CMAKE_FLAGS = -DBUILD_AVX2=on -DBUILD_AVX512=on -DBUILD_AVX512VBMI=off -DFAT_RUNTIME=on

Subscribers

People subscribed via source and target branches

to all changes: