--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev--
Thank you,
Denis
[cc chromium-os-dev in case other developers have run into this]On Wed, Jan 16, 2013 at 2:51 PM, Mark Seaborn <msea...@chromium.org> wrote:
Breakpad (the crash reporter) is now compiled into Chromium by default on Linux, though it's not enabled at run time by default, and this doesn't require compiling with "-g".
The motivation is to allow Chrome's Breakpad support to be tested on the buildbots (see http://crbug.com/105778).
This brings the Linux build into line with the Mac and Windows builds, where Breakpad support has been compiled in by default for a while.
You can still omit Breakpad support by passing linux_breakpad=0 to Gyp. I expect distros will want to do that. One caveat here is that there's an unfortunately large number of "#ifdef USE_LINUX_BREAKPAD"s in the code, so the linux_breakpad=0 case might bitrot.
I think that this might break the "daisy" (ARM-based) platform on Chrome OS. I haven't dug into it much, but in recent builds I get many errors about redefined functions, starting with the following:
And what about ChromeOS? Do you still need -g there?
--
To bring this thread back since I just broke this yesterday. In my case, one engineer used to happen to build without USE_LINUX_BREAKPAD and he fixed it.Why do we need USE_LINUX_BREAKPAD anymore? Distros don't have to enable this at runtime. If we don't have any builders for this, then it will bitrot and it's not clear to me why we should maintain building chrome without breakpad.
On Wed, Jan 23, 2013 at 11:56 AM, Mark Seaborn <msea...@chromium.org> wrote:
On 23 January 2013 10:06, Denis Glotov <glo...@chromium.org> wrote:
And what about ChromeOS? Do you still need -g there?
I'm not sure what you're asking. "-g" is only needed if you want to be able to decode Breakpad's crash dumps to get backtraces with symbols and line numbers. Passing linux_dump_symbols=1 to Gyp enables "-g", and official Chrome builds enable linux_dump_symbols=1. AFAICT, this isn't different for ChromeOS/ChromiumOS.
Mark
On Thu, Jan 17, 2013 at 2:51 AM, Mark Seaborn <msea...@chromium.org> wrote:
Breakpad (the crash reporter) is now compiled into Chromium by default on Linux, though it's not enabled at run time by default, and this doesn't require compiling with "-g".
The motivation is to allow Chrome's Breakpad support to be tested on the buildbots (see http://crbug.com/105778).
This brings the Linux build into line with the Mac and Windows builds, where Breakpad support has been compiled in by default for a while.
You can still omit Breakpad support by passing linux_breakpad=0 to Gyp. I expect distros will want to do that. One caveat here is that there's an unfortunately large number of "#ifdef USE_LINUX_BREAKPAD"s in the code, so the linux_breakpad=0 case might bitrot.
Cheers,
Mark--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
On Thu, Jul 11, 2013 at 1:35 PM, John Abd-El-Malek <j...@chromium.org> wrote:
To bring this thread back since I just broke this yesterday. In my case, one engineer used to happen to build without USE_LINUX_BREAKPAD and he fixed it.Why do we need USE_LINUX_BREAKPAD anymore? Distros don't have to enable this at runtime. If we don't have any builders for this, then it will bitrot and it's not clear to me why we should maintain building chrome without breakpad.
We build without Breakpad on Android for non-official builds. This is useful during development because the system generates stack traces in the log and tombstone files that are very useful to analyze failures on the spot (i.e. tombstones get more info than Breakpad minidumps, and there are more tools to process them).
Cheers,
Mark
On Thu, Jul 11, 2013 at 1:35 PM, John Abd-El-Malek <j...@chromium.org> wrote:
To bring this thread back since I just broke this yesterday. In my case, one engineer used to happen to build without USE_LINUX_BREAKPAD and he fixed it.Why do we need USE_LINUX_BREAKPAD anymore? Distros don't have to enable this at runtime. If we don't have any builders for this, then it will bitrot and it's not clear to me why we should maintain building chrome without breakpad.We build without Breakpad on Android for non-official builds. This is useful during development because the system generates stack traces in the log and tombstone files that are very useful to analyze failures on the spot (i.e. tombstones get more info than Breakpad minidumps, and there are more tools to process them).
On Thu, Jul 11, 2013 at 2:57 PM, David Turner <di...@chromium.org> wrote:
On Thu, Jul 11, 2013 at 1:35 PM, John Abd-El-Malek <j...@chromium.org> wrote:
To bring this thread back since I just broke this yesterday. In my case, one engineer used to happen to build without USE_LINUX_BREAKPAD and he fixed it.Why do we need USE_LINUX_BREAKPAD anymore? Distros don't have to enable this at runtime. If we don't have any builders for this, then it will bitrot and it's not clear to me why we should maintain building chrome without breakpad.We build without Breakpad on Android for non-official builds. This is useful during development because the system generates stack traces in the log and tombstone files that are very useful to analyze failures on the spot (i.e. tombstones get more info than Breakpad minidumps, and there are more tools to process them).I fixed this long ago so that breakpad re-installs the previous signal handler after doing its stuff. That is, we now get both a minidump and a tombstone.
Why do we need USE_LINUX_BREAKPAD anymore?
I know I am one day late, but I did not see this discussion and the change yesterday.Ergo, this change has just broken the MIPS port.It breaks the build, since Breakpad does not have support for MIPS (yet).Now, the good part is that patches for breakpad are ready and can be upstreamed shortly.However, MIPS is broken as we speak and whoever tries to build it will see it broken, so I wish you had delayed this change until breakpad patches for MIPS are reviewed and submitted.Knowing the change is already in, any advice how to handle this now until the breakpad patches get committed?
I know I am one day late, but I did not see this discussion and the change yesterday.Ergo, this change has just broken the MIPS port.It breaks the build, since Breakpad does not have support for MIPS (yet).Now, the good part is that patches for breakpad are ready and can be upstreamed shortly.However, MIPS is broken as we speak and whoever tries to build it will see it broken, so I wish you had delayed this change until breakpad patches for MIPS are reviewed and submitted.Knowing the change is already in, any advice how to handle this now until the breakpad patches get committed?
Cheers,Mark
On 16 July 2013 17:46, John Abd-El-Malek <j...@chromium.org> wrote:
On Tue, Jul 16, 2013 at 5:34 PM, Mark Seaborn <msea...@chromium.org> wrote:
On 16 July 2013 16:30, Petar Jovanovic <pet...@mips.com> wrote:
I know I am one day late, but I did not see this discussion and the change yesterday.Ergo, this change has just broken the MIPS port.It breaks the build, since Breakpad does not have support for MIPS (yet).Now, the good part is that patches for breakpad are ready and can be upstreamed shortly.However, MIPS is broken as we speak and whoever tries to build it will see it broken, so I wish you had delayed this change until breakpad patches for MIPS are reviewed and submitted.Knowing the change is already in, any advice how to handle this now until the breakpad patches get committed?Have a look at how the Mac OS X build allows Breakpad support to be omitted. It has:
chrome/app/breakpad_mac.mm
chrome/app/breakpad_mac_stubs.mm
I suspect you can add a similarly trivial breakpad_linux_stubs.cc which defines no-op versions of the functions declared in breakpad_linux.h. This would be a cleaner way of making Breakpad support optional than the USE_LINUX_BREAKPAD ifdefs that used to be spinkled across the codebase (which were removed in https://src.chromium.org/viewvc/chrome?view=rev&revision=211755).
I hope you don't mean checking this in to the chromium repo? We should avoid stub files that are used in this manner; this has come up before especially in the context of porting, ios builds etc.
Well, it's not my decision because I'm (thankfully!) not an OWNER of chrome/app/breakpad_linux.cc. There is precedent for having a breakpad_linux_stubs.cc since there's already a breakpad_mac_stubs.mm, so it would at least be consistent.
https://breakpad.appspot.com/614002/
Thanks.
Regards,
Petar