Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Issue 1863523005: fix incorrect libstdc++ from GCC >= 5.1 check (Closed)

Created:
4 years, 8 months ago by Mostyn Bramley-Moore
Modified:
4 years, 8 months ago
Reviewers:
Nico, JF
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

fix incorrect libstdc++ from GCC >= 5.1 check Assume that libstdc++ from GCC >= 5.1 is being used only when compiling with GCC >= 5.1. This unbreaks GCC 4.8.5 and 4.9.3 builds after https://codereview.chromium.org/1837563002/ landed. Committed: https://crrev.com/5c8abdc1aa67ebcfa7f2ecbb41506c65fa2ccc36 Cr-Commit-Position: refs/heads/master@{#385416}

Patch Set 1 #

Total comments: 4

Patch Set 2 : check for gcc >= 5.1 directly #

Total comments: 2

Patch Set 3 : add back _LIBCPP_VERSION check #

Patch Set 4 : fix ios builds #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M base/bit_cast.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 37 (13 generated)
Mostyn Bramley-Moore
@JF, Nico: https://codereview.chromium.org/1837563002/ added an incorrect check for GCC 5.1. I have added a placeholder ...
4 years, 8 months ago (2016-04-05 22:13:48 UTC) #2
JF
https://codereview.chromium.org/1863523005/diff/1/base/bit_cast.h File base/bit_cast.h (right): https://codereview.chromium.org/1863523005/diff/1/base/bit_cast.h#newcode67 base/bit_cast.h:67: #if ((defined(__GLIBCXX__) && (__GLIBCXX__ >= 20151010ul)) || \ On ...
4 years, 8 months ago (2016-04-05 22:21:30 UTC) #3
Mostyn Bramley-Moore
https://codereview.chromium.org/1863523005/diff/1/base/bit_cast.h File base/bit_cast.h (right): https://codereview.chromium.org/1863523005/diff/1/base/bit_cast.h#newcode67 base/bit_cast.h:67: #if ((defined(__GLIBCXX__) && (__GLIBCXX__ >= 20151010ul)) || \ On ...
4 years, 8 months ago (2016-04-05 22:26:05 UTC) #4
JF
On 2016/04/05 22:26:05, Mostyn Bramley-Moore wrote: > https://codereview.chromium.org/1863523005/diff/1/base/bit_cast.h > File base/bit_cast.h (right): > > https://codereview.chromium.org/1863523005/diff/1/base/bit_cast.h#newcode67 ...
4 years, 8 months ago (2016-04-05 22:38:03 UTC) #5
Mostyn Bramley-Moore
> > gcc/DATESTAMP in the GCC 4.8.5 tarball is 20150623, larger than the value from ...
4 years, 8 months ago (2016-04-05 22:43:02 UTC) #6
JF
On 2016/04/05 22:43:02, Mostyn Bramley-Moore wrote: > > > gcc/DATESTAMP in the GCC 4.8.5 tarball ...
4 years, 8 months ago (2016-04-05 22:48:34 UTC) #8
Mostyn Bramley-Moore
On 2016/04/05 22:48:34, JF wrote: > That sounds good to me, and indeed more precise. ...
4 years, 8 months ago (2016-04-05 22:57:02 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863523005/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863523005/20001
4 years, 8 months ago (2016-04-05 22:57:32 UTC) #11
JF
Great, lgtm and sorry for the breakage! You'll need Nico to sign off on base ...
4 years, 8 months ago (2016-04-05 23:06:01 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-06 00:28:05 UTC) #14
michaelpg
On 2016/04/05 23:06:01, JF wrote: > Great, lgtm and sorry for the breakage! You'll need ...
4 years, 8 months ago (2016-04-06 00:28:18 UTC) #15
Nico
lgtm to unbreak your build, but the change is wrong as far as i can ...
4 years, 8 months ago (2016-04-06 00:39:41 UTC) #16
Alexander Alekseev
On 2016/04/06 00:39:41, Nico (hiding until Fri) wrote: > lgtm to unbreak your build, but ...
4 years, 8 months ago (2016-04-06 03:56:39 UTC) #17
Alexander Alekseev
On 2016/04/06 03:56:39, Alexander Alekseev wrote: > On 2016/04/06 00:39:41, Nico (hiding until Fri) wrote: ...
4 years, 8 months ago (2016-04-06 03:58:18 UTC) #18
JF
On 2016/04/06 00:39:41, Nico (hiding until Fri) wrote: > lgtm to unbreak your build, but ...
4 years, 8 months ago (2016-04-06 05:20:37 UTC) #19
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863523005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863523005/40001
4 years, 8 months ago (2016-04-06 07:40:01 UTC) #21
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/196638)
4 years, 8 months ago (2016-04-06 07:44:10 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863523005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863523005/60001
4 years, 8 months ago (2016-04-06 07:47:59 UTC) #26
Mostyn Bramley-Moore
The only way that I can see to reliably check the libstdc++ version is to ...
4 years, 8 months ago (2016-04-06 07:54:23 UTC) #27
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-06 09:17:06 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863523005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863523005/60001
4 years, 8 months ago (2016-04-06 09:18:51 UTC) #32
Mostyn Bramley-Moore
Queued this, I hope it helps. @Alexander: what is your toolchain/configuration?
4 years, 8 months ago (2016-04-06 09:19:36 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-06 09:24:02 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-06 09:25:40 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5c8abdc1aa67ebcfa7f2ecbb41506c65fa2ccc36
Cr-Commit-Position: refs/heads/master@{#385416}

Powered by Google App Engine
This is Rietveld 408576698