|
|
DescriptionCheck if RTLD_DEEPBIND is defined before using it.
uClibc does not support RTLD_DEEPBIND, and thus it is not defined in
dlfcn.h. Check if this flag is defined before using it in
native_library_posix.cc to support uClibc-based builds.
BUG= internal b/31575857
Committed: https://crrev.com/76e9f56c7be25a6c5f16548be2e475734858f6d0
Cr-Commit-Position: refs/heads/master@{#422491}
Patch Set 1 #Patch Set 2 : . #Messages
Total messages: 20 (8 generated)
slan@chromium.org changed reviewers: + rockot@chromium.org
Hey Ken, this is needed for an internal Cast bot which uses uClibc on MIPS. PTAL!
slan@chromium.org changed reviewers: + thakis@chromium.org
+Nico for OWNERS
I'll defer to rockot who added this. I don't know if it's better to crash if this is set and we can't honor it, like we do on android.
On 2016/09/19 at 15:17:18, thakis wrote: > I'll defer to rockot who added this. I don't know if it's better to crash if this is set and we can't honor it, like we do on android. Yeah, how about changing defined(OS_ANDROID) to defined(OS_ANDROID) || !defined(RTLD_DEEPBIND) and making a note in the comment that some platforms don't define it.
On 2016/09/19 17:38:30, Ken Rockot wrote: > On 2016/09/19 at 15:17:18, thakis wrote: > > I'll defer to rockot who added this. I don't know if it's better to crash if > this is set and we can't honor it, like we do on android. > > Yeah, how about changing defined(OS_ANDROID) to defined(OS_ANDROID) || > !defined(RTLD_DEEPBIND) and making a note in the comment that some platforms > don't define it. Done in PS2. PTAL!
LGTM, thanks!
The CQ bit was checked by slan@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...)
lgtm too
The CQ bit was checked by thakis@chromium.org
The CQ bit was unchecked by slan@chromium.org
The CQ bit was checked by slan@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Check if RTLD_DEEPBIND is defined before using it. uClibc does not support RTLD_DEEPBIND, and thus it is not defined in dlfcn.h. Check if this flag is defined before using it in native_library_posix.cc to support uClibc-based builds. BUG= internal b/31575857 ========== to ========== Check if RTLD_DEEPBIND is defined before using it. uClibc does not support RTLD_DEEPBIND, and thus it is not defined in dlfcn.h. Check if this flag is defined before using it in native_library_posix.cc to support uClibc-based builds. BUG= internal b/31575857 Committed: https://crrev.com/76e9f56c7be25a6c5f16548be2e475734858f6d0 Cr-Commit-Position: refs/heads/master@{#422491} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/76e9f56c7be25a6c5f16548be2e475734858f6d0 Cr-Commit-Position: refs/heads/master@{#422491} |