atom feed4 messages in org.freebsd.freebsd-sparc64Re: sparc64/146387: 'file' command on...
FromSent OnAttachments
YuriMay 7, 2010 9:43 pm 
Nathan WhitehornMay 8, 2010 3:19 pm 
Marius StroblMay 11, 2010 12:19 pm 
Marius StroblMay 15, 2010 3:49 pm 
Subject:Re: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables
From:Marius Strobl (mar@alchemy.franken.de)
Date:May 15, 2010 3:49:30 pm
List:org.freebsd.freebsd-sparc64

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

From: Marius Strobl <mar@alchemy.franken.de> To: yu@tsoft.com Cc: bug-@FreeBSD.org, Nathan Whitehorn <nwhi@FreeBSD.org> Subject: Re: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64
(V9) executables Date: Sun, 16 May 2010 00:40:35 +0200

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.

Could you please try with file and libmagic rebuilt with the following patch? http://people.freebsd.org/~marius/libmagic_config.h_5.03.diff

I can't reproduce the exact same problem but the issues I have with file(1) and ELF binaries are fixed with it.

Marius