aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel
Commit message (Collapse)AuthorAgeFilesLines
* valgrind: Fix compile problem with MIPS soft floatHauke Mehrtens2021-04-111-0/+68
| | | | | | | | valgrind does not compile any more when using a GCC 10 for MIPS with soft float. Just remove the parts which are generating assembler which would not work. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* binutils: fix libbfd missing DSO dependency if NLS enabledTony Ambardar2021-04-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | The libbfd package definition uses $(ICONV_DEPENDS) and $(INTL_DEPENDS) but links against neither, leading to libbfd detection failures in other packages (e.g. bpftools) and on-target relocation problems with libintl.so: root@OpenWrt:/# ldd /usr/lib/libbfd.so ldd (0x77db6000) libc.so => ldd (0x77db6000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x77c6d000) Error relocating /usr/lib/libbfd.so: libintl_dgettext: symbol not found Add NLS-conditional linking of "libintl" to fix this. Also remove libbfd package dependency $(ICONV_DEPENDS) which is not used during building or linking. Tested with QEMU on malta/be32, after building all packages from binutils, bpftools and iproute2, using different libc options musl and glibc. Fixes: 08e817569630 ("binutils: use nls.mk to fix libbfd link errors in other packages") Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* strace: update package to v5.10Geordan Neukum2021-01-301-2/+2
| | | | | | | | | | v5.10 has been released for strace. As such, let's go ahead bring in the latest version of this package. See here for the changelog: https://github.com/strace/strace/releases/tag/v5.10 Signed-off-by: Geordan Neukum <gneukum1@gmail.com>
* trace-cmd: update to 2.9.1Rosen Penev2021-01-014-39/+121
| | | | | | | | | | | Fixed license information. Adjusted Makefile to new install paths. Backported upstream patch to fix compilation with musl. Replaces local and incomplete patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* binutils: update to 2.35.1Rosen Penev2020-12-221-2/+2
| | | | | | Fixes compilation with musl 1.2.x. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* valgrind: Update to version 3.16.1Hauke Mehrtens2020-11-182-4/+4
| | | | | | | | | | | | No special changes, just get in sync with recent code. See here for the changelog: https://valgrind.org/docs/manual/dist.news.html The ipkg sizes changes as follows for mips 24kc : 3.15 : valgrind_3.15.0-2_mips_24kc.ipk 1450680 3.16.1 : valgrind_3.16.1-1_mips_24kc.ipk 1491954 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* strace: Update to version 5.9Hauke Mehrtens2020-11-181-2/+2
| | | | | | | | | | | | No special changes, just get in sync with recent code. See here for the changelog: https://github.com/strace/strace/releases/tag/v5.9 The ipkg sizes changes as follows for mips 24kc : 5.8 : strace_5.8-1_mips_24kc.ipk 271195 5.9 : strace_5.9-1_mips_24kc.ipk 278352 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: fix building with NLS enabledDaniel Golle2020-11-051-2/+4
| | | | | | | Building gdb failed with CONFIG_BUILD_NLS enabled. Use nls.mk and add the necessary dependencies for libintl and libiconv. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* gdb: Disable testsHauke Mehrtens2020-11-011-0/+2
| | | | | | We do not use the tests or ubsan in our gdb package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: Always use system zlibHauke Mehrtens2020-11-011-1/+2
| | | | | | | | Instead of using the system zlib when the package is selected and using the internal zlib if it is not selected in OpenWrt, just activate it always. This should make the package more deterministic. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* gdb: Update to version 10.1Hauke Mehrtens2020-11-016-24/+24
| | | | | | | | gdb 10.1 adds many new features for example gdbserver support for - ARC GNU/Linux - RISC-V GNU/Linux Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* trace-cmd: disable AUDIT (libaudit library)Josef Schlehofer2020-10-111-1/+2
| | | | | | | | | | | | | If you compile first libaudit library and then trace-cmd package, compilations fails with: Package trace-cmd is missing dependencies for the following libraries: libaudit.so.1 If you enable libaudit for trace-cmd, it will show system name calls while using command profile. Try to be slim as much as possible - libaudit .ipk has 42,4 kB. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* perf: disable libzstd supportRosen Penev2020-10-111-1/+2
| | | | | | | | | | | libzstd from the packages feed gets picked up. Remove it. Fixes: Package perf is missing dependencies for the following libraries: libzstd.so.1 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* perf: pass CFLAGS correctlyMarek Behún2020-10-111-1/+1
| | | | | | | For this package CFLAGS have to be passed via EXTRA_CFLAGS. On arm this bug causes build to fail because no -fPIC is present in CFLAGS. Signed-off-by: Marek Behún <kabel@blackhole.sk>
* perf: fix building with musl when NLS is enabledMarek Behún2020-10-111-0/+3
| | | | | | | | | | | This package fails with a strange error when building with musl when NLS is enabled. The configuration thinks that libelf is not present, even though DEPENDS contains +libelf, because when NLS is enabled, libelf.so depends on libintl, and the correct LDFLAGS are missing for libintl-full. This then causes the configuration script to check for glibc, but this fails because we are using musl. Signed-off-by: Marek Behún <kabel@blackhole.sk>
* strace: Update to version 5.8Hauke Mehrtens2020-08-311-7/+4
| | | | | | | | | | | | Deactivate multiple personalities support, because this causes compile problems at least on the x86/64 target. As OpenWrt compiles all binaries itself all binaries will use the native personality which is also used by strace. This change will make it impossible to debug i386 binaries on x86_64 OpenWrt targets for example. Just deactivate it for ARM64 too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bintuils: Pack libctf-nobfd.so in additionHauke Mehrtens2020-08-101-2/+3
| | | | | | | | | | readelf is linked against this library on MIPS64BE This fixes a build problem on MIPS64BE. In addition also explicitly activate it in the configure command. Fixes: 60f595daab45 ("binutils: update to version 2.34") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* binutils: update to version 2.34Felix Fietkau2020-08-063-1329/+19
| | | | | | Fixes perf on aarch64 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix portability issue with perf on linux 5.4Felix Fietkau2020-06-041-0/+3
| | | | | | | Remove dependencies on core kernel headers in host tools used to build perf, which break on any non-linux system Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: build with NO_LIBCAP=1Yangbo Lu2020-04-261-0/+1
| | | | | | | | | Build with NO_LIBCAP=1. This is to resolve build issue. Package perf is missing dependencies for the following libraries: libcap.so.2 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
* gdb: disable gdbserver for arcLuiz Angelo Daros de Luca2020-04-261-0/+1
| | | | | | | | | | Although gdb is supported, gdbserver is still not. checking whether gdbserver is supported on this host... no Build breaks as gdbserver executable is not found during packaging. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* binutils: add ALTERNATIVES for strings (FS#3001)Hans Dedecker2020-04-181-1/+2
| | | | | | | | Don't move strings anymore to /bin/strings to avoid clash with busybox /usr/bin/strings but move it to /usr/bin/binutils-strings. Use ALTERNATIVES support to install it as /usr/bin/strings Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* strace: update to version 5.5Josef Schlehofer2020-02-241-2/+2
| | | | | | | Changelog: https://strace.io/files/5.5/ Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* perf: Add libunwind only if selectedRosen Penev2020-01-151-2/+2
| | | | | | | | | The depends are totally wrong. libunwind does not work with powerpc and i386 as it needs glibc. Instead of duplicating the platforms, just change the dependency. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* valgrind: do not strip internal preload libraries and executablesJo-Philipp Wich2020-01-141-2/+20
| | | | | | | | | | Implement the suggestions laid out in README_PACKAGERS, mainly by preventing the stripping of the internal vgpreload*.so libraries. Also retain the symbol information of valgrind's private helper executables and enable LTO as suggested in the packagers readme. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* trace-cmd: Fix compilation without fortify-headersRosen Penev2020-01-052-1/+25
| | | | | | Upstream backport. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* strace: update to version 5.4Josef Schlehofer2020-01-051-2/+2
| | | | | | Changelog: https://strace.io/files/5.4/ Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* strace: Fix build on PowerPCHauke Mehrtens2019-11-091-17/+0
| | | | | | | | This patch breaks building on PowerPC, like the mpc85xx_generic target for me. Fixes: FS#2585 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* strace: update to version 5.3Josef Schlehofer2019-10-201-9/+8
| | | | | | | | | | | | Makefile changes: - moves PKG_MAINTAINER above PKG_LICENSE - Change PKG_LICENSE to LGPL-2.1-or-later and correct PKG_LICENSE_FILES - changes URL to a more appropriate one, which uses HTTPS - adds 2 spaces as an indentation in description Compile and run tested on Turris Omnia, mvebu Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
* gdb: bump to 8.3.1Koen Vandeputte2019-10-156-31/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GDB 8.3.1 brings the following fixes and enhancements over GDB 8.3: PR c++/20020 (GDB segfault on printing objects) PR gdb/24454 (nat/x86-linux-dregs.c failed assertion) PR breakpoints/24541 (Incorrect evaluation of systemtap probes due to register being signed and probe expression assuming unsigned) PR symtab/24545 (Symbol loading performance regression with cc1) PR gdb/24592 (amd64->i386 linux syscall restart problem) PR gdb/25009 (terminate called after throwing an instance of 'srchilite::ParserException') PR gdb/25010 (Calls to error () can cause SIGTTOU to send gdb to the background) PR breakpoints/25011 (Breakpoints on file reloads broken for PIE binaries) This corrective release also brings the following testsuite fixes and enhancements: PR testsuite/25005 (gdb-caching-proc.exp takes a lot of time on skip_opencl_tests) PR testsuite/25016 (Test-case failures for -pie) GDB 8.3 includes the following changes and enhancements: * Support for new native configurations (also available as a target configuration): - RISC-V GNU/Linux (riscv*-*-linux*) - RISC-V FreeBSD (riscv*-*-freebsd*) * Support for new target configurations: - CSKY ELF (csky*-*-elf) - CSKY GNU/Linux (csky*-*-linux) - NXP S12Z ELF (s12z-*-elf) - OpenRISC GNU/Linux (or1k*-*-linux*) * Native Windows debugging is only supported on Windows XP or later. * The Python API in GDB now requires Python 2.6 or later. * GDB now supports terminal styling for the CLI and TUI. Source highlighting is also supported by building GDB with GNU Highlight. * Experimental support for compilation and injection of C++ source code into the inferior (requires GCC 7.1 or higher, built with libcp1.so). * GDB and GDBserver now support IPv6 connections. * Target description support on RISC-V targets. * Various enhancements to several commands: - "frame", "select-frame" and "info frame" commands - "info functions", "info types", "info variables" - "info thread" - "info proc" - System call alias catchpoint support on FreeBSD - "target remote" support for Unix Domain sockets. * Support for displaying all files opened by a process * DWARF index cache: GDB can now automatically save indices of DWARF symbols on disk to speed up further loading of the same binaries. * Various GDB/MI enhancements. * GDBserver on PowerPC GNU/Linux now supports access to the PPR, DSCR, TAR, EBB/PMU, and HTM registers. * Ada task switching support when debugging programs built with the Ravenscar profile added to aarch64-elf. * GDB in batch mode now exits with status 1 if the last executed command failed. * Support for building GDB with GCC's Undefined Behavior Sanitizer. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* perf: simplify the build processPetr Štetiar2019-07-171-7/+3
| | | | | | | | | | | | | | Redirect the build output to PKG_BUILD_DIR instead of copying over complete source code. Build tested on following targets: x86/64 ar7/generic ipq40xx/generic imx6/generic ar71xx/generic ramips/mt7621 ramips/mt7620 sunxi/cortexa7 Run tested on imx6/apalis. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* gdb-arc: RemoveRosen Penev2019-07-074-158/+0
| | | | | | Normal GDB has supported ARC since 8.0 Signed-off-by: Rosen Penev <rosenp@gmail.com>
* gdb: Remove !arc dependencyRosen Penev2019-07-072-3/+14
| | | | | | | | Supported since 8.0. Added uClibc-ng patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* valgrind: Add support for ARM64 architectureHauke Mehrtens2019-05-141-1/+1
| | | | | | valgrind also works on the ARM64 architecture, build it also for such CPUs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* valgrind: Update to version 3.15.0Hauke Mehrtens2019-05-141-2/+2
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* strace: Update to version 5.0Hauke Mehrtens2019-05-143-98/+7
| | | | | | The removed patch was merged upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Remove support for kernel 3.18Hauke Mehrtens2019-05-031-1/+1
| | | | | | | | | | No target is using kernel 3.18 anymore, remove all the generic support for kernel 3.18. The removed packages are depending on kernel 3.18 only and are not used on any recent kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* Revert "valgrind: enable LTO and refresh patches"Hauke Mehrtens2019-03-211-1/+0
| | | | | | | | | This reverts commit 0331770299b1587a96285fd1af33afe6de4ecbb9. With LTO enabled valgridn does not build on MIPS32 any more, deactivate it for now. The patch refresh was not reverted. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* strace: update to version 2.26Hauke Mehrtens2019-02-263-3/+94
| | | | | | The new patch is a backport from current strace master. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* strace: Only allow libdw or libunwindHauke Mehrtens2019-02-171-9/+11
| | | | | | | | These two dependencies are mutual exclusive and it is only possible to select one of them, change the select to a chose so it is only possible to select one of them in OpenWrt menu config. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* strace: fix configuration optionsPeter Wagner2019-02-171-6/+14
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* perf: replace libelf1 dependency with libelfJo-Philipp Wich2019-01-241-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* 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>