Subject: pkg/33723: file command doesn't show 'executable' for statically linked sun3 exec
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sigmfsk@aol.com>
List: pkgsrc-bugs
Date: 06/13/2006 20:50:01
>Number: 33723
>Category: pkg
>Synopsis: file command doesn't show 'executable' for statically linked sun3 exec
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jun 13 20:50:00 +0000 2006
>Originator: Arthur Townsend
>Release: 3.0
>Organization:
>Environment:
NetBSD 3.0 NetBSD 3.0 (WITHSUNOS) #0: Mon Jun 12 22:40:11 EDT 2006 root@:/usr/src/sys/arch/sun3/compile/WITHSUNOS sun3
>Description:
When doing a 'file' on a sun3 dynamically linked executable, both SunOS NetBSD report the same thing: mc68020 demand paged dynamically linked executable not stripped.
But when doing a 'file' on a sun3 statically linked executable, NetBSD does not document that the file is 'executable'. NetBSD shows: mc68020 demand paged not stripped, while SunOS shows: mc68020 demand paged executable not stripped". Although its a pretty good hint that the file is an exectuble, being that NetBSD shows "mc68020", I believe that the magic file could be improved by having it say "mc68020 executable" or such for statically linked executables.
>How-To-Repeat:
Create statically linked executable under Sun3 SunOS 4.1.1, then copy to any NetBSD system.
>Fix:
Update the magic file to change "mc68020" to "mc68020 executable" and change "dynamically linked executable" to "dynamically linked".