6879dc239b
The patch [1] introduced in strace 1.17 uses the old way of accessing
SP register as defined for kernel headers < 4.0. The kernel headers
for nios2 has been changed in commit [2].
This patch updates strace to use the new kernel/userspace interface.
Fixes:
http://autobuild.buildroot.net/results/b9f/b9fc25b82f3280872fe1593ac252a8529ba83576
[1] 6117728aac
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=92d5dd8cd6e2b211d32d8fbc6cf4b7470765a09f
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: improve a bit the commit log and patch description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 lines
471 B
Plaintext
15 lines
471 B
Plaintext
config BR2_PACKAGE_STRACE
|
|
bool "strace"
|
|
# needs at least kernel headers 4.0 on nios2
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0 || !BR2_nios2
|
|
help
|
|
A useful diagnostic, instructional, and debugging tool.
|
|
Allows you to track what system calls a program makes
|
|
while it is running.
|
|
|
|
http://sourceforge.net/projects/strace/
|
|
|
|
comment "strace needs a toolchain w/ headers >= 4.0 on nios2"
|
|
depends on BR2_nios2
|
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_0
|