Merge lp:~thomas-voss/platform-api/explicit-gcc-version into lp:platform-api

Proposed by Thomas Voß
Status: Merged
Approved by: Steve Langasek
Approved revision: 238
Merged at revision: 245
Proposed branch: lp:~thomas-voss/platform-api/explicit-gcc-version
Merge into: lp:platform-api
Diff against target: 48 lines (+16/-2)
2 files modified
debian/control (+6/-2)
debian/rules (+10/-0)
To merge this branch: bzr merge lp:~thomas-voss/platform-api/explicit-gcc-version
Reviewer Review Type Date Requested Status
Matthias Klose Approve
Colin Watson Approve
PS Jenkins bot continuous-integration Needs Fixing
Steve Langasek Pending
Review via email: mp+227511@code.launchpad.net

Commit message

Explicitly select g++-4.9 to prevent from ABI breaks.

Description of the change

Explicitly select g++-4.9 to prevent from ABI breaks.

To post a comment you must log in.
238. By Thomas Voß

[ Cemil Azizoglu ]
* Mir display server 0.5.0 release.
* New rebuild forced
[ Alberto Aguirre ]
* Bump Mir dependencies to 0.4.0.
[ Cemil Azizoglu ]
* Bump Mir dependencies to 0.4.0.
[ Kevin Gunn ]
* Bump Mir dependencies to 0.4.0.
[ Sergio Schvezov ]
* Setting -Wl,--no-as-needed for sensors.
[ Ricardo Mendoza ]
* Run thread for dbus client connection (sensors service)
[ Ubuntu daily release ]
* debian/*symbols: auto-update new symbols to released version
[ thomas-voss ]
* Adjust to API changes in location service. Implement controller
  interface. Add functions to query the accuracy estimates for a
  position update. (LP: #1281817)

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Colin Watson (cjwatson) :
review: Approve
Revision history for this message
Matthias Klose (doko) wrote :

ok

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/control'
2--- debian/control 2014-07-15 14:02:16 +0000
3+++ debian/control 2014-07-21 08:46:26 +0000
4@@ -7,6 +7,10 @@
5 debhelper (>= 9),
6 doxygen,
7 graphviz,
8+# We rely on C++11 features, and to prevent from ABI breaks
9+# in libstdc++ causing us issues, we explicitly select a G++
10+# version.
11+ g++-4.9,
12 libgles2-mesa-dev,
13 libhybris-common-dev,
14 pkg-config,
15@@ -14,8 +18,8 @@
16 libmirserver-dev (>= 0.5.0),
17 liburl-dispatcher1-dev,
18 libdbus-1-dev,
19- libdbus-cpp-dev (>= 2.0.0),
20- libubuntu-location-service-dev (>= 1.0.0),,
21+ libdbus-cpp-dev (>= 4.0.0),
22+ libubuntu-location-service-dev (>= 1.0.0),
23 libgtest-dev,
24 libprocess-cpp-dev (>= 0.0.1+14.04.20131212),
25 libproperties-cpp-dev,
26
27=== modified file 'debian/rules'
28--- debian/rules 2014-05-20 14:24:10 +0000
29+++ debian/rules 2014-07-21 08:46:26 +0000
30@@ -2,9 +2,19 @@
31
32 DPKG_GENSYMBOLS_CHECK_LEVEL = 4
33
34+include /usr/share/dpkg/default.mk
35+
36+# Explicitly selecting a G{CC,++}-version here to avoid accidental
37+# ABI breaks introduced by toolchain updates.
38+export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
39+export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
40+
41 %:
42 dh $@
43
44+override_dh_auto_configure:
45+ dh_auto_configure -- -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX)
46+
47 override_dh_install:
48 dh_install --fail-missing
49

Subscribers

People subscribed via source and target branches