Commit Graph

31 Commits

Author SHA1 Message Date
Martin Jansa
285b7cd79f .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-24 08:45:44 -08:00
Khem Raj
817ef78198 breakpad: Fix build with gcc13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-29 21:09:39 -08:00
Thomas Perrot
b8bb7dc157 breakpad: fix branch for gtest in SRC_URI
The commit 4fe018038f87 is in the main branch, so the do_fetch task failed.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-09 09:27:02 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Khem Raj
42e2ec56c7 breakpad: Fix type mismatch for SIGSTKSZ
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11 11:16:03 -07:00
Khem Raj
249fccc2d5 breakpad: Do not fallback to android implementation for getcontext/setcontext on musl
with musl, it tried to use local implementation which is geared towards
android and does not compile with musl/linux

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-15 11:48:21 -07:00
Khem Raj
393689d924 breakpad: Exclude for ppc64
It does not build, errors out like
../git/src/client/linux/dump_writer_common/raw_context_cpu.h:48:2: error: #error "This code has not been ported to your platform yet."

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-14 00:00:20 -08:00
Khem Raj
874bdec053 breakpad: Upgrade to latest
License-Update: added APSL 2.0 and BSD-3-Clause and libunwind license

Forward patches as needed and drop patches applied upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-14 00:00:16 -08:00
Khem Raj
74a3ff28f5 breakpad: Disable build on riscv
Unsupported arch as of now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-25 08:32:41 -07:00
Khem Raj
28cbc85732 breakpad: Update to latest upstream
Drop upstreamed patch
Adjust syscalls for mips64
Drop fpregset_t/mcontext alternatives for musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-15 21:08:54 -08:00
Khem Raj
ebe908a21a breakpad: Update dont-clobber-rsp patch to latest
This is based on upstream submission

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-11 16:01:49 -07:00
Chris Laplante
3ac60b4903 breakpad: fix patch striplevel to avoid 'devtool modify breakpad' error
Since the patch is modifying files in a self-contained git repo that is
.gitignored, git ends up thinking we have just touched a submodule.

This leads to 'devtool modify breakpad' failing with:

    Exception: bb.process.ExecutionError: Execution of 'git add .; git -c
    user.name="OpenEmbedded" -c user.email="oe.patch@oe" commit -a -m
    "Committing changes from do_patch

    %% ignore - from do_patch"' failed with exit code 1:
    On branch devtool
    Changes not staged for commit:
            modified:   src/third_party/lss (modified content)

            no changes added to commit

            ERROR: Function failed: patch_task_postfunc

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-28 07:14:35 -07:00
Khem Raj
3a0a0024bf breakpad: Drop SRCPV from PV
This causes errors like
OSError: [Errno 36] File name too long:

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-04 10:11:36 -08:00
Khem Raj
bf5cc7e1ff breakpad: Fix build with gcc9 on x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23 13:29:20 -08:00
Khem Raj
d596859cdf breakpad: Update to latest
- Drop upstreamed ucontext_t patch
- basename is now available in musl
- Pin ARM-only ISA on armv5 and older arches
- Use COMPATIBLE_HOST instead of COMPATIBLE_MACHINE
- memory.h has been renamed to memory_allocator.h in latest breakpad

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-23 13:29:20 -08:00
Khem Raj
6718a9cc2d breakpad: Pass correct type name to sizeof()
memset is clearing memory area address starting at contect.context but
it needs the correct size of type 'ucontext_t', currently its getting
size of 'ucontext_t*'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andre McCurdy <armccurdy@gmail.com>
2018-09-09 10:56:28 -07:00
Maxin John
7a6f6434e7 breakpad: remove unused patch
Remove the following unused patch:
        0005-Import-necessary-definitions-from-stab.h.patch

Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-16 19:14:24 -07:00
Andre McCurdy
46bfecb776 breakpad: disable calls to getcontext() with musl
Musl does not currently provide getcontext().

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-11 11:48:12 -08:00
Andre McCurdy
1ca33a5677 breakpad: fix typo ( minidump_cpu_arm.h -> minidump_cpu_arm64.h )
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-04 14:53:36 +00:00
Khem Raj
4b6a4e91d0 breakpad: Fix build with musl/mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-10-02 12:34:40 +00:00
Khem Raj
19de9be982 breakpad: Fix mips build on musl
There still are issues but this makes it better
and fix can be upstreamed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:46 +00:00
Khem Raj
cfa3f07088 breakpad: Upgrade to latest master
Fix build with musl while here

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-22 22:50:41 +00:00
Khem Raj
52919077a3 breakpad: Upgrade to latest and fix use of ucontext_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:27 +02:00
Khem Raj
8c720146b7 breakpad: Upgrade to latest
* Switch to using git
* Gets aarch64 support
* Define PV and use SRCPV
* increment PE to 1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-12-02 09:16:18 +01:00
Armin Kuster
7151a9d71f breakpad: disable ppc from being built.
../trunk/src/client/linux/dump_writer_common/raw_context_cpu.h:48:2: error: #error "This code has not been ported to your platform yet."
 |  #error "This code has not been ported to your platform yet."

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:31:59 +02:00
Martin Jansa
e836f8f936 gegl, crash, libsecret, mpg123, tinymembench, gammu, mosh, llvm3.3, breakpad, php, mozjs, libopus: disable thumb where it fails for qemuarm
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-16 21:09:05 +02:00
Khem Raj
0c48853eb4 breakpad: Install missing headers
We have compile failures due these headers missing from sysroot
and other breakpad headers referring to them. So when some package
wants to link with breakpad ends up in build errors.

Change-Id: I61161e33dfb1ea6383e421e7bd2cb96bb9b06688
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:47 +02:00
Khem Raj
82a3434bc2 breakpad: Upgrade to r1435
Fixes parallel build issue with breakpad-native  amongst other updates

Change-Id: Icc26234ccb4ba77543e8dca52b27ceaeb2f77747
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-13 12:55:47 +02:00
Anders Darander
d90d73fdd9 breakpad: update to latest svn
The old license file, COPYING has been renamed to LICENSE. It has also been
appended with the the disclaimer from src/common/convert_UTF.h (see r1285).

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:45:03 +02:00
Anders Darander
a4657e4395 breakpad: add initial recipe
Breakpad is an open-source multi-platform crash reporting system.

Apart from the breakpad recipe, add a bbclass for applications that want
to use this library. This bbclass will set up the include path and also
generate the symbol file.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-10-21 12:15:03 +02:00