![]() |
|
|||||||
| NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
|
Thread Tools | Display Modes |
|
|||
|
Hi all,
I was following man compat_svr4, but I can't get it working. I remember having run sunos 68k binaries on a hp 300 netbsd machine, but nowadays, I don't get sparc64 solaris 9 binaries running on a netbsd 6 ultra: I have a solaris 9 binary: ultra5:/emul# file /applications/gnat-3.13p/bin/gcc /applications/gnat-3.13p/bin/gcc: ELF 32-bit MSB executable, SPARC32PLUS, (SYSV), dynamically linked (uses shared libs), not stripped I have its shared library (both taken from the same solaris 9 machine): ultra5:/emul# file /emul/svr4_32/usr/lib/libc.so.1 /emul/svr4_32/usr/lib/libc.so.1: ELF 32-bit MSB shared object, SPARC, (SYSV), dynamically linked, not stripped It is not found - but that's maybe because I use the netbsd ldd: ultra5:/emul# ldd /applications/gnat-3.13p/bin/gcc /applications/gnat-3.13p/bin/gcc: -lc.1 => not found it crashes ultra5:/emul# /applications/gnat-3.13p/bin/gcc -v Segmentation fault (core dumped) The gcc driver should be quite simple and run. Also, all other solaris binaries seg fault. My kernel config includes ultra5:/emul# uname -a NetBSD ultra5 6.0 NetBSD 6.0 (ULTRA5and10) #0: Mon Oct 22 00:08:16 PDT 2012 root@ultra5:/usr/src/sys/arch/sparc64/compile/ULTRA5and10 sparc64 ultra5:/emul# grep EXEC_ELF32 /usr/src/sys/arch/sparc64/conf/ULTRA5and10 options EXEC_ELF32 # Exec module for SunOS 5.x binaries. ultra5:/emul# grep COMPAT_NETBSD32 /usr/src/sys/arch/sparc64/conf/ULTRA5and10 options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility -- 64-bit only Any idea how to proceed from here? |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 5.2 and Packettracer 53 emulation | hugsvarna | OpenBSD General | 2 | 23rd November 2012 08:17 PM |
| Atheros Wifi NetBSD on a Sparc64 | granowski | NetBSD General | 1 | 27th September 2010 11:35 AM |
| Maven/Lift on NetBSD sparc64 | not1337 | NetBSD Package System (pkgsrc) | 6 | 29th July 2010 10:59 PM |
| Solaris by Megadeth was way more fun, Solaris 8 hanging on boot | bleepingnetwork | Solaris | 2 | 18th November 2009 06:39 PM |
| Linux emulation | Mr-Biscuit | FreeBSD General | 2 | 9th October 2008 09:44 PM |