Commit Graph

66 Commits

Author SHA1 Message Date
Anton Blanchard
7c4cd1afdf strace: Fix build issue with duplicate ptrace_peeksiginfo_args definition
Backport a patch from upstream to fix a conflict between glibc
headers and recent kernel headers (v3.10 or newer).

Signed-off-by: Anton Blanchard <anton@samba.org>
Acked-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-01-08 23:21:26 +01:00
Baruch Siach
b8bad3ae49 strace: disable unsupported nios2 arch
Fixes
http://autobuild.buildroot.net/results/88f330254a83fbc105a74e76df586672d2c369c4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-01 20:54:41 +01:00
Gustavo Zacarias
205f06c615 strace: fix legal info
The license file changed from COPYRIGHT->COPYING. Fixes:
http://autobuild.buildroot.net/results/b61/b61e1775cd1eec83470424e88ced5bd49e0cd469/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-10 23:07:42 +02:00
Chris Zankel
45ef34d5cf strace: upgrade to 4.8, supporting now aarch64, and xtensa
Remove 'strace-fix-arm-bad-syscall.patch'. This patch had been integrated
in v4.6 (commit: 9bc6340d2) and was later replaced with a generic solution
in v.7 (commit: 2ce12ed31c2).

Strace still cannot handle non-LFS environments, so a modified version of
strace-fix-disabled-largefile-syscalls.patch remains. The 64-bit syscalls
(sys_truncate64, etc.) are references in the sysent structure but the
functinon definitions are commented out becuase of the missing LFS support.

The workaround for the 'forced lfs mode' doesn't seem to be necessary anymore.

Build tested on arm w and w/o LFS support.

[Peter: arc still not supported]
Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-10 14:03:46 +02:00
Alexandre Belloni
8dfd59d114 Normalize separator size to 80
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-06-06 22:30:24 +02:00
Gustavo Zacarias
2e040c6310 strace: unavailable for AArch64 and ARC
strace isn't available for the AArch64 and ARC architectures.
The patchset for AArch64 is somewhat big and complicated (needs updates
to other bits) so it'd probably be better to use a git version of strace
or wait for a new release.
http://autobuild.buildroot.net/results/506f4adec348f0b616ad09bddbcbc242e38253b8/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-11 14:52:27 +02:00
Chris Zankel
413dcfdcf6 xtensa: disable package strace for Xtensa
The current version of strace does not support the Xtensa architecture.

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-01-14 22:53:36 +01:00
James Hogan
d490bb6c37 strace: remove undef-CTL_PROC patch
This patch is no longer necessary since strace-v4.5.15 which always
defines CTL_PROC. Specifically strace git commit
35a55785ea8ff44d214af52085e3a5ea624730aa.

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-29 16:32:38 -08:00
Arnout Vandecappelle (Essensium/Mind)
edaf2eaade strace: add license info
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-11-14 22:37:29 +01:00
Arnout Vandecappelle
8ada3b45e6 strace: fix build for x86_64
strace fails to build on x86_64 because stat64 is not available.  This
is because the automatic detection of stat64 in configure is overridden
by buildroot, by setting ac_cv_type_stat64.  Just remove that override -
current strace seems to detect it correctly for non-largefile platforms.

Build-tested on x86_64 (with largefile), ARM (with and without largefile),
sh4, MIPS and ppc-32 (no largefile).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-30 22:04:44 +01:00
Peter Korsgaard
23f6455bff strace: fix build with BR2_LARGEFILE
http://autobuild.buildroot.net/results/4ce0ce4dcb917889ef70208bd4bac63851c1fb92

Strace gets confused when built with -D_FILE_OFFSET_BITS=64 (which
transparently uses the lfs versions of functions/types), so strip this
from compiler/preprocessor flags.

Inspired by Gentoo who does the same:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-util/strace/strace-4.7.ebuild

Tested using qemu_arm_versatile_defconfig and the following command line:
strace dd if=/dev/zero bs=1M skip=5000 count=1 of=/dev/null

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-29 21:35:10 +01:00
Markos Chandras
3732b05b1d strace: Version bump to 4.7
This also fixes a compilation problem with kernel headers 3.5
http://autobuild.buildroot.net/results/bb66a3a06d26f558e1c4c0593bb68e7af1d82398/build-end.log

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-04 22:30:51 +02:00
Stefan Fröberg
23ef45ca1e remove rest of the BR2_SOURCEFORGE_MIRROR references
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-08-28 22:59:52 +02:00
Arnout Vandecappelle (Essensium/Mind)
e1502ebc0c all packages: rename XXXTARGETS to xxx-package
Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17 20:23:05 +02:00
Thomas Petazzoni
300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00
Gustavo Zacarias
17dfec8c9b toolchain: drop BR2_CROSS_TOOLCHAIN_TARGET_UTILS option
It's really not very useful, all it does is install a target
strace and ldd in a target_utils directory in staging.
While at it clean up the strace makefile a bit.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-12-29 23:14:48 +01:00
Peter Korsgaard
1860bdae8c Merge branch 'for-2010.11/remove-oldstyle-hooks' of git://git.busybox.net/~tpetazzoni/git/buildroot
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-16 13:36:00 +02:00
Peter Korsgaard
ba4fd23559 strace: bump version, remove patches now upstream
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-09-13 14:10:09 +02:00
Thomas Petazzoni
d2b7b19a57 strace: convert to new style hook
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-12 19:26:53 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Peter Korsgaard
ff01f2d29b strace: fix build for arm eabi
Based on patch from gentoo bug 241168: http://bugs.gentoo.org/241168

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-24 21:21:21 +02:00
Peter Korsgaard
92bd25c9eb toolchain: fix up GNU_TARGET_NAME link and target_utils location
The GNU_TARGET_NAME symlink and target_utils location were not correctly
adjusted to match the move of the toolchain to $(STAGING_DIR)/usr,
creating dangling symlinks.
2009-01-30 13:34:42 +00:00
Hans-Christian Egtvedt
555474f2da strace: fix AVR32 arch patches and refresh all patches to apply clean
This patch updates the AVR32 arch patches for strace 4.5.18 and refreshes all
the other patches so they apply clean.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2009-01-08 09:24:32 +00:00
Peter Korsgaard
5c4674da56 strace: fix build on ARM (no <asm/cachectl.h>) 2008-12-22 22:10:38 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Hans-Christian Egtvedt
ac273635a6 strace: fix lower case no to NO when setting STRACE_AUTORECONF
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-12-01 13:49:23 +00:00
Peter Korsgaard
b09d3f77a4 strace: bump version
Fixes build with 2.6.27 kernel headers
2008-10-20 09:04:49 +00:00
Peter Korsgaard
720c0ca5ba strace: convert to makefile.autotools.in format 2008-08-04 19:07:41 +00:00
Peter Korsgaard
c30e297e33 strace: also remove from target-utils on clean 2008-08-04 19:07:38 +00:00
Peter Korsgaard
60b5eee76e package: global largefile CFLAGS handling 2008-08-04 19:07:18 +00:00
Peter Korsgaard
02a623ddf9 buildroot: remove trailing spaces
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
	sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
62c21f8971 strace: fix LARGEFILE typo
Patch by Claus Klein.
2008-08-04 19:06:10 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Peter Korsgaard
445cde11bf strace: use .patch.$ARCH naming convention 2008-04-24 09:03:19 +00:00
Peter Korsgaard
dfe689229d buildroot: cleanup <package>-clean targets.
Based on input from Arndt Kritzner & Bernhard Fischer.
2008-03-27 15:42:42 +00:00
Nigel Kukard
ddd12b34b3 * Strace requires both if_packet.h and netlink.h
- Force detection of these in configure by supplying environment 
  variables

For them to be detected by configure may require a much more 
invasive approach by patching configure.ac and regenerating
apon build.
2008-03-24 19:29:34 +00:00
Ulf Samuelsson
9bca0b4b6d Fix strace build for AVR32 2007-11-03 07:23:18 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
6547bced93 - global whitespace trimming 2007-08-22 12:35:41 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Bernhard Reutner-Fischer
75e4ffffd3 - fix brackets if socketcall or ipc are not available (Yann E. MORIN) 2007-07-24 17:59:15 +00:00
Ulf Samuelsson
0ad937e915 Add AVR32 support for strace 2007-07-23 10:26:23 +00:00
Ulf Samuelsson
e1621a4a2a Use <package>_VERSION in all <package>.mk instead of <package>_VER 2007-07-11 14:06:06 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Eric Andersen
15177a6e95 yet more LDFLAGS handling fixups 2007-03-14 03:12:22 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
"Steven J. Hill"
642457d602 Fix building of strace for MIPS. 2007-02-07 02:51:45 +00:00
"Steven J. Hill"
821eb62d99 When cleaning, get rid of the binary from the filesystem area too. 2007-02-06 18:12:22 +00:00
Bernhard Reutner-Fischer
1c8951ca79 - account for some more possibly unavailable syscalls 2007-02-04 18:21:58 +00:00
Bernhard Reutner-Fischer
0ba1bd72f3 - bump version and make it behave of LFS is off 2007-01-29 17:02:31 +00:00