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

Issue 1565983002: Add librt to default libs on linux (Closed)

Created:
4 years, 11 months ago by spang
Modified:
4 years, 11 months ago
Reviewers:
Lei Zhang, brettw, xhwang
CC:
chromium-reviews, piman+watch_chromium.org, eme-reviews_chromium.org, rickyz+watch_chromium.org, jln+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add librt to default libs on linux It's needed by clock_gettime() on glibc < 2.17, and that function is called in various places in the codebase. This library is part of glibc, so just put in the default toolchain libs so we get it everywhere. It fixes the following build error: gn gen out_gn_ozone --args='use_ozone=true toolkit_views=false is_component_build=true' ninja -C out_gn_ozone content_shell ../ui/gl/sync_control_vsync_provider.cc:70: error: undefined reference to 'clock_gettime' ../ui/gl/sync_control_vsync_provider.cc:71: error: undefined reference to 'clock_gettime' Committed: https://crrev.com/651aab406b2684042fcb0d87fe5f27a68bd8764b Cr-Commit-Position: refs/heads/master@{#368383}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -14 lines) Patch
M base/third_party/libevent/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M build/config/BUILD.gn View 1 chunk +4 lines, -1 line 0 comments Download
M device/BUILD.gn View 1 chunk +0 lines, -4 lines 0 comments Download
M gpu/khronos_glcts_support/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M sandbox/linux/BUILD.gn View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/widevine/cdm/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 23 (9 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565983002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565983002/1
4 years, 11 months ago (2016-01-06 22:03:06 UTC) #2
spang
4 years, 11 months ago (2016-01-06 22:48:29 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-06 23:00:51 UTC) #6
brettw
+Lei: do you think everything should depend in "rt" on Linux, or should we fix ...
4 years, 11 months ago (2016-01-07 19:03:20 UTC) #8
spang
On 2016/01/07 19:03:20, brettw wrote: > +Lei: do you think everything should depend in "rt" ...
4 years, 11 months ago (2016-01-07 22:29:18 UTC) #9
Lei Zhang
On 2016/01/07 19:03:20, brettw wrote: > +Lei: do you think everything should depend in "rt" ...
4 years, 11 months ago (2016-01-07 22:30:08 UTC) #10
brettw
okay, lgtm then.
4 years, 11 months ago (2016-01-07 22:48:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565983002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565983002/1
4 years, 11 months ago (2016-01-08 01:33:11 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/133561)
4 years, 11 months ago (2016-01-08 01:43:29 UTC) #15
spang
+xhwang@chromium.org for widevine
4 years, 11 months ago (2016-01-08 18:26:09 UTC) #17
xhwang
lgtm
4 years, 11 months ago (2016-01-08 18:34:23 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1565983002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1565983002/1
4 years, 11 months ago (2016-01-08 18:36:13 UTC) #20
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-08 18:43:18 UTC) #21
commit-bot: I haz the power
4 years, 11 months ago (2016-01-08 18:44:04 UTC) #23
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/651aab406b2684042fcb0d87fe5f27a68bd8764b
Cr-Commit-Position: refs/heads/master@{#368383}

Powered by Google App Engine
This is Rietveld 408576698