strace: Disable for MIPS when using a uClibc toolchain
PATCH 1/1 strace: Disable for MIPS when using a uClibc toolchain
A change introduced in strace-4.9 makes it incompatible with MIPS architecture when using a uClibc toolchain. This is the failure:
signal.c: In function 'printsiginfo':
signal.c:453:9: error: 'siginfo_t' has no member named 'si_timerid'
sip->si_timerid, sip->si_overrun);
^
signal.c:453:26: error: 'siginfo_t' has no member named 'si_overrun'
sip->si_timerid, sip->si_overrun);uClibc needs to be patched in order to fix this problem. In the meantime we disable strace for MIPS when using a uClibc toolchain.
Fixes:
http://autobuild.buildroot.net/results/91c/91c0413e755c365332bc15d1d69ab3d6160ae78c/
--- package/strace/Config.in | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
package/strace/Config.in +6 -0
@@ -1,6 +1,8 @@ config BR2_PACKAGE_STRACE bool "strace" depends on !BR2_nios2 + depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) \ + && BR2_TOOLCHAIN_USES_UCLIBC) depends on BR2_LARGEFILE help A useful diagnostic, instructional, and debugging tool.
@@ -11,3 +13,7 @@ config BR2_PACKAGE_STRACE comment "strace needs a toolchain w/ largefile" depends on !BR2_LARGEFILE + +comment "strace is not supported on MIPS using a uClibc toolchain" + depends on (BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && \ + BR2_TOOLCHAIN_USES_UCLIBC
Signature · 1 line
1.7.1
PATCH 1/1 strace: Disable for MIPS when using a uClibc toolchain
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Vicente" == Vicente Olivert Riera <[email protected]> writes:
A change introduced in strace-4.9 makes it incompatible with MIPS architecture when using a uClibc toolchain. This is the failure:
signal.c: In function 'printsiginfo':
signal.c:453:9: error: 'siginfo_t' has no member named 'si_timerid'
sip-> si_timerid, sip->si_overrun);
Quoted 2 lines
^signal.c:453:26: error: '
siginfo_t' has no member named 'si_overrun'
sip-> si_timerid, sip->si_overrun);
Quoted 8 lines
uClibc needs to be patched in order to fix this problem. In the meantime we disable strace for MIPS when using a uClibc toolchain.
Fixes:
http://autobuild.buildroot.net/results/91c/91c0413e755c365332bc15d1d69ab3d6160ae78c/
Signed-off-by Vicente Olivert Riera <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 strace: Disable for MIPS when using a uClibc toolchain
In reply to Vicente Olivert RieraHi Vicente,
Vicente Olivert Riera wrote,
Quoted 5 lines
A change introduced in strace-4.9 makes it incompatible with MIPS architecture when using a uClibc toolchain. This is the failure:
signal.c: In function 'printsiginfo':
signal.c:453:9: error: 'siginfo_t' has no member named 'si_timerid'
Quoted 7 lines
sip->si_timerid, sip->si_overrun); ^ signal.c:453:26: error: 'siginfo_t' has no member named 'si_overrun' sip->si_timerid, sip->si_overrun);uClibc needs to be patched in order to fix this problem. In the meantime we disable strace for MIPS when using a uClibc toolchain.
Can you sent a patch to uClibc mailing list fixing this issue? System without strace is had to debug.
best regards
Waldemar