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

Issue 2291783002: seccomp-bpf-helpers: Fix undefined reference (Closed)

Created:
4 years, 3 months ago by Eric Caruso
Modified:
4 years, 3 months ago
Reviewers:
sky, mdempsky
CC:
chromium-reviews, rickyz+watch_chromium.org, jln+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

seccomp-bpf-helpers: Fix undefined reference Compiling a debug build in the chromeos chroot fails because we can't link libseccomp_bpf_helpers.so. The failure occurs because both seccomp_bpf and seccomp_bpf_helpers use SANDBOX_EXPORT but are in different components and so the symbols are visible but undefined in some circumstances. BUG=None TEST=Build Committed: https://crrev.com/b7865805147f5c616f13adb38448022d12ac97d2 Cr-Commit-Position: refs/heads/master@{#415208}

Patch Set 1 #

Patch Set 2 : merge seccomp_bpf_helpers into seccomp_bpf #

Patch Set 3 : replicating changes in gyp files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -57 lines) Patch
M sandbox/linux/BUILD.gn View 1 3 chunks +9 lines, -29 lines 0 comments Download
M sandbox/linux/sandbox_linux.gypi View 1 2 3 chunks +8 lines, -26 lines 0 comments Download
M services/shell/runner/host/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M services/shell/shell.gyp View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 17 (8 generated)
Eric Caruso
PTAL, thanks.
4 years, 3 months ago (2016-08-29 19:42:32 UTC) #3
mdempsky
As discussed on IM, I think the real problem here is that we're using SANDBOX_EXPORT ...
4 years, 3 months ago (2016-08-29 20:15:50 UTC) #4
Eric Caruso
PTAL, thanks.
4 years, 3 months ago (2016-08-29 23:07:56 UTC) #7
mdempsky
LGTM Can you make the analogous changes to sandbox/linux/sandbox_linux.gypi and services/shell/shell.gyp too?
4 years, 3 months ago (2016-08-29 23:25:27 UTC) #8
sky
LGTM
4 years, 3 months ago (2016-08-29 23:58:06 UTC) #9
Eric Caruso
Now with gyp changes.
4 years, 3 months ago (2016-08-30 00:18:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2291783002/40001
4 years, 3 months ago (2016-08-30 02:13:07 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 3 months ago (2016-08-30 06:14:47 UTC) #15
commit-bot: I haz the power
4 years, 3 months ago (2016-08-30 06:17:33 UTC) #17
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b7865805147f5c616f13adb38448022d12ac97d2
Cr-Commit-Position: refs/heads/master@{#415208}

Powered by Google App Engine
This is Rietveld 408576698