Re: strace for armv5l eabi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Friday 06 June 2008 12:25, Jim Freeman wrote:
> I can confirm that it works with the stock Debian/Lenny/armel
> strace 4.5.15 :
>
> 	# cat /proc/cpuinfo
> 	Processor       : ARM926EJ-S rev 5 (v5l)
> 	...
>
> 	# strace -V
> 	strace -- version 4.5.15
>
> 	# strace ls
> 	...
> 	close(1)                                = 0
> 	munmap(0x4001e000, 4096)                = 0
> 	close(2)                                = 0
> 	exit_group(0)                           = ?
> 	Process 1758 detached
>
> 	# echo $?
> 	0

Thanks Jim, I built 4.5.15 from 
http://packages.debian.org/testing/strace4.5.15 source package
and it's working.

-imcd


>
> On Fri, Jun 06, 2008 at 12:15:27PM -0400, Ian McDonnell wrote:
> > Can any one confirm that strace-4.5.14 will work with
> > an ARMv5 EABI build?  I applied the Debian
> > strace_4.5.14-2.diff patch to fix the build problem with
> > 'PT_CR_IPSR'.
> >
> > For strace-4.5.14 configuration I used:
> >
> > 	export CC=$(CROSS_COMPILE)gcc
> > 	export LD=$(CROSS_COMPILE)ld
> > 	export CFLAGS=-I$(LINUX_KERNEL)/include
> >
> > 	./configure --host armv5l-gnu-linux
> >
> > to build on an 'i686-pc-linux-gnu' system using
> > armv5-linux-gcc-4.2.1, glibc-2.4.0, binutils 2.18.50 cross
> > toolchain.
> >
> > I can see that the kernel include path is appearing on the
> > cross compiler command during build.
> >
> > When running the resulting binary on the target, ARMv5TEJ
> > (el) linux-2.6.23 glibc-2.4.0, I get...
> >
> > # ./strace-4.5.14/strace ls
> > syscall: unknown syscall trap 0xef000000
> >
> > -imcd

-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter