|
|
Description[Chromecast] Don't use static c++ libraries for clang builds
BUG=internal b/25696204
TEST=Build and run netflix on device
Review-Url: https://codereview.chromium.org/2726013002
Cr-Commit-Position: refs/heads/master@{#455193}
Committed: https://chromium.googlesource.com/chromium/src/+/e03d6f332a76e587d802634757c3e9e74778d5aa
Patch Set 1 #
Total comments: 4
Messages
Total messages: 36 (18 generated)
Description was changed from ========== [Chromecast] Don't use static c++ libraries for clang builds BUG=internal b/25696204 TEST=Build and run netflix on device ========== to ========== [Chromecast] Don't use static c++ libraries for clang builds BUG=internal b/25696204 TEST=Build and run netflix on device ==========
bcf@chromium.org changed reviewers: + mbjorge@chromium.org, slan@chromium.org, wzhong@chromium.org
https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... File build/config/chromecast/BUILD.gn (right): https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... build/config/chromecast/BUILD.gn:14: "-Wl,--exclude-libs=libffmpeg.a", This shouldn't be necessary since we're not using "-Wl,--export-dynamic" anymore.
lgtm https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... File build/config/chromecast/BUILD.gn (right): https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... build/config/chromecast/BUILD.gn:14: "-Wl,--exclude-libs=libffmpeg.a", On 2017/03/01 23:59:20, bcf wrote: > This shouldn't be necessary since we're not using "-Wl,--export-dynamic" > anymore. Not really. I believe in this case, without this, symbols will be visibility and merged at runtime. We don't want them to merge.
On 2017/03/02 00:12:40, wzhong wrote: > lgtm > > https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... > File build/config/chromecast/BUILD.gn (right): > > https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... > build/config/chromecast/BUILD.gn:14: "-Wl,--exclude-libs=libffmpeg.a", > On 2017/03/01 23:59:20, bcf wrote: > > This shouldn't be necessary since we're not using "-Wl,--export-dynamic" > > anymore. > > Not really. I believe in this case, without this, symbols will be visibility and > merged at runtime. We don't want them to merge. lgtm
mbjorge@chromium.org changed reviewers: + halliwell@chromium.org
lgtm
https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... File build/config/chromecast/BUILD.gn (right): https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... build/config/chromecast/BUILD.gn:14: "-Wl,--exclude-libs=libffmpeg.a", On 2017/03/02 00:12:40, wzhong wrote: > On 2017/03/01 23:59:20, bcf wrote: > > This shouldn't be necessary since we're not using "-Wl,--export-dynamic" > > anymore. > > Not really. I believe in this case, without this, symbols will be visibility and > merged at runtime. We don't want them to merge. So you're saying we still need this? I thought the original purpose cause of this was '-Wl,--export-dynamic' being added. This CL takes that away.
lgtm https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... File build/config/chromecast/BUILD.gn (right): https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... build/config/chromecast/BUILD.gn:14: "-Wl,--exclude-libs=libffmpeg.a", On 2017/03/02 02:59:26, bcf wrote: > On 2017/03/02 00:12:40, wzhong wrote: > > On 2017/03/01 23:59:20, bcf wrote: > > > This shouldn't be necessary since we're not using "-Wl,--export-dynamic" > > > anymore. > > > > Not really. I believe in this case, without this, symbols will be visibility > and > > merged at runtime. We don't want them to merge. > > So you're saying we still need this? > > I thought the original purpose cause of this was '-Wl,--export-dynamic' being > added. This CL takes that away. Probably you're right. The caveat is the symbols causing trouble here are written in assembly so please verify on Chirp to see if multiple instances of ffmpeg work.
lgtm
On 2017/03/02 15:53:49, wzhong wrote: > lgtm > > https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... > File build/config/chromecast/BUILD.gn (right): > > https://codereview.chromium.org/2726013002/diff/1/build/config/chromecast/BUI... > build/config/chromecast/BUILD.gn:14: "-Wl,--exclude-libs=libffmpeg.a", > On 2017/03/02 02:59:26, bcf wrote: > > On 2017/03/02 00:12:40, wzhong wrote: > > > On 2017/03/01 23:59:20, bcf wrote: > > > > This shouldn't be necessary since we're not using "-Wl,--export-dynamic" > > > > anymore. > > > > > > Not really. I believe in this case, without this, symbols will be visibility > > and > > > merged at runtime. We don't want them to merge. > > > > So you're saying we still need this? > > > > I thought the original purpose cause of this was '-Wl,--export-dynamic' being > > added. This CL takes that away. > > Probably you're right. > > The caveat is the symbols causing trouble here are written in assembly so please > verify on Chirp to see if multiple instances of ffmpeg work. Symbol list seems to look good.
The CQ bit was checked by bcf@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by bcf@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
bcf@chromium.org changed reviewers: + brettw@chromium.org, dpranke@google.com
On 2017/03/02 23:18:41, commit-bot: I haz the power wrote: > Try jobs failed on following builders: > chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, > http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) Ping for OWNERS.
dpranke@chromium.org changed reviewers: + dpranke@chromium.org
lgtm
The CQ bit was checked by bcf@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by bcf@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by bcf@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 1, "attempt_start_ts": 1488911899176400, "parent_rev": "1b26f93c8009b26acc32161860c6dd1aac3d9818", "commit_rev": "e03d6f332a76e587d802634757c3e9e74778d5aa"}
Message was sent while issue was closed.
Description was changed from ========== [Chromecast] Don't use static c++ libraries for clang builds BUG=internal b/25696204 TEST=Build and run netflix on device ========== to ========== [Chromecast] Don't use static c++ libraries for clang builds BUG=internal b/25696204 TEST=Build and run netflix on device Review-Url: https://codereview.chromium.org/2726013002 Cr-Commit-Position: refs/heads/master@{#455193} Committed: https://chromium.googlesource.com/chromium/src/+/e03d6f332a76e587d802634757c3... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/e03d6f332a76e587d802634757c3... |