NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-mips/44375: NetBSD/mips 1.6 binary doesn't work on NetBSD/mips -current
>Number: 44375
>Category: port-mips
>Synopsis: NetBSD/mips 1.6 binary doesn't work on NetBSD/mips -current
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-mips-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 12 11:45:00 +0000 2011
>Originator: Izumi Tsutsui
>Release: NetBSD 5.99.43
>Organization:
>Environment:
System: NetBSD/pmax 5.99.43 on GXemul and 3MIN, NetBSD/sgimips on O2
Architecture: mips
Machine: confirmed on pmax and sgimips, but maybe affects all mips ports
>Description:
NetBSD/mips 1.6 binaries doesn't work on recent NetBSD/mips 5.99.43
on a GENERIC kernel with options COMPAT_12 .. 50 due to "Exec format error."
>How-To-Repeat:
For a quick test:
- install gxemul
- fetch
ftp://ftp.NetBSD.org/pub/NetBSD/misc/tsutsui/fsimage/pmax-201101090300Z.img.gz
- gunzip pmax-201101090300Z.img.gz
- gxemul -Xe 3max -d pmax-201101090300Z.img
- in gxemul window:
login: root
:
# /echo-1.6
/echo-1.6: Exec format error. Wrong Architecture.
# file /echo-1.6
/echo-1.6: ELF 32-bit LSB executable, MIPS, MIPS-I version 1 (SYSV),
statically linked, for NetBSD, stripped
# uname -a
NetBSD 5.99.43 NetBSD 5.99.43 (GENERIC) #0: Sun Jan 9 03:13:28 UTDC 2011
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/pmax/201101090300Z-obj/home/builds/ab/HEAD/src/sys/arch/pmax/compile/GENERIC
pmax
#
- Dynamic linked binares don't work either.
- Also happens on NetBSD/pmax on real 3MIN (R3000)
and NetBSD/sgmips real O2 (R5000).
- Works fine on NetBSD/sgimips 5.99.22 kernel on the same O2.
>Fix:
Check arch/mips/mips/cpu_exec.c etc?
---
Izumi Tsutsui
>Unformatted:
Fetched from HEAD/201101090300Z on daily build
Home |
Main Index |
Thread Index |
Old Index