From owner-freebsd-sparc64@FreeBSD.ORG Sat May 15 22:50:07 2010 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1940A1065674 for ; Sat, 15 May 2010 22:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E35DD8FC12 for ; Sat, 15 May 2010 22:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4FMo6V3061129 for ; Sat, 15 May 2010 22:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4FMo6vX061128; Sat, 15 May 2010 22:50:06 GMT (envelope-from gnats) Date: Sat, 15 May 2010 22:50:06 GMT Message-Id: <201005152250.o4FMo6vX061128@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Marius Strobl Cc: Subject: Re: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marius Strobl List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 May 2010 22:50:07 -0000 The following reply was made to PR sparc64/146387; it has been noted by GNATS. From: Marius Strobl To: yuri@tsoft.com Cc: bug-followup@FreeBSD.org, Nathan Whitehorn 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