aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel
Commit message (Collapse)AuthorAgeFilesLines
* gdb: The signal definitions of musl and gdb collideHauke Mehrtens2019-01-121-0/+44
| | | | | | | | | | | | | | This fixes compilation of gdb on arm64. The kernel defines "struct sigcontext" in asm/sigcontext.h and musl libc defines it in signal.h, which collides. Kernel 4.14 misses the definitions of struct user_sve_header so we still have to use the aarch64-sve-linux-sigcontext.h header file which also provides that and make sure aarch64-sve-linux-sigcontext.h does not provide the same headers as the kernel or musl. Fixes: FS#2040 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: bump to 8.2.1Koen Vandeputte2019-01-071-2/+2
| | | | | | | | | | | | | | | | PR build/23516 (gdb build error under msys+mingw: strip can't handle gdb-add-index.exe) PR build/23623 (install-strip fails) PR rust/23626 (gdb crashes in upstream rust nil-enum test) PR rust/23650 (rust field name access error mentions "foo") PR gdb/23663 (gdb 8.1.1: undefined rpl_stat function with musl toolchains) PR python/23669 (gdb.execute("show commands") doesn't work) PR python/23714 (Command repetition stops working after gdb.execute) PR gdb/23838 (8.2 regression for invalid -data-directory) PR gdb/23974 ("info os" crash when specifying invalid object) PR gdb/23999 (SYMBOL_LANGUAGE assertion failure on AIX) PR gdb/24003 (Error when binary searching CUs for a specific DIE when using DWZ) Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* valgrind: enable LTO and refresh patchesSyrone Wong2018-11-263-2/+3
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* strace: update to 4.25Syrone Wong2018-11-251-2/+2
| | | | Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
* valgrind: bump to 4.14.0Koen Vandeputte2018-11-061-2/+2
| | | | | | | | Release notes can be found here: http://www.valgrind.org/docs/manual/dist.news.html Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* strace: add option to enable libdw stack tracingStijn Tintel2018-10-021-1/+7
| | | | | | Fixes build with CONFIG_libdw=y. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* gdb: bump to 8.2Koen Vandeputte2018-09-073-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Changes in GDB 8.2 Support for the following target has been added: RiscV ELF (riscv*-*-elf) Support for following targets and native configurations has been removed: m88k running OpenBSD (m88*-*-openbsd*) SH-5/SH64 ELF (sh64-*-elf*) SH-5/SH64 (sh*) SH-5/SH64 running GNU/Linux (sh*-*-linux*) SH-5/SH64 running OpenBSD (sh*-*-openbsd*) Various Python API enhancements Aarch64/Linux enhancements: SVE support. Hardware watchpoints improvements for entities stored at unaligned addresses. New "c" response to disable the pager for the rest of the current command. C expressions can now use _Alignof, and C++ expressions can now use alignof. Improved flexibility for loading symbol files. The 'info proc' command nows works on running processes on FreeBSD systems as well as core files created on FreeBSD systems. A new --enable-codesign=CERT configure option to automatically codesign GDB after build (useful on MacOS X). Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* strace: fix build on aarch64Stijn Tintel2018-09-051-0/+4
| | | | | | | | | | | | As of version 4.21, strace enforces mpers by default. The current implementation of aarch64 compat in strace assumes it's identical to ARMv7 EABI and therefore tries to enable m32 personality support. As there is no -m32 support on aarch64, this causes the build to fail. Restore previous strace behavior to fix build on aarch64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Tested-by: Karl Palsson <karlp@tweak.net.au>
* strace: update strace to version 4.24Hauke Mehrtens2018-08-282-3/+3
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: bump to 8.1.1Koen Vandeputte2018-08-013-9/+9
| | | | | | | | | | | | | | | GDB 8.1.1 brings the following fixes and enhancements over GDB 8.1: * PR gdb/22824 (misleading description of new rbreak Python function in GDB 8.1 NEWS file) * PR gdb/22849 (ctrl-c doesn't work in extended-remote) * PR gdb/22907 ([Regression] gdbserver doesn't work with filename-only binaries) * PR gdb/23028 (inconsistent disassemble of vcvtpd2dq) * PR gdb/23053 (Fix -D_GLIBCXX_DEBUG gdb-add-index regression) * PR gdb/23127 ([AArch64] GDB cannot be used for debugging software that uses high Virtual Addresses) * PR server/23158 (gdbserver no longer functional on Windows) * PR breakpoints/23210 ([8.1/8.2 Regression] Bogus Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3) Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* perf: remove linux 4.4 workaroundsFelix Fietkau2018-07-074-75/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* gdb: Update to 8.1Rosen Penev2018-06-071-2/+2
| | | | | | Tested on Turris Omnia (mvebu). Signed-off-by: Rosen Penev <rosenp@gmail.com>
* strace: Update to 4.22Rosen Penev2018-06-071-3/+3
| | | | | | | | | SourceForge is deprecated according to upstream, so switch to main site for downloads. Tested on Turris Omnia (mvebu). Signed-off-by: Rosen Penev <rosenp@gmail.com>
* perf: restrict libunwind dependency to archs that actually support libunwindMatthias Schiffer2018-02-251-1/+1
| | | | | | | | | | Allow building perf on uncommon targets again. Depending on the kernel version, not all of these archs will actually use libunwind in perf. Still, it seems simpler and less error-prone to use the same list that is defined in the libunwind package. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* valgrind: Fix compile on ARM64Hauke Mehrtens2018-02-101-2/+7
| | | | | | | Activate the support for 64 bit on all 64 bit CPUs and not only x86_64. ARM64 does not provide an xml file, so do not pack any. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* perf: use libunwindMaxim Gorbachyov2018-01-271-1/+1
| | | | | | | Without libunwind perf does not show userspace stack frames. Tested on mvebu. Signed-off-by: Maxim Gorbachyov <maxim.gorbachyov@gmail.com>
* toolchain/arc: update to the most recent release arc-2017.09Evgeniy Didin2018-01-271-3/+3
| | | | | | | | | | | | | | | This commit finally bumps ARC tools to the most recent arc-2017.09 release version. ARC GNU tools of version arc-2017.09 bring some quite significant changes like: * Binutils v2.29 with additional ARC patches * GCC 7.1.1 with additional ARC patches More information on this release could be found here: https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2017.09-release Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> CC: Alexey Brodkin <abrodkin@synopsys.com> CC: John Crispin <john@phrozen.org>
* strace: Update to 4.20Rosen Penev2017-12-071-3/+2
| | | | | | | Compiled and tested on mvebu. Mainly a kernel 4.14 change. Also reordered the Makefile a little bit. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-174-0/+4
| | | | | | | | | | | CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* gdb: bump to 8.0.1Stijn Tintel2017-09-293-14/+13
| | | | | | | | | | Add -static-libstdc++ to TARGET_LDFLAGS to avoid a hard dependency on libstdc++, and -Wl,--gc-sections to further reduce the size on platforms that support it. Fixes CVE-2017-9778. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* strace: bump to 4.19Stijn Tintel2017-09-111-2/+2
| | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* toolchain/arc: update to the most recent release arc-2017.03Evgeniy Didin2017-07-181-3/+3
| | | | | | | | | | arc-2017.03 is the most recent release toolchain for ARC cores and it is based on upstream Binutils 2.28 and GCC 6.3.0 Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org> Cc: Hauke Mehrtens <hauke@hauke-m.de>
* valgrind: bump to 3.13.0Luiz Angelo Daros de Luca2017-06-243-49/+4
| | | | Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* gdb: disable simulator ; it's broken on ppcAlexandru Ardelean2017-06-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Error is: ``` ompile-loc2c.o compile-c-support.o inflow.o init.o \ ../sim/ppc/libsim.a -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a -L./../zlib -lz ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lncurses -lm ../libiberty/libiberty.a build-gnulib/import/libgnu.a -ldl -Wl,--dynamic-list=./proc-service.list ../sim/ppc/libsim.a(idecode.o): In function `update_time_from_event': idecode.c:(.text+0x170): undefined reference to `error' ../sim/ppc/libsim.a(idecode.o): In function `event_queue_tick': idecode.c:(.text+0x1cc): undefined reference to `error' idecode.c:(.text+0x28c): undefined reference to `error' idecode.c:(.text+0x318): undefined reference to `error' ../sim/ppc/libsim.a(idecode.o): In function `cpu_halt.constprop.6': idecode.c:(.text+0x398): undefined reference to `error' ../sim/ppc/libsim.a(idecode.o):idecode.c:(.text+0x4e4): more undefined references to `error' follow collect2: error: ld returned 1 exit status Makefile:1420: recipe for target 'gdb' failed make[5]: *** [gdb] Error 1 ``` Seems others are running into this as well. The problem seems to be that some code may be built as C++ and not C, which may explain the linker error. On this thread reply: https://sourceware.org/ml/gdb/2016-11/msg00045.html it mentions that the simulator should not call GDB's "error" function directly, but rather use the "host_callback" struct. I have no idea about the use of the GDB simulator within the OpenWrt/LEDE community. So, I took the easier route, which is to disable the simulator. (Also suggested here: https://sourceware.org/ml/gdb/2016-11/msg00047.html ) If needed, I can make an effort to fix the simulator for PPC. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* gdb: remove Build/Compile rule ; default one worksAlexandru Ardelean2017-06-071-7/+0
| | | | Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* perf: Depend on KERNEL_PERF_EVENTSFlorian Fainelli2017-06-051-1/+1
| | | | | | | | | | | | | | | | | | | | The kernel needs to have PERF_EVENTS built otherwise we will run into the following: root@(none):/# perf top perf_event_open(..., PERF_FLAG_FD_CLOEXEC) failed with unexpected error 89 (Function not implemented) perf_event_open(..., 0) failed unexpectedly with error 89 (Function not implemented) Error: The sys_perf_event_open() syscall returned with 89 (Function not implemented) for event (cycles). /bin/dmesg may provide additional information. No CONFIG_PERF_EVENTS=y kernel support configured? Make sure this functional dependency is captured. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* devel/trace-cmd: Update to 2.6.1Daniel Engberg2017-05-181-7/+4
| | | | | | | Update trace-cmd to version 2.6.1 Switch to tarball download Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* devel/strace: Update to 4.16Daniel Engberg2017-05-162-3/+3
| | | | | | | Update strace to 4.16 Refresh patch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* perf: Disable perf for ARC770 only, enable for ARC HS38Alexey Brodkin2017-05-111-1/+1
| | | | | | | | | | | | | | | Toolchain built for ARCv1 (read for ARC700 cores) by default has disabled atomic ops (-mno-atomic). When we build Linux kernel for ARC770 which has LL/SC instructions and thus may handle normally atomic ops we explicitly add "-matomic" in CFLAGS. But since user-space perf utility has no way to extract CPU config options from Kconfig/defconfig it uses compiler default settings. In case of ARCv2 (read ARC HS38) atomics are enabled by default and so perf builds perfectly fine thus reenabling perf for ARC HS38 (actually for non-ARC700 targets). Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* toolchain/arc: update to the most recent release arc-2016.09Alexey Brodkin2017-05-021-3/+3
| | | | | | | | | | | | | | | | | | arc-2016.09 is the most recent toolchain for ARC cores and it is based on top of upstream Binutils 2.27 and GCC 6.2.1. With updated major version of GCC we copied all GCC 6.x patches for ARC as well as Bintils 2.27 patches. Note that toochain sports ARCv4 ABI and so must be used with 4.8+ Linux kernels. Even though it will build v4.4 kernel perfectly fine on attempt to run user-space apps they won't work with older kernel. That said previuosly sent RFC patches with Linux kernel update are required: [1] https://patchwork.ozlabs.org/patch/726686/ [2] https://patchwork.ozlabs.org/patch/726687/ Signed-off-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
* perf: disable build for ARC, it is currently brokenFelix Fietkau2017-05-021-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* binutils: fix build with host gcc < 4.9Hauke Mehrtens2017-04-122-0/+1323
| | | | | | | | | binutils 2.27 checks if the target compiler supports -Wstack- usage=262144, and also uses this setting for the host compiler. If the host compiler is gcc < 4.9 binutils build will fail. This backports 2 commits which are fixing this problem for binutils 2.28. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: fix invalid sigprocmask callYousong Zhou2017-03-242-1/+44
| | | | | | Fixes FS#637 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* perf: fix build with kernel 4.9Mathias Kresin2017-03-171-0/+2
| | | | | | | The musl workaround isn't required anymore and causes build errors with kernel 4.9 when applied. Signed-off-by: Mathias Kresin <dev@kresin.me>
* gdb: update to version 7.12.1, fix glibc 2.25 build issuesFelix Fietkau2017-02-114-4/+80
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: avoid picking up a dependency on libunwindFelix Fietkau2017-02-111-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "gdb: fix build with gcc 4.1.2 as host compiler"Hauke Mehrtens2017-01-071-16/+0
| | | | | | | | Support for such old gcc version is not needed. This reverts commit 2694d43b052a1bf1721ae477dcdbe787f5995d35. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* strace: update to version 4.15Hauke Mehrtens2017-01-052-5/+3
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* treewide: clean up and unify PKG_VERSION for git based downloadsFelix Fietkau2016-12-221-2/+0
| | | | | | Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-166-6/+6
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* valgrind: update to 3.12.0Hauke Mehrtens2016-12-035-101/+8
| | | | | | | | | | Support for MIPS toolchains without FPU support was added upstream, so remove our patch. patches/310-mips-link-tool.patch was a backport form this version of valgrind src/abort.c is not referenced anywhere Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* devel/strace: fix build only on powerpc archAlexandru Ardelean2016-11-161-0/+19
| | | | | | | | | | | Reboot of 519a199cbcc0930e229ddd7087309326a846bdce Which broke other builds. This time, added compile flags to build only for POWERPC archs Tested on mpc85xx, ar71xx and bcm2708. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* package/devel/trace-cmd: Add mirrorDaniel Engberg2016-11-161-1/+3
| | | | | | | Adds Google's mirror as primary source and kernel.org as fallback. Same as commit 0d4f02dfd650612aac6c11860139be03a0f54bee Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* Revert "devel/strace: fix build on mpc85xx target"Jo-Philipp Wich2016-11-081-14/+0
| | | | | | | | | | | | | | | | | This reverts commit 519a199cbcc0930e229ddd7087309326a846bdce. Multiple users have reported building failures on ARM architectures, e.g.: In file included from defs.h:42:0, from process.c:37: process.c:51:22: error: 'struct user_regs' has no member named 'ARM_r0' #define uoff(member) offsetof(struct user, member) ^ ./linux/arm/userent.h:1:3: note: in expansion of macro 'uoff' { uoff(regs.ARM_r0), "r0" }, ^ Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* devel/strace: fix build on mpc85xx targetAlexandru Ardelean2016-11-081-0/+14
| | | | | | | | | | | | | | | builbot faillog: https://downloads.lede-project.org/snapshots/faillogs/powerpc_8540/base/strace/compile.txt Seems that for PPC, the <linux/ptrace.h> header [from uapi] collides with musl's <sys/user.h>, for the pt_regs struct. Seems I tried to upstream this patch a while back: https://lists.openwrt.org/pipermail/openwrt-devel/2016-April/041093.html It seems to work on current LEDE trunk too. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* strace: Update to 4.14Daniel Engberg2016-10-261-2/+2
| | | | | | Update to version 4.14 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* package/devel/binutils: Update to 2.27diizzyy2016-10-131-2/+2
| | | | | Updates binutils to 2.27 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* source: Switch to xz for packages and tools where possibleDaniel Engberg2016-10-061-2/+2
| | | | | | | | | | | * Change git packages to xz * Update mirror checksums in packages where they are used * Change a few source tarballs to xz if available upstream * Remove unused lines in packages we're touching, requested by jow- and blogic * We're relying more on xz-utils so add official mirror as primary source, master site as secondary. * Add SHA256 checksums to multiple git tarball packages Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* package/devel/trace-cmd: Update to 2.6diizzyy2016-10-041-2/+2
| | | | | | Update to 2.6 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* valgrind: improve mips supportHauke Mehrtens2016-10-032-0/+56
| | | | | | | | | | | We have to remove the FPU check, it will run in an endless loop on LEDE when compile without FPU emulation support. The second patch fixes this problem: valgrind: mmap(0x400000, 303104) failed in UME with error 22 (Invalid argument). valgrind still does not support mips16, build LEDE without mips16 support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>