From owner-freebsd-ia64@FreeBSD.ORG Mon Nov 8 11:06:58 2010 Return-Path: Delivered-To: freebsd-ia64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1E5310656AA for ; Mon, 8 Nov 2010 11:06:58 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A57CA8FC18 for ; Mon, 8 Nov 2010 11:06:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8B6wD5088110 for ; Mon, 8 Nov 2010 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8B6wM1088108 for freebsd-ia64@FreeBSD.org; Mon, 8 Nov 2010 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Nov 2010 11:06:58 GMT Message-Id: <201011081106.oA8B6wM1088108@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ia64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ia64@FreeBSD.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:06:58 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ia64/147501 ia64 [ia64] options PREEMPTION causes instability 1 problem total. From owner-freebsd-ia64@FreeBSD.ORG Mon Nov 8 11:52:15 2010 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABBB0106564A; Mon, 8 Nov 2010 11:52:15 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0248FC08; Mon, 8 Nov 2010 11:52:15 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oA8BqEu4012062; Mon, 8 Nov 2010 06:52:14 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oA8BqEnt012061; Mon, 8 Nov 2010 11:52:14 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 8 Nov 2010 11:52:14 GMT Message-Id: <201011081152.oA8BqEnt012061@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:52:15 -0000 TB --- 2010-11-08 10:52:29 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-08 10:52:29 - starting HEAD tinderbox run for ia64/ia64 TB --- 2010-11-08 10:52:29 - cleaning the object tree TB --- 2010-11-08 10:52:56 - cvsupping the source tree TB --- 2010-11-08 10:52:56 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/ia64/ia64/supfile TB --- 2010-11-08 10:53:28 - building world TB --- 2010-11-08 10:53:28 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-08 10:53:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-08 10:53:28 - TARGET=ia64 TB --- 2010-11-08 10:53:28 - TARGET_ARCH=ia64 TB --- 2010-11-08 10:53:28 - TZ=UTC TB --- 2010-11-08 10:53:28 - __MAKE_CONF=/dev/null TB --- 2010-11-08 10:53:28 - cd /src TB --- 2010-11-08 10:53:28 - /usr/bin/make -B buildworld >>> World build started on Mon Nov 8 10:53:29 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] Making grotty.1 from /src/gnu/usr.bin/groff/src/devices/grotty/../../../../../../contrib/groff/src/devices/grotty/grotty.man gzip -cn grotty.1 > grotty.1.gz ===> gnu/usr.bin/groff/src/preproc (all) ===> gnu/usr.bin/groff/src/preproc/eqn (all) c++ -O2 -pipe -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/preproc/eqn -I. -DHAVE_CONFIG_H -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/include -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../src/include -fno-rtti -fno-exceptions -c eqn.cpp y.tab.c: In function 'int yygrowstack()': y.tab.c:703: error: invalid conversion from 'void*' to 'short int*' y.tab.c:709: error: invalid conversion from 'void*' to 'YYSTYPE*' *** Error code 1 Stop in /src/gnu/usr.bin/groff/src/preproc/eqn. *** Error code 1 Stop in /src/gnu/usr.bin/groff/src/preproc. *** Error code 1 Stop in /src/gnu/usr.bin/groff/src. *** Error code 1 Stop in /src/gnu/usr.bin/groff. *** Error code 1 Stop in /src/gnu/usr.bin. *** Error code 1 Stop in /src/gnu. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-11-08 11:52:14 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-08 11:52:14 - ERROR: failed to build world TB --- 2010-11-08 11:52:14 - 2664.38 user 543.05 system 3584.73 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-ia64@FreeBSD.ORG Tue Nov 9 01:27:20 2010 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15B53106564A; Tue, 9 Nov 2010 01:27:20 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id DDBA78FC23; Tue, 9 Nov 2010 01:27:19 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oA91RJEO070203; Mon, 8 Nov 2010 20:27:19 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oA91RJbb070198; Tue, 9 Nov 2010 01:27:19 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 9 Nov 2010 01:27:19 GMT Message-Id: <201011090127.oA91RJbb070198@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on ia64/ia64 X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 01:27:20 -0000 TB --- 2010-11-09 00:09:56 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-09 00:09:56 - starting HEAD tinderbox run for ia64/ia64 TB --- 2010-11-09 00:09:56 - cleaning the object tree TB --- 2010-11-09 00:10:05 - cvsupping the source tree TB --- 2010-11-09 00:10:05 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/ia64/ia64/supfile TB --- 2010-11-09 00:10:28 - building world TB --- 2010-11-09 00:10:28 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-09 00:10:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-09 00:10:28 - TARGET=ia64 TB --- 2010-11-09 00:10:28 - TARGET_ARCH=ia64 TB --- 2010-11-09 00:10:28 - TZ=UTC TB --- 2010-11-09 00:10:28 - __MAKE_CONF=/dev/null TB --- 2010-11-09 00:10:28 - cd /src TB --- 2010-11-09 00:10:28 - /usr/bin/make -B buildworld >>> World build started on Tue Nov 9 00:10:29 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything [...] cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/yacc/main.c cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/yacc/mkpar.c cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/yacc/output.c cc -O2 -pipe -std=gnu99 -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/usr.bin/yacc/reader.c cc1: warnings being treated as errors /src/usr.bin/yacc/reader.c: In function 'get_literal': /src/usr.bin/yacc/reader.c:722: warning: comparison between signed and unsigned /src/usr.bin/yacc/reader.c:738: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/usr.bin/yacc. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-11-09 01:27:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-09 01:27:19 - ERROR: failed to build world TB --- 2010-11-09 01:27:19 - 3584.08 user 660.52 system 4643.04 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-ia64@FreeBSD.ORG Wed Nov 10 13:32:35 2010 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E01E11065696 for ; Wed, 10 Nov 2010 13:32:35 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9DB2A8FC1E for ; Wed, 10 Nov 2010 13:32:35 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1PGAmw-0002Aa-BT for freebsd-ia64@freebsd.org; Wed, 10 Nov 2010 13:32:34 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1PGAmw-0001uR-88 for freebsd-ia64@freebsd.org; Wed, 10 Nov 2010 13:32:34 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id oAADWXpP075245 for ; Wed, 10 Nov 2010 13:32:33 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id oAADWXWo075244 for freebsd-ia64@freebsd.org; Wed, 10 Nov 2010 13:32:33 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Wed, 10 Nov 2010 13:32:33 +0000 From: Anton Shterenlikht To: freebsd-ia64@freebsd.org Message-ID: <20101110133233.GA74882@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-ia64@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: static linking error: ELF binary type "0" not known. Exec format error. Binary file not executable. X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 13:32:36 -0000 On ia64 r212643 I'm trying to link some fortran code against some fortran libraries. Running the resulting executable gives the above error: ia64% gfortran45 -c slatec-mach-check.f90 ia64% gfortran45 -static slatec-mach-check.o -lslatec ia64% file a.out a.out: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), statically linked, not stripped ia64% ./a.out > /dev/null ELF binary type "0" not known. ./a.out: Exec format error. Binary file not executable. ia64% On amd64 r214121 this works fine: amd64% gfortran45 -c slatec-mach-check.f90 amd64% gfortran45 -static slatec-mach-check.o -lslatec 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 amd64% ./a.out > /dev/null amd64% Can't check on sparc64 because gcc45 doesn't build there right now. What could be the problem? 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 From owner-freebsd-ia64@FreeBSD.ORG Wed Nov 10 17:37:23 2010 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05AB8106564A for ; Wed, 10 Nov 2010 17:37:23 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id DF7BF8FC0C for ; Wed, 10 Nov 2010 17:37:21 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LBO00GNBJM7WK00@asmtp029.mac.com> for freebsd-ia64@freebsd.org; Wed, 10 Nov 2010 09:37:21 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1011100108 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-10_06:2010-11-10, 2010-11-10, 1970-01-01 signatures=0 From: Marcel Moolenaar In-reply-to: <20101110133233.GA74882@mech-cluster241.men.bris.ac.uk> Date: Wed, 10 Nov 2010 09:37:18 -0800 Message-id: <6C419924-B040-4522-8EDA-2742C047BE42@mac.com> References: <20101110133233.GA74882@mech-cluster241.men.bris.ac.uk> To: Anton Shterenlikht X-Mailer: Apple Mail (2.1081) Cc: freebsd-ia64@freebsd.org Subject: Re: static linking error: ELF binary type "0" not known. Exec format error. Binary file not executable. X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 17:37:23 -0000 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 From owner-freebsd-ia64@FreeBSD.ORG Thu Nov 11 13:48:22 2010 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68BA5106564A for ; Thu, 11 Nov 2010 13:48:22 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 1E7F18FC13 for ; Thu, 11 Nov 2010 13:48:21 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1PGXVk-0002if-9y; Thu, 11 Nov 2010 13:48:20 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1PGXVk-0007kB-1B; Thu, 11 Nov 2010 13:48:20 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id oABDmJnv075041; Thu, 11 Nov 2010 13:48:19 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id oABDmJs6075040; Thu, 11 Nov 2010 13:48:19 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 11 Nov 2010 13:48:19 +0000 From: Anton Shterenlikht To: Marcel Moolenaar Message-ID: <20101111134819.GA68741@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Marcel Moolenaar , Anton Shterenlikht , freebsd-ia64@freebsd.org References: <20101110133233.GA74882@mech-cluster241.men.bris.ac.uk> <6C419924-B040-4522-8EDA-2742C047BE42@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6C419924-B040-4522-8EDA-2742C047BE42@mac.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-ia64@freebsd.org Subject: Re: static linking error: ELF binary type "0" not known. Exec format error. Binary file not executable. X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 13:48:22 -0000 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