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

Issue 228753003: don't use glibc-specific execinfo.h on uclibc builds (Closed)

Created:
6 years, 8 months ago by Mostyn Bramley-Moore
Modified:
6 years, 6 months ago
Reviewers:
Mark Mentovai, earthdok
CC:
chromium-reviews, erikwright+watch_chromium.org
Visibility:
Public.

Description

don't use glibc-specific execinfo.h on uclibc builds The execinfo.h header is glibc-specific, as is the backtrace function. Let's skip them for uclibc builds. BUG=361130 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262841

Patch Set 1 #

Patch Set 2 : fixup: don't add new __GLIBCXX__ checks #

Total comments: 2

Patch Set 3 : fix nit #

Total comments: 2

Patch Set 4 : move execinfo.h down #

Total comments: 2

Patch Set 5 : move execinfo.h again #

Patch Set 6 : rebase on master #

Patch Set 7 : rebase on master again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M base/debug/stack_trace.h View 1 chunk +2 lines, -0 lines 0 comments Download
M base/debug/stack_trace.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M base/debug/stack_trace_posix.cc View 1 2 3 4 8 chunks +14 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Mostyn Bramley-Moore
@mark, earthdok: here's another attempt at CL 226623008. The first patchset is the original patch, ...
6 years, 8 months ago (2014-04-08 15:20:41 UTC) #1
earthdok
lgtm with nit https://codereview.chromium.org/228753003/diff/2/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/228753003/diff/2/base/debug/stack_trace_posix.cc#newcode751 base/debug/stack_trace_posix.cc:751: #endif #else count_ = 0; #endif
6 years, 8 months ago (2014-04-08 15:28:30 UTC) #2
Mostyn Bramley-Moore
https://codereview.chromium.org/228753003/diff/2/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/228753003/diff/2/base/debug/stack_trace_posix.cc#newcode751 base/debug/stack_trace_posix.cc:751: #endif On 2014/04/08 15:28:30, earthdok wrote: > #else > ...
6 years, 8 months ago (2014-04-08 15:40:46 UTC) #3
earthdok
On 2014/04/08 15:20:41, Mostyn Bramley-Moore wrote: > Is there trybot config I can use to ...
6 years, 8 months ago (2014-04-08 15:47:44 UTC) #4
Mark Mentovai
LGTM otherwise https://codereview.chromium.org/228753003/diff/30001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/228753003/diff/30001/base/debug/stack_trace_posix.cc#newcode9 base/debug/stack_trace_posix.cc:9: #if !defined(__UCLIBC__) Why is this still up ...
6 years, 8 months ago (2014-04-08 15:56:27 UTC) #5
Mostyn Bramley-Moore
https://codereview.chromium.org/228753003/diff/30001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/228753003/diff/30001/base/debug/stack_trace_posix.cc#newcode9 base/debug/stack_trace_posix.cc:9: #if !defined(__UCLIBC__) On 2014/04/08 15:56:28, Mark Mentovai wrote: > ...
6 years, 8 months ago (2014-04-08 16:16:38 UTC) #6
Mark Mentovai
https://codereview.chromium.org/228753003/diff/50001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/228753003/diff/50001/base/debug/stack_trace_posix.cc#newcode24 base/debug/stack_trace_posix.cc:24: #include <execinfo.h> Well, you could #if defined(__GLIBCXX__) #include <cxxabi.h> ...
6 years, 8 months ago (2014-04-08 16:23:32 UTC) #7
Mostyn Bramley-Moore
https://codereview.chromium.org/228753003/diff/50001/base/debug/stack_trace_posix.cc File base/debug/stack_trace_posix.cc (right): https://codereview.chromium.org/228753003/diff/50001/base/debug/stack_trace_posix.cc#newcode24 base/debug/stack_trace_posix.cc:24: #include <execinfo.h> On 2014/04/08 16:23:32, Mark Mentovai wrote: > ...
6 years, 8 months ago (2014-04-08 17:11:50 UTC) #8
Mark Mentovai
LGTM
6 years, 8 months ago (2014-04-08 18:50:33 UTC) #9
Mostyn Bramley-Moore
The CQ bit was checked by mostynb@opera.com
6 years, 8 months ago (2014-04-09 18:49:21 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mostynb@opera.com/228753003/100001
6 years, 8 months ago (2014-04-09 18:49:23 UTC) #11
commit-bot: I haz the power
Change committed as 262841
6 years, 8 months ago (2014-04-09 22:29:42 UTC) #12
bedupontcisco_gmail.com
On 2014/04/09 18:49:21, Mostyn Bramley-Moore wrote: > The CQ bit was checked by mailto:mostynb@opera.com I ...
6 years, 6 months ago (2014-06-16 08:41:48 UTC) #13
Mostyn Bramley-Moore
6 years, 6 months ago (2014-06-25 21:28:38 UTC) #14
Message was sent while issue was closed.
On 2014/06/16 08:41:48, Benjamin Dupont wrote:
> I apologize if this isn't the good place to raise my issue (may be it's better
> to create a new bug entry or something else).

Sorry I didn't respond earlier.  Here's a possible fix:
https://codereview.chromium.org/354873002/

Powered by Google App Engine
This is Rietveld 408576698