Bug#376282: elfsh: segfault with hello world mips binary

2006-07-26 Thread Timo Juhani Lindfors
Hi, On Wed, Jul 26, 2006 at 01:42:46AM +0100, Thiemo Seufer wrote: Can an i386 elfsh load any big endian binary successfully? I copied /bin/ls from a sparc computer to a i386 system and elfsh seems to segfault for that too: [EMAIL PROTECTED] file ls ls: ELF 32-bit MSB executable, SPARC,

Bug#376282: elfsh: segfault with hello world mips binary

2006-07-26 Thread Thiemo Seufer
Timo Juhani Lindfors wrote: Hi, On Wed, Jul 26, 2006 at 01:42:46AM +0100, Thiemo Seufer wrote: Can an i386 elfsh load any big endian binary successfully? I copied /bin/ls from a sparc computer to a i386 system and elfsh seems to segfault for that too: [EMAIL PROTECTED] file ls ls:

Bug#376282: elfsh: segfault with hello world mips binary

2006-07-25 Thread Timo Juhani Lindfors
Hi, On Mon, Jul 24, 2006 at 09:44:54AM +0100, Thiemo Seufer wrote: I can confirm that - The hello world binary runs fine natively. - elfsh loads this binary as expected on mips, and also on powerpc. Sorry, I forgot to mention that I'm running elfsh itself on i386: [EMAIL PROTECTED]:~$

Bug#376282: elfsh: segfault with hello world mips binary

2006-07-25 Thread Thiemo Seufer
Timo Juhani Lindfors wrote: [snip] The first suspect which comes to mind is some endianness issue. Does ELFsh succeed in loading any object of the other endianness? Yes, the i386 elfsh can load ELF binaries for i386 normally here. Erm, my question was: Can an i386 elfsh load any big endian

Bug#376282: elfsh: segfault with hello world mips binary

2006-07-24 Thread Thiemo Seufer
Timo Lindfors wrote: Package: elfsh Version: 0.51b3-2.1 Severity: normal Steps to reproduce: 1) cat hello.c EOF #include stdio.h int main(int argc, char **argv) { printf(Hello world\n); return 0; } EOF 2) mips-unknown-linux-gnu-gcc -o hello hello.c 3) elfsh 4)