NetBSD-Bugs archive

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

toolchain/52857: cannot run dynamically linked mips n64 binaries



>Number:         52857
>Category:       toolchain
>Synopsis:       cannot run dynamically linked mips n64 binaries
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 24 02:20:00 +0000 2017
>Originator:     coypu
>Release:        NetBSD  8.99.9 NetBSD 8.99.9 (ERLITE) #1: Sat Dec 23 01:25:04 IST 2017  fly@localhost:/home/fly/mipseb/sys/arch/evbmips/compile/ERLITE evbmips
>Organization:
>Environment:
NetBSD 8.99.9
>Description:
# cat test.c
int main() { return 0; }
# gcc -mabi=64 test.c
# ./a.out
pid 6581(sh): ABI set to N64 (e_flags=0x20000007)
sp = 0xffffff78b0, argc = 1, argv = 0xffffff78c8 <./a.out> relocbase 0xfff86c0000
got is at 0xfff86e7860, dynamic is at 0xfff86c0cf8
env[0] = 0xffffff7e38 ENV=/root/.shrc
env[1] = 0xffffff7e48 BLOCKSIZE=1k
env[2] = 0xffffff7e55 PWD=/root
env[3] = 0xffffff7e5f HOME=/root
env[4] = 0xffffff7e6a PATH=/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/pkg/bin:/home/fly/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/
env[5] = 0xffffff7f8b HOST=
env[6] = 0xffffff7f91 TERM=vt100
env[7] = 0xffffff7f9c OLDPWD=/usr/tests/libexec
env[8] = 0xffffff7fb6 USER=root
env[9] = 0xffffff7fc0 LOGNAME=root
env[10] = 0xffffff7fcd SHELL=/bin/sh
headers: digesting PT_DYNAMIC at 0xfff86c0cf8
  d_tag 16 at 0xfff86c0cf8
  d_tag 4 at 0xfff86c0d08
  d_tag 5 at 0xfff86c0d18
  d_tag 6 at 0xfff86c0d28
  d_tag 10 at 0xfff86c0d38
  d_tag 11 at 0xfff86c0d48
  d_tag 3 at 0xfff86c0d58
  d_tag 17 at 0xfff86c0d68
  d_tag 18 at 0xfff86c0d78
  d_tag 19 at 0xfff86c0d88
  d_tag 1879048193 at 0xfff86c0d98
  d_tag 1879048197 at 0xfff86c0da8
  d_tag 1879048198 at 0xfff86c0db8
  d_tag 1879048202 at 0xfff86c0dc8
  d_tag 1879048209 at 0xfff86c0dd8
  d_tag 1879048210 at 0xfff86c0de8
  d_tag 1879048211 at 0xfff86c0df8
 added path "/usr/lib"
 added path "/usr/lib/64"
/usr/lib/64/libc.so.12: Unsupported relocation type 4611 in non-PLT relocations
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index