Commit Graph

186 Commits

Author SHA1 Message Date
Yousong Zhou
8bd02b1381 strace: add option for enabling stack trace support
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2016-06-13 22:51:43 +02:00
Alexey Brodkin
1f0a9715d2 package/devel/gdb-arc: Add target GDB for ARC
ARC port of GDB is not yet upstream so we need to use
sources from Synopsys GitHub repo.

Given Synopys' commitment to upstream ARC support in GDB
in the nearest future it might be simpler to add a separate
package for ARC GDB instead of patching generic GDB package.
This way once ARC GDB stuff gets uptreamed we'll only need
to remove that new "gdb-arc" package.

Note 1 very minor change in generic gdb package was done -
it now depends on !arc (while "gdb-arc" depends on "arc").

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
2016-06-13 22:51:42 +02:00
Felix Fietkau
7eeb254cc4 treewide: replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:42 +02:00
Dirk Neukirchen
f2220bc1fe perf: disable libcrypto dependency
upstream change: 8ee4646038e47d065d35703e3e343136c4cd42aa
fixes dependency w. Kernel 4.6

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
2016-05-19 14:12:11 +02:00
John Crispin
f63aae81c2 package/devel/gdb: Update to 7.11
Update gdb to version 7.11

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 48990
2016-03-10 19:11:46 +00:00
Hauke Mehrtens
29a36d1fd6 strace: update to version 4.11
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48784
2016-02-25 21:55:41 +00:00
Felix Fietkau
09997e41ae gdb: fix powerpc build issues with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48731
2016-02-16 21:30:20 +00:00
Felix Fietkau
f60cc5df9c perf: add dependency on !LINUX_3_18 to fix builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48720
2016-02-15 10:53:23 +00:00
John Crispin
b750ea8568 package/devel/gdb: update to 7.10.1
Minor bugfix update, released in Dec 2015
https://www.gnu.org/software/gdb/news/

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 48709
2016-02-12 08:31:11 +00:00
Felix Fietkau
b046040bd6 perf: include asm/unistd.h instead of syscall.h to fix conflict with kernel headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48573
2016-01-30 20:14:59 +00:00
Felix Fietkau
10b487273a oprofile: delete the package, it has become useless now that perf is working
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48431
2016-01-21 15:36:47 +00:00
Felix Fietkau
08e8175696 binutils: use nls.mk to fix libbfd link errors in other packages
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48422
2016-01-20 23:50:36 +00:00
Felix Fietkau
1c4d5aa207 valgrind: fix build with mips soft-float
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48419
2016-01-20 22:59:34 +00:00
Felix Fietkau
bd99318c82 perf: fix strerror_r override detection, apparently part of tools/ relies on non-GNU behavior
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48221
2016-01-12 16:42:12 +00:00
Felix Fietkau
10e6d3ade9 perf: fix build errors on x86 and other platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48218
2016-01-12 11:15:34 +00:00
Felix Fietkau
92b56a9aa2 perf: drop @!USE_UCLIBC from depends
perf builds fine with uClibc too

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 48148
2016-01-07 21:07:48 +00:00
Felix Fietkau
6314c24a04 perf: select objdump instead of the full binutils package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48071
2016-01-02 16:19:39 +00:00
Felix Fietkau
2004f415bb perf: add myself as a maintainer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48068
2016-01-02 14:48:04 +00:00
Felix Fietkau
6467fef419 perf: fix musl compatibility
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48067
2016-01-02 14:47:57 +00:00
Felix Fietkau
d3e233f02c perf: fix parallel build support, explicitly disable more library dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48066
2016-01-02 14:47:48 +00:00
Felix Fietkau
636a22cae2 perf: build in a copy of the source dir instead of relying on make clean
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48065
2016-01-02 14:47:42 +00:00
John Crispin
1a54162447 binutils: upgrade to version 2.25
Fixes build:
config/tc-i386.c: In function 'build_modrm_byte':
config/tc-i386.c:6143:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
         && !op.bitfield.reg64 != 1

Contains this fix:
   https://sourceware.org/ml/binutils/2014-09/msg00095.html

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 48003
2015-12-23 19:26:11 +00:00
John Crispin
4f9fcd94bd package/devel/perf: fix build for kernel 4.1
This fix contains 2 parts:
 - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file"
 - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 47338
2015-11-02 10:16:28 +00:00
Felix Fietkau
6ce1936708 oprofile: drop kmod-oprofile dependency, it uses the perf API now
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47147
2015-10-06 12:32:59 +00:00
Felix Fietkau
55a76c19b1 gdb: update to the latest version, fixes a build error with gcc 5.2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46775
2015-09-03 13:14:50 +00:00
Felix Fietkau
e69474719d oprofile: fix path to kernel headers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46588
2015-08-13 19:02:21 +00:00
Hauke Mehrtens
53647060ab oprofile: update to 1.1.0-rc2 and make it work with musl
This brings oprifle to version 1.1.0-rc2 and adds some fixes for musl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46505
2015-07-26 15:53:44 +00:00
Felix Fietkau
13f50151bc strace: add kernel headers include to host cflags to fix build on non-linux systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46423
2015-07-19 14:59:16 +00:00
Felix Fietkau
51ab7ade4e strace: cross compile fix: pass HOST_*FLAGS in to ./configure
The HOST_*FLAGS are for compiling programs which will run on the machine that is
running the build.  Setting these flags is frequently required for unusual
cross-compiles.

Signed-off-by: Lawrence D'Anna <larry@elder-gods.org>

SVN-Revision: 46422
2015-07-19 14:59:09 +00:00
Hauke Mehrtens
b2314679b6 valgrind: update to 3.10.1 and fix kernel >= 4.0
This updates valgrind to version 3.10.1 and make configure work with
kernel version > 4.0. This patch was taken from upstream valgrind.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46302
2015-07-11 20:55:36 +00:00
Steven Barth
e71141ef23 gdb: fix compilation for x86_64 with musl
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 46249
2015-07-07 17:30:08 +00:00
Jo-Philipp Wich
bbf9531ee7 strace: update to 4.10
- include upstream fixes for musl compatibility
Include <sys/stat.h> for S_I* macros
d34e00b293942b1012ddc49ed3ab379a32337611

Include <linux/ioctl.h> for _IOC_* macros
3460dc486d333231998de0f19918204aacee9ae3

strace 4.8 is broken with musl on some arch
(arm: omap,oxnas according to buildbot)

compile tested only

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 46124
2015-06-25 11:05:50 +00:00
Nicolas Thill
47e0c28153 gdb: disable liblzma explictly
* fix build failure when gdb is build after liblzma
 * bump release number

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45745
2015-05-24 19:15:54 +00:00
Felix Fietkau
9bb7046a19 trace-cmd: update to 2.4.2
fixes compile error:
(observed w. target arm64, all kernel build opts enabled)
error: call to '__open_missing_mode' declared with attribute
error: open with O_CREAT in second argument needs 3 arguments

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 45625
2015-05-08 10:44:08 +00:00
Felix Fietkau
ecbb0d9d4e binutils/oprofile: disable mips16 to fix build errors (#19522)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45525
2015-04-20 15:01:21 +00:00
Felix Fietkau
22b1f47555 oprofile: add dependency on librt, it seems to be needed in some configurations
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45280
2015-04-06 18:44:28 +00:00
Nicolas Thill
fe46689f10 packages: use $(LN) macro, make symlinks relative
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 45250
2015-04-03 00:07:43 +00:00
Felix Fietkau
5d9eeab64a build: remove obsolete references to cris and avr32
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44965
2015-03-24 10:07:40 +00:00
John Crispin
2e15b95799 perf: don't error on warnings
There are some places where there is a redundant declaration of
strlcpy() that prevents building perf otherwise.

Signed-off-by: John Szakmeister <john@szakmeister.net>

SVN-Revision: 44926
2015-03-21 21:47:48 +00:00
Nicolas Thill
4b382a440b packages: some (e)glibc fixes after r44701
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44842
2015-03-16 12:25:06 +00:00
Nicolas Thill
d0cf5a0530 package/valgrind: fix build on eglibc
configure tries to guess pagesize by calling getconf, provided by eglibc and compiled for the target, not the host.

Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44445
2015-02-14 13:53:51 +00:00
Nicolas Thill
693d76466a oprofile: mark broken on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 44398
2015-02-11 11:31:38 +00:00
Felix Fietkau
c228aeef61 package/binutils: actually support the target toolchain
This fixes a bug, where ld on ARM EABI platforms expects OABI code.

Signed-off-by: Harald Geyer <harald@ccbib.org>

SVN-Revision: 43866
2015-01-07 16:02:59 +00:00
Felix Fietkau
0e035381dc binutils: break-out libbfd, libopcodes and ar
Package libbfd, libopcodes and ar seperately.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 43745
2014-12-18 11:57:36 +00:00
John Crispin
f57b53e3b0 perf: this package fails to build for !eglibc
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43531
2014-12-06 20:27:57 +00:00
Florian Fainelli
6cc4c6a3a1 devel: import perf from oldpackages
perf was in the oldpackages repository, but it makes more sense to have
it part of the default package set since we build it from the Linux
kernel sources.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 43418
2014-11-28 01:29:41 +00:00
Felix Fietkau
c9394a7b9e trace-cmd: update to v2.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43280
2014-11-16 11:39:14 +00:00
John Crispin
74a3a77bcd license info - revert r43155
turns out that r43155 adds duplicate info.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 43167
2014-11-03 09:56:44 +00:00
John Crispin
c10d97484a Add more license tags with SPDX identifiers
Note, that licensing stuff is a nightmare: many packages does not clearly
state their licenses, and often multiple source files are simply copied
together - each with different licensing information in the file headers.

I tried hard to ensure, that the license information extracted into the OpenWRT's
makefiles fit the "spirit" of the packages, e.g. such small packages which
come without a dedicated source archive "inherites" the OpenWRT's own license
in my opinion.

However, I can not garantee that I always picked the correct information
and/or did not miss license information.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 43155
2014-11-03 08:01:08 +00:00
Steven Barth
bec9d38fa4 Add a few SPDX tags
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 43151
2014-11-02 12:20:54 +00:00
Nicolas Thill
7e2e5ff675 gdb: fix build failure on arm
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 43042
2014-10-24 11:19:29 +00:00
Felix Fietkau
338892ddf8 gdb: update to version 7.8, fix musl build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42979
2014-10-19 22:49:42 +00:00
Felix Fietkau
35232039c0 valgrind: update to the latest version, fix musl support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42978
2014-10-19 22:35:27 +00:00
Felix Fietkau
458893e620 binutils: fix build with gcc 4.9
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42707
2014-09-30 21:36:33 +00:00
Jonas Gorski
c74b5fde31 binutils: link libbfd and libopcodes dynamically again
Build libbfd and libopcodes as shared libraries, else they get linked
statically into every binary, increasing each binary size by ~650kB.

Reduces binutils package size to old expected values.

Fixes #17060.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 42337
2014-08-30 11:02:22 +00:00
Nicolas Thill
62ae2d1af1 valgrind: fix build failure on uml
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 42229
2014-08-20 13:58:23 +00:00
John Crispin
b7b8da135a valgrind: set --enable-only64bit option for x86_64
There does not seem to be a good reason to build both
when building for x86_64.

SVN-Revision: 42198
2014-08-18 13:10:19 +00:00
John Crispin
b5be328624 valgrind: explicitly disable mpicc compiler
If there's an mpicc compile on the machine, the configure
script will take it, causing a bit of headache.

SVN-Revision: 42197
2014-08-18 13:10:16 +00:00
John Crispin
8d3f3a1d72 valgrind: add x86_64 support
Signed-off-by: Alexandru Ardelean <aa@ocedo.com>

SVN-Revision: 41934
2014-08-01 11:19:42 +00:00
Felix Fietkau
12d1710184 strace: fix build failure on arm
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41457
2014-07-02 08:19:43 +00:00
Felix Fietkau
368cc09dd5 strace: fix compile with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41395
2014-06-29 22:25:36 +00:00
Felix Fietkau
af45048dfd strace: move to trunk, add myself as a maintainer
SVN-Revision: 41097
2014-06-10 10:22:18 +00:00
Felix Fietkau
c1927d2109 valgrind: avoid including linux/ptrace.h to fix a musl build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41054
2014-06-08 11:21:37 +00:00
Felix Fietkau
a57aec309d binutils: decouple from toolchain selection, use version 2.24, fix libiberty installation
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41036
2014-06-06 10:51:47 +00:00
Felix Fietkau
5d680ffda8 oprofile: update to 0.9.9, fix compile error
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41035
2014-06-06 10:51:44 +00:00
Imre Kaloz
5c3cb628f8 upgrade the Linaro binutils to 2.24-2013.12
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39210
2014-01-07 15:03:55 +00:00
Imre Kaloz
ac8d562503 handle the Linaro version as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39164
2013-12-26 22:19:29 +00:00
Felix Fietkau
19283a07df disable mips16 for a few packages that don't compile with it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37773
2013-08-14 14:29:15 +00:00
Florian Fainelli
c6c0d9456c trace-cmd: remove the compile fix patch
And instead override TARGET_CFLAGS to set _GNU_SOURCE accordingly since
this is the upstream maintainer solution.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37152
2013-07-03 17:23:55 +00:00
Felix Fietkau
9b1181ed66 valgrind: enable parallel builds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36647
2013-05-17 09:37:15 +00:00
Felix Fietkau
151a792e75 trace-cmd: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36643
2013-05-16 11:38:12 +00:00
Felix Fietkau
6a57ff8548 valgrind: do not depend on a particular ARM target, depend on the arch level
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36621
2013-05-13 15:05:03 +00:00
Felix Fietkau
c3db030502 valgrind: update to v3.8.1
Signed-off-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 36143
2013-04-01 09:53:34 +00:00
Florian Fainelli
a2abc43104 gdb: do not depend on libthread-db when using musl libc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35809
2013-02-26 16:39:59 +00:00
Jo-Philipp Wich
32dcd5d6c7 trace-cmd: lazily evaluate extra plugins list, fixes stray build errors causing by missing operands to cp if the package was never built yet
SVN-Revision: 34390
2012-11-27 18:08:42 +00:00
Florian Fainelli
3df1f9aecd valgrind: re-categorize from utils to devel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34293
2012-11-21 20:26:58 +00:00
Florian Fainelli
e5effc8c4c gdb: recategorize from utils to devel in menuconfig
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34291
2012-11-21 20:26:51 +00:00
Florian Fainelli
8ca4fd7ad1 gdb: fix debugging of MIPS(el) applications
GDB previously failed with the following:

root@OpenWrt:/# gdb busybox
[snip]
(gdb) r
Starting program: /bin/busybox
GDB bug: target.c (gdb_signal_from_host): unrecognized real-time signal

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34258
2012-11-19 14:38:02 +00:00
Florian Fainelli
3c1642a9e1 gdb: add missing zlib dependency
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34256
2012-11-19 14:37:22 +00:00
Felix Fietkau
f0634ee32b gdb: depend on zlib if zlib is selected
gdb can read debug informations in produced binaries with compressed debug sections if gdb is compiled with `zlib'.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 34007
2012-10-30 00:45:51 +00:00
Felix Fietkau
2b81aaa9ee add trace-cmd
SVN-Revision: 34002
2012-10-29 19:25:43 +00:00
Felix Fietkau
e6474b72fd gdb: use the libthread-db package instead of throwing the lib into the gdbserver package
SVN-Revision: 34000
2012-10-29 19:25:34 +00:00
Felix Fietkau
bf9f43e912 gdb: update to version 7.5
SVN-Revision: 33998
2012-10-29 19:25:26 +00:00
Florian Fainelli
c0030384e5 gdb: fix patch directory after r33706
git-svn did not properly track this move, thanks to swalker for noticing.

SVN-Revision: 33745
2012-10-13 17:46:37 +00:00
Felix Fietkau
5bb789340e gdb: move to package/devel/
SVN-Revision: 33706
2012-10-10 13:27:10 +00:00
Felix Fietkau
c6b27e2885 move a few development packages to trunk and add myself as a maintainer
SVN-Revision: 33705
2012-10-10 13:26:27 +00:00