From owner-freebsd-hackers@FreeBSD.ORG Mon May 18 10:07:38 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F16E2106564A for ; Mon, 18 May 2009 10:07:37 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: from mail-ew0-f159.google.com (mail-ew0-f159.google.com [209.85.219.159]) by mx1.freebsd.org (Postfix) with ESMTP id 756AF8FC17 for ; Mon, 18 May 2009 10:07:37 +0000 (UTC) (envelope-from xorquewasp@googlemail.com) Received: by ewy3 with SMTP id 3so3771968ewy.43 for ; Mon, 18 May 2009 03:07:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:cc :subject:message-id:references:mime-version:content-type :content-disposition:in-reply-to; bh=wEQdxu8v6SGXpJd2Tl5OCjA5+buSOZfgQgYAQpGBexs=; b=qKplTuGZ3GDCup7Zd3BOhzOVxfLjVjNYVwzYf0igcohxLox/n4Ff6fYceH/xPZrXD1 9xX6CBsaaxFggm0A/bRFuNuH5SEVvxZ8CxgS2srAkOhg2WdSKp3p3PAinOSAdmUO1cQo TyQMhzRNFmTjfc1RpqL5nlQNJs6ryWXOM/SME= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; b=bE883uh3aHbG1b9VksQj4NbJglu38A2UMneA+IPGGsvAXVlx1UgDetz28E4Vcuc8Y0 GZdmJRHZj1WtUhUITnbML1lqetFlqE2tc8pZ2XH2NMflHJ6DKfDv+A/HQ4i2hbeU7RoN jmi7U5MG/5AcWlpBYwff5PtYU0+UkeWLw9rGA= Received: by 10.210.115.17 with SMTP id n17mr2949268ebc.94.1242641256488; Mon, 18 May 2009 03:07:36 -0700 (PDT) Received: from logik.internal.network (81-86-41-187.dsl.pipex.com [81.86.41.187]) by mx.google.com with ESMTPS id 1sm4827572ewy.5.2009.05.18.03.07.35 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 18 May 2009 03:07:35 -0700 (PDT) Received: by logik.internal.network (Postfix, from userid 11001) id 3C2E65D59; Mon, 18 May 2009 10:07:34 +0000 (UTC) Date: Mon, 18 May 2009 11:07:34 +0100 From: xorquewasp@googlemail.com To: Daniel Eischen Message-ID: <20090518100734.GA36229@logik.internal.network> References: <20090505005128.GA4519@logik.internal.network> <20090505022151.GA32477@logik.internal.network> <20090506140325.GA69468@logik.internal.network> <20090506152222.GC69468@logik.internal.network> <20090508211022.GA37475@logik.internal.network> <20090518084831.GA95354@logik.internal.network> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090518084831.GA95354@logik.internal.network> Cc: freebsd-hackers@freebsd.org Subject: Re: bootstrapping gnat GCC on amd64 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 10:07:38 -0000 On 2009-05-18 09:48:31, xorquewasp@googlemail.com wrote: > 1. Compile binutils-2.15. > > Unfortunately, compiling these as cross-binutils appear to be problematic: > > gmake[3]: Entering directory `/root/memfs/c1-bu-obj/gas' > gcc -DHAVE_CONFIG_H -I. -I/root/binutils-2.15/gas -I. -D_GNU_SOURCE -I. -I/root/binutils-2.15/gas -I../bfd -I/root/binutils-2.15/gas/config -I/root/binutils-2.15/gas/../include -I/root/binutils-2.15/gas/.. -I/root/binutils-2.15/gas/../bfd -I/root/binutils-2.15/gas/../intl -I../intl -DLOCALEDIR="\"/cross/x86_64/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c /root/binutils-2.15/gas/app.c > In file included from /root/binutils-2.15/gas/as.h:94, > from /root/binutils-2.15/gas/app.c:30: > /root/binutils-2.15/gas/../include/getopt.h:116: warning: function declaration isn't a prototype > In file included from ./targ-cpu.h:1, > from /root/binutils-2.15/gas/config/obj-elf.h:42, > from ./obj-format.h:1, > from /root/binutils-2.15/gas/config/te-freebsd.h:30, > from ./targ-env.h:1, > from /root/binutils-2.15/gas/as.h:626, > from /root/binutils-2.15/gas/app.c:30: > /root/binutils-2.15/gas/config/tc-i386.h:451: error: array type has incomplete element type > gmake[3]: *** [app.o] Error 1 > gmake[3]: Leaving directory `/root/memfs/c1-bu-obj/gas' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/root/memfs/c1-bu-obj/gas' > gmake[1]: *** [all] Error 2 > gmake[1]: Leaving directory `/root/memfs/c1-bu-obj/gas' > gmake: *** [all-gas] Error 2 Correction. Will compile with patches from here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=299671 But doesn't pass test suite: # of expected passes 28 # of unexpected failures 20 Test logs show: Executing /root/binutils-2.15/gas/testsuite/lib/run ../as-new --32 -al /root/binutils-2.15/gas/testsuite/gas/i386/float.s >&dump.out regexp_diff match failure regexp "^.*: Assembler messages:$" line "Assembler messages:" regexp_diff match failure regexp "^.*:3: Warning:.*faddp.*$" line "FATAL: can't create a.out: Invalid bfd target" extra regexps in /root/binutils-2.15/gas/testsuite/gas/i386/float.l starting with "^.*:14: Warning:.*fsubp.*$" EOF from dump.out FAIL: i386 float I have no idea why this happens. xw