Merge lp:~charlesk/indicator-datetime/make-gcc-version-explicit into lp:indicator-datetime/13.10

Proposed by Charles Kerr
Status: Merged
Approved by: Thomas Voß
Approved revision: 351
Merged at revision: 357
Proposed branch: lp:~charlesk/indicator-datetime/make-gcc-version-explicit
Merge into: lp:indicator-datetime/13.10
Diff against target: 31 lines (+9/-1)
2 files modified
debian/control (+4/-1)
debian/rules (+5/-0)
To merge this branch: bzr merge lp:~charlesk/indicator-datetime/make-gcc-version-explicit
Reviewer Review Type Date Requested Status
Thomas Voß (community) Approve
Steve Langasek Approve
Thomas Strehl (community) Needs Fixing
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+224467@code.launchpad.net

Commit message

make the gcc version explicit in debian/control and debian/rules.

Description of the change

Make the gcc version explicit in debian/control and debian/rules to avoid ABI problems described at https://wiki.ubuntu.com/cpp-11

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Thomas Strehl (strehl-t) wrote :

lgtm

review: Approve
Revision history for this message
Thomas Strehl (strehl-t) :
review: Needs Fixing
Revision history for this message
Charles Kerr (charlesk) wrote :

In IRC, Thomas said that he marked as "Needs Fixing" because of either the gcc string or because of the (missing) dh_auto_configure line... the gcc string looks the same as in the reference version at <https://wiki.ubuntu.com/cpp-11>, and I don't believe we need an override_dh_auto_configure rule here because exporting CC and CXX as environment variables is enough for cmake to pick them up.

So, I'm not sure what needs to be fixed here...

Revision history for this message
Steve Langasek (vorlon) wrote :
review: Approve
Revision history for this message
Thomas Voß (thomas-voss) wrote :

LGTM.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/control'
--- debian/control 2014-06-12 22:14:46 +0000
+++ debian/control 2014-06-25 16:02:53 +0000
@@ -2,8 +2,11 @@
2Section: misc2Section: misc
3Priority: optional3Priority: optional
4Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>4Maintainer: Ubuntu Desktop Team <ubuntu-desktop@lists.ubuntu.com>
5# language-pack-en-base is for the unit tests s.t. we can test in 12h and 24h locales5# g++-4.9: since we use c++11 features, explicitly select a g++ version
6# to protect from ABI breaks in libstdc++
7# language-pack-en-base: needed so unit tests can use 12h and 24h locales
6Build-Depends: cmake,8Build-Depends: cmake,
9 g++-4.9,
7 dbus,10 dbus,
8 dbus-test-runner,11 dbus-test-runner,
9 python3-dbusmock,12 python3-dbusmock,
1013
=== modified file 'debian/rules'
--- debian/rules 2014-03-24 15:46:04 +0000
+++ debian/rules 2014-06-25 16:02:53 +0000
@@ -1,5 +1,10 @@
1#!/usr/bin/make -f1#!/usr/bin/make -f
22
3# Explicitly selecting a G{CC,++}-version here to avoid accidental
4# ABI breaks introduced by toolchain updates.
5export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
6export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
7
3LDFLAGS += -Wl,-z,defs -Wl,--as-needed8LDFLAGS += -Wl,-z,defs -Wl,--as-needed
49
5%:10%:

Subscribers

People subscribed via source and target branches