summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunwind
Commit message (Collapse)AuthorAgeFilesLines
* libunwind: backport aarch64_be supportRuslan Bilovol2016-06-293-0/+69
| | | | | | | | | | | | | | | Backport 2 patches from v1.2-rc1 tag of libunwind git repo. These patches add aarch64_be support to this package. (From OE-Core rev: 396353c3127b20244c4c5cc321adad7d4e48f544) (From OE-Core rev: e4761a4e62f44847343f939577009b425816b753) Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: Fix build on mips/mips64 for musl targetsKhem Raj2016-03-282-0/+91
| | | | | | | (From OE-Core rev: c1847278dbfc3424790f7256be2b35bcdbaaf018) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: Fix build with fstack-protector on muslKhem Raj2016-03-254-11/+99
| | | | | | | | | | | | | | | | | | | | | libunwind makery inserts -nostdlib during linking which fails the build on musl when security flags are enabled since it remove ssp from linking, so add them explicitly to SECURITY_LDFLAGS disable tests for musl targets, tests use obsolete posix APIs e.g. getcontext patchout x86_local_resume() on x86, gets a working linunwind on x86, it seems that it wont work even in glibc case but lets leave it as it is for glibc and apply the patch only for musl (From OE-Core rev: c8ac9d483f6e1cfca82dad8cf3e0745935e96214) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: Fix build on ppcKhem Raj2016-02-161-2/+2
| | | | | | | | | | | | | | gcc driver is fixed to pass correct options to linker to do secure plt linking when enabled. however this option --secure-plt is not supported by gold linker which is now passed by default from gcc driver. Hence the build fails when using gold. Therefore when we use gold then we do not use secure plt (From OE-Core rev: 1fcb1b91fae0646baf243d686fc6a52b97a53005) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: backtrace APIs are glibc specificKhem Raj2016-01-242-0/+46
| | | | | | | | | | Make backtrace() API's use conditional on glibc this helps make libunwind compile on musl (From OE-Core rev: acffe22de65fad2f69c702e4fe94b366883a265b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* guile, mailx, gcc, opensp, gstreamer1.0-libav, libunwind: disable thumb ↵Martin Jansa2015-12-011-0/+4
| | | | | | | | | | where it fails for qemuarm (From OE-Core rev: 981626d8cee345d27b7c9d96e941fd6622f47792) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: fix build for qemuarmMartin Jansa2015-11-252-0/+63
| | | | | | | | (From OE-Core rev: 9c370e54101c2de13cbabefb38eaa6cf584f348c) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: add SUMMARYPaul Eggleton2015-11-161-0/+1
| | | | | | | | (From OE-Core rev: 55420b6267690bb3f2515d2b4030a360455b561c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: Security Advisory - libunwind - CVE-2015-3239Li Zhou2015-09-042-0/+30
| | | | | | | | | | | | | | libunwind: Invalid dwarf opcodes can cause references beyond the end of the array Off-by-one error in the dwarf_to_unw_regnum function in include/dwarf_i.h in libunwind 1.1 allows local users to have unspecified impact via invalid dwarf opcodes. (From OE-Core rev: 9c4e7f5c009b076b0bc638a02fcf3d96c362e7eb) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libatomic-ops: move to recipes-support, fix recipe nameChristopher Larson2015-08-301-1/+1
| | | | | | | | | | | | | | - This recipe is useful for more than just pulseaudio, so move it to recipes-support. - Rename to the correct upstream name, which corresponds to the library name. Keep a PROVIDES of libatomics-ops for compatibility. (From OE-Core rev: 5014de67fa6da1672626e3ec92fc51430fca3262) (From OE-Core rev: 5a14d4f981c2c12c274fade518d23706dca5889b) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: always depend on libatomics-opsChristopher Larson2015-08-301-10/+1
| | | | | | | | | | | | | | | | | - Depend on libatomics-ops unconditionally for all archs, as it's used by more than just arm, and currently the configure script auto-detects and enables its use based on the existence of its header, resulting in non-deterministic builds. - Drop the ldflags bits which link against libatomic_ops, because libunwind doesn't actually link against it, nor does it need to, as it currently uses all inline functions from the header file. (From OE-Core rev: 83bb89502e2f05b8b78b14532ad96abc400ab264) (From OE-Core rev: e43a47eb695050d04809ff54af14066acba6ec27) Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: don't use gold for mipsRobert Yang2015-04-281-1/+8
| | | | | | | | | | | | The gold doesn't work for mips or mips64: configure:3867: checking whether the C compiler works configure:3889: mips-poky-linux-gcc -meb -mabi=32 -mhard-float -march=mips32r2 --sysroot=/buildarea/lyang1/test_uni/tmp/sysroots/qemumips -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--as-needed -fuse-ld=gold conftest.c >&5 collect2: fatal error: cannot find 'ld' (From OE-Core rev: 3c6746748a845b5156f81fe7a01caa58ee29e938) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: use gold for all archsRobert Yang2015-04-211-4/+1
| | | | | | | | | | | | | | | | | | | At least the following boards have build errors without using gold: qemux86, qemux86-64, qemuarm, qemuaarch64, qemuppc. The error is: ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid ld: failed to set dynamic section sizes: Bad value ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid ld: failed to set dynamic section sizes: Bad value | collect2: error: ld returned 1 exit status So use gold for all archs to fix the problem. (From OE-Core rev: 3dd233ac0c80393824100c54bb525236f8290fd2) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: fix build with aarch64Robert Yang2015-04-191-0/+2
| | | | | | | | | | | | | | | | | | Referred to RP's fix for x86 and x86-64: 34d517a5626ce2465f776367349bd9e66bf8ed1f libunwind: Build with gold to avoid build failures Fixed: aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value aarch64-poky-linux/4.9.2/ld: copy reloc against protected `_Uaarch64_local_addr_space' is invalid aarch64-poky-linux/4.9.2/ld: failed to set dynamic section sizes: Bad value | collect2: error: ld returned 1 exit status (From OE-Core rev: 31d84f67f74b31b479409cfa446b14ac67bb3707) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: Build with gold to avoid build failuresRichard Purdie2015-04-081-0/+3
| | | | | | | | | | | The library fails to build with binutils 2.25 and standard ld. This issue is fixed in gcc 5 with no plans to backport to gcc 4. Easiest workaround for now is to use gold as the linker for the library since gold does not have the issue. The bug is x86 only. (From OE-Core rev: 34d517a5626ce2465f776367349bd9e66bf8ed1f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: use xz, because it fails to detect liblzma provided by lzmaAndreas Oberritter2015-03-251-1/+1
| | | | | | | (From OE-Core rev: 53bafb0d22a84186d215eb8f106ccff69f1b0480) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: backport patch to link against libgcc_s intead of libgccJonathan Liu2015-03-162-0/+43
| | | | | | | | (From OE-Core rev: 9906f949627b64f9fc36bc129bb37c8dd84dc27c) Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: Fix test case link failure on PowerPC with AltivecTing Liu2015-01-292-0/+29
| | | | | | | | (From OE-Core rev: 5f6e2a9a474e96332879329deb358219f1328464) Signed-off-by: Ting Liu <ting.liu@freescale.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: add aarch64 supportFathi Boudra2014-12-234-0/+2607
| | | | | | | | | | | | | * pass --enable-debug-frame on aarch64 architecture * include patches: - aarch64 port (backported from upstream) - Support-building-with-older-compilers (fix undefined reference to `unreachable' on older compilers) (From OE-Core rev: 07cdb1b6583a6cf379de769bdf392c90b49692db) Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libunwind: add recipesChong Lu2014-09-102-0/+34
Add libunwind from meta-oe to oe-core, since perf depends on it. (From OE-Core rev: aefddc23eeda9b46c1bb3ac776c8bff15f89707c) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>