Date: Sat, 15 May 2010 22:50:06 GMT From: Marius Strobl <marius@alchemy.franken.de> To: freebsd-sparc64@FreeBSD.org Subject: Re: sparc64/146387: 'file' command on sparc64 doesn't interpret sparc64 (V9) executables Message-ID: <201005152250.o4FMo6vX061128@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR sparc64/146387; it has been noted by GNATS. From: Marius Strobl <marius@alchemy.franken.de> To: yuri@tsoft.com Cc: bug-followup@FreeBSD.org, Nathan Whitehorn <nwhitehorn@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005152250.o4FMo6vX061128>