Subject: Solaris 2.5 binary....
To: None <port-sparc@NetBSD.ORG>
From: Eric Jantzen <Eric.Jantzen@ccmitpa.univ-lyon1.fr>
List: port-sparc
Date: 07/06/1996 14:16:21
Hello,

I don't know why, but I can't use Solaris 2.5 binary on my NetBSD 1.1.

I have this on my arch/sparc/conf/GENERIC

---begin---
options         COMPAT_SVR4             # compatibility with SVR4 binaries
---end---


I have made a "/emul/svr4" and mount my Solaris 2.5 on it,
but when I try a Solaris 2.5 "ls", I have this:

---begin---
eric@starsun:/emul/svr4/bin 61 # ./ls
Illegal instruction (core dumped)
---end---

And, 

---begin---
eric@starsun:/emul/svr4/bin 63 # gdb ./ls ./ls.core 
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.11 (sparc-netbsd), Copyright 1993 Free Software Foundation, Inc...

"/usr/emul/svr4/usr/bin/./ls": not in executable format: File format not recognized.


warning: core file may not match specified executable file.
Core was generated by `ls'.
Program terminated with signal 4, Illegal instruction.
Couldn't read input and local registers from core file
#0  0x10021ec0 in ?? ()
(gdb) quit
---end---

It is a problem with ELF binary ??

---begin---
eric@starsun:/emul/svr4/bin 60 # file ls
ls: ELF 32-bit MSB executable, SPARC, version 1
---end---

Thank's.

Eric JANTZEN