[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: binutils: [mips] ar doesn't recognize ELF64



On Tue, Apr 18, 2006 at 04:06:46PM -0600, Stuart R. Anderson wrote:
> Package: binutils
> Version: 2.16.1cvs20060117-1.1
> Severity: important
> Tags: patch
> 
> ar (and ranlib) do not correctly identify ELF64 files in an archive. It complains that
> the format is ambiguous.
> 
> cc -mabi=64   -c -o foo.o foo.c
> ar cq libfoo.a foo.o
> ar t libfoo.a
> ar: libfoo.a: File format is ambiguous
> ar: Matching formats: ecoff-littlemips ecoff-bigmips elf64-tradlittlemips
> 
> The test case illustrated here is attached.
> 
> A workaround/fix for this is to drop the ecoff format support when configuring binutils
> for mips or mipsel. Has linux ever supported ecoff on mips anyway? A patch for this
> is also attached.
> 

AFAIK, ecoff support is needed for the kernels, when booting from the
network. So I am not sure it is a good idea to remove it.

I am Cc:ing the debian-mips list, I am sure some people on the list know
more about that.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: