binutils problem? WAS [Re: static linking error: ELF binary type "0" not known. Exec format error. Binary file not executable.]

From: Anton Shterenlikht <mexas_at_bristol.ac.uk>
Date: Fri, 3 Dec 2010 09:58:32 +0000
----- Forwarded message from Marcel Moolenaar <xcllnt_at_mac.com> -----
On Nov 10, 2010, at 5:32 AM, Anton Shterenlikht wrote:

[ia64]
> ia64% file a.out 
> a.out: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), statically linked, not stripped

[amd64]
> amd64% file a.out 
> a.out: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 9.0 (900023), not stripped

The branding on ia64 is wrong. The executable is not marked as being
a FreeBSD executable. It's declared as SYSV, whereas on amd64 it's
properly declared as FreeBSD.

This is a binutils problem.
FYI,

-- 
Marcel Moolenaar
xcllnt_at_mac.com

----- End forwarded message -----


Anybody here can explain better what Marcel means
by "binutils problem", and how to fix it?

I've binutils-2.20.1_3 installed from devel/binutils.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
Received on Fri Dec 03 2010 - 08:58:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:09 UTC