sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables

Nathan Whitehorn nwhitehorn at freebsd.org
Sat May 8 22:20:04 UTC 2010


The following reply was made to PR sparc64/146387; it has been noted by GNATS.

From: Nathan Whitehorn <nwhitehorn at freebsd.org>
To: Yuri <yuri at tsoft.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64
 (V9) executables
Date: Sat, 08 May 2010 18:19:49 -0400

 Yuri wrote:
 > Description:
 >   
 > On sparc64:
 >   
 >> file `which file`
 >>     
 > /usr/bin/file: ERROR: ELF 64-bit MSB executable, SPARC V9, relaxed memory ordering, version 1 (FreeBSD), statically linkederror reading (File too large)
 >
 > But when I try 'file' from i386 it correctly recognizes sparc64 executables.
 >   
 This same thing happens on 64-bit PowerPC, and on all big-endian systems 
 (32 or 64 bit) when running file on 64-bit big-endian ELF files. It 
 looks like an endian bug in libmagic.
 -Nathan
 


More information about the freebsd-sparc64 mailing list