Merge lp:~cjwatson/dee-qt/powerpc-pie into lp:dee-qt

Proposed by Colin Watson
Status: Merged
Approved by: Albert Astals Cid
Approved revision: 88
Merged at revision: 88
Proposed branch: lp:~cjwatson/dee-qt/powerpc-pie
Merge into: lp:dee-qt
Diff against target: 17 lines (+7/-0)
1 file modified
debian/rules (+7/-0)
To merge this branch: bzr merge lp:~cjwatson/dee-qt/powerpc-pie
Reviewer Review Type Date Requested Status
Albert Astals Cid (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+211308@code.launchpad.net

Commit message

Work around pointer equality problem with -Bsymbolic-functions on powerpc/ppc64el.

Description of the change

dee-qt fails to build on powerpc/ppc64el with a signaltest failure. Albert Astals Cid tracked down http://lists.linaro.org/pipermail/linaro-toolchain/2014-January/003942.html which discusses a similar problem, and there's a hint in that thread that building with PIE support works around the problem. I've confirmed that this patch fixes the build on powerpc and ppc64el; for the sake of conservatism I've written it such that it only affects powerpc-based architectures.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Albert Astals Cid (aacid) wrote :

I can confirm that this makes it build on the porter ppc machines, weather or not this is the appropiate/better bug i have no really opinion on since this is well below my knowledge level

review: Approve
Revision history for this message
Albert Astals Cid (aacid) wrote :

below in the stack i mean :D

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/rules'
--- debian/rules 2013-01-31 18:29:57 +0000
+++ debian/rules 2014-03-17 13:14:17 +0000
@@ -4,6 +4,13 @@
4# Uncomment this to turn on verbose mode.4# Uncomment this to turn on verbose mode.
5#export DH_VERBOSE=15#export DH_VERBOSE=1
66
7DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
8ifneq (,$(findstring powerpc,$(DEB_HOST_GNU_TYPE)))
9# Work around pointer equality problem with -Bsymbolic-functions:
10# http://lists.linaro.org/pipermail/linaro-toolchain/2014-January/003944.html
11export DEB_BUILD_MAINT_OPTIONS := hardening=+pie
12endif
13
7export DPKG_GENSYMBOLS_CHECK_LEVEL=414export DPKG_GENSYMBOLS_CHECK_LEVEL=4
815
9%:16%:

Subscribers

People subscribed via source and target branches

to all changes: