Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Nov 2010 09:37:18 -0800
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-ia64@freebsd.org
Subject:   Re: static linking error: ELF binary type "0" not known. Exec format error. Binary file not executable.
Message-ID:  <6C419924-B040-4522-8EDA-2742C047BE42@mac.com>
In-Reply-To: <20101110133233.GA74882@mech-cluster241.men.bris.ac.uk>
References:  <20101110133233.GA74882@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

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@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C419924-B040-4522-8EDA-2742C047BE42>