NetBSD-Bugs archive

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

lib/52987: ld.elf_so-sparc broken on sparc64

>Number:         52987
>Category:       lib
>Synopsis:       ld.elf_so-sparc broken on sparc64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 07 16:10:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.12
The NetBSD Foundation, Inc.
System: NetBSD 8.99.12 NetBSD 8.99.12 (MODULAR) #59: Tue Jan 30 13:52:49 CET 2018 sparc64
Architecture: sparc64
Machine: sparc64

Between Jan 30 and today "something" broke the 32bit compat ld.elf_so
on sparc64, although no relevant changes happened to src/libexec/ld.elf_so.

This breaks all atf tests running 32bit compat binaries.

Replacing /libexec/ld.elf_so-sparc with an older version fixes the fallout.


Compile the typical hello.c with -m32 (but w/o -static) and try to run
the exectutable. It dies in _sysctl() when the caller meant to call
something else (and thus with completely bogus arguments).


Home | Main Index | Thread Index | Old Index