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

Issue 1645673002: only build dump_syms_mac for x86 hosts (Closed)

Created:
4 years, 10 months ago by vapier
Modified:
4 years, 10 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

only build dump_syms_mac for x86 hosts The dump_syms_mac tool only works for the system it is being built for (it doesn't support running on ELFs for a diff target), and it builds only for x86 currently. If you look at the mac header: src/third_party/mac_headers/mach/machine/vm_types.h it will #error for non x86/arm systems, and the arm header is not in our source tree. Tweak the build so it's only compiled when targetting x86 systems. BUG=chromium:579384 TEST=`make check` pass R=ted.mielczarek@gmail.com Committed: https://chromium.googlesource.com/breakpad/breakpad/+/855ea963fb89b7ea89672db18304f81e65c1d6cd

Patch Set 1 #

Patch Set 2 : regen configure #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -27 lines) Patch
M Makefile.am View 1 chunk +4 lines, -1 line 0 comments Download
M Makefile.in View 8 chunks +29 lines, -26 lines 0 comments Download
M configure View 1 3 chunks +21 lines, -0 lines 0 comments Download
M configure.ac View 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
vapier
4 years, 10 months ago (2016-01-27 18:33:43 UTC) #2
vapier
To clarify, all non-x86 builds are currently broken: armv7a-unknown-linux-gnueabi-g++ -DHAVE_CONFIG_H -I. -I../../src -I./src -I../../src/src -I../../src/src/third_party/mac_headers ...
4 years, 10 months ago (2016-01-27 18:34:50 UTC) #3
Mark Mentovai
That’s kind of a silly restriction. Since Ted wanted this cross-OS tool, I’ll let him ...
4 years, 10 months ago (2016-01-27 18:38:09 UTC) #4
vapier
i agree it's a bit silly, the code doesn't work as-is, and all non-x86 targets ...
4 years, 10 months ago (2016-01-27 18:57:07 UTC) #5
Ted Mielczarek
On 2016/01/27 18:38:09, Mark Mentovai wrote: > That’s kind of a silly restriction. Since Ted ...
4 years, 10 months ago (2016-01-27 20:39:12 UTC) #6
Ted Mielczarek
That is to say, LGTM.
4 years, 10 months ago (2016-01-27 20:39:22 UTC) #7
vapier
no worries. it's hard to fault anyone for checking in code that breaks other configs ...
4 years, 10 months ago (2016-01-27 21:44:52 UTC) #8
vapier
Committed patchset #2 (id:20001) manually as 855ea963fb89b7ea89672db18304f81e65c1d6cd (presubmit successful).
4 years, 10 months ago (2016-01-27 21:45:25 UTC) #10
Ted Mielczarek
4 years, 10 months ago (2016-01-27 22:40:40 UTC) #11
Message was sent while issue was closed.
On 2016/01/27 21:44:52, vapier wrote:
> no worries.  it's hard to fault anyone for checking in code that breaks other
> configs when we don't have any bots.  we have just too many supported systems,
> and haven't found cycles to put together real infra for the project :(.

I wanted to try to set something up with Travis CI but you can't push a stock
Breakpad clone to GitHub because of that 100MB file in history. :-/

Powered by Google App Engine
This is Rietveld 408576698