Re: static linking error: ELF binary type "0" not known. Exec format error. Binary file not executable.

Anton Shterenlikht <[email protected]>
Newsgroups gmane.os.freebsd.devel.ia64
Message-ID <[email protected]>
On Wed, Nov 10, 2010 at 09:37:18AM -0800, Marcel Moolenaar wrote:
> 
> 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, thanks, but what am I to do?

I presume gfortran45 (part of lang/gcc45) uses binutils from ports, 
which at present is at binutils-2.20.1_3.
Is this version still not good enough?

This article
http://www.freebsd.org/doc/en/articles/custom-gcc/article.html

also mentions adjusting (creating) /etc/libmap.conf 
Do I need to do this?

Sorry if I'm talking nonsense. I probably don't
understand what the problem is exactly.

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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ia64
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.