From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 2 03:34:21 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDD891065693 for ; Tue, 2 Nov 2010 03:34:21 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 9CDE38FC17 for ; Tue, 2 Nov 2010 03:34:21 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id oA23YLsA049245 for ; Mon, 1 Nov 2010 20:34:21 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id oA23YLBS049244 for freebsd-toolchain@freebsd.org; Mon, 1 Nov 2010 20:34:21 -0700 (PDT) (envelope-from sgk) Date: Mon, 1 Nov 2010 20:34:21 -0700 From: Steve Kargl To: freebsd-toolchain@freebsd.org Message-ID: <20101102033421.GA49157@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: clang can't do complex arithmetic X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 03:34:21 -0000 It seems that clang can't do complex arithmetic. Not to worry gcc in base can't do it either. /* * The C99 standard intends x+I*y to be used for this, but x+I*y is * currently unusable because gcc introduces many overflow, * underflow, sign and efficiency bugs by rewriting I*y as * (0.0+I)*(y+0.0*I) and laboriously computing the full complex product. * In particular, I*Inf is corrupted to NaN+I*Inf, and I*-0 is corrupted * to -0.0+I*0.0. */ #include #include #include int main(void) { double complex z; double x, y; x = 0.; y = 1. / x; x = copysign(x, -1.); /* z = 0 + i (-0) */ z = I * x; printf("z = 0 + i (-0) = %e + i (%e)\n", creal(z), cimag(z)); /* z = 0 + i Inf */ z = I * y; printf("z = 0 + i Inf = %e + i %e\n", creal(z), cimag(z)); } troutmask:sgk[204] clang -o z z.c -lm && ./z z = 0 + i (-0) = -0.000000e+00 + i (0.000000e+00) z = 0 + i Inf = nan + i inf If I read Annex G in n1256.pdf correctly, the z = I*inf = NaN + I inf is going to really bad things because the NaN is going to propagate if z is used in further computations. Annex G says z is an infinity. -- Steve From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 2 18:47:43 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97FEE106564A for ; Tue, 2 Nov 2010 18:47:43 +0000 (UTC) (envelope-from dimitry@andric.com) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5867E8FC0A for ; Tue, 2 Nov 2010 18:47:43 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:88e2:8a04:2da6:ead5] (unknown [IPv6:2001:7b8:3a7:0:88e2:8a04:2da6:ead5]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 6F2195C5A for ; Tue, 2 Nov 2010 19:47:42 +0100 (CET) Message-ID: <4CD05CD9.7000606@andric.com> Date: Tue, 02 Nov 2010 19:47:53 +0100 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12pre) Gecko/20101016 Lanikai/3.1.6pre MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Please test the binutils-2.17 project branch X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 18:47:43 -0000 Hi all, As you may know, I am working on an update of our in-tree binutils to 2.17.50, the last version that was still under version 2 of the GPL. I have put this in a project branch, which you can checkout from: svn://svn.freebsd.org/base/projects/binutils-2.17 Please try building world and kernel from this tree, and if the machine in question is expendable (!) installing them. If you see any clearly binutils-related issues, you can reply to this list, or mail me directly if you prefer. Currently, a make universe of the binutils-2.17 project tree builds to completion for the following arches: - amd64 run-time tested by me - i386 run-time tested by me - mips needs run-time testing - pc98 needs run-time testing - powerpc run-time tested by nwhitehorn - sparc64 needs run-time testing - sun4v needs run-time testing The following arches still have building problems: - arm There is some weird issue that causes the cross-tools ld to segfault during buildworld, when linking a binary blob into a .o file: ===> usr.sbin/uathload (all) cc -O -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 /home/dim/src/freebsd/binutils-2.17/usr.sbin/uathload/uathload.c gzip -cn /home/dim/src/freebsd/binutils-2.17/usr.sbin/uathload/uathload.8 > uathload.8.gz ld -b binary -d -warn-common -r -d -o ar5523.o ar5523.bin Segmentation fault (core dumped) I am investigating this now, any hints welcome. :) - ia64 Something in sys/boot/ia64/efi/ldscript.ia64 makes ld complain about mixing ordered and unordered sections: ===> sys/boot/ia64/efi (all) ... /usr/obj/ia64.ia64/home/dim/src/freebsd/binutils-2.17/tmp/usr/bin/ld: .data has both ordered [`.IA_64.unwind' in efimd.o] and unordered [`.IA_64.unwind_info' in /usr/obj/ia64.ia64/home/dim/src/freebsd/binutils-2.17/tmp/usr/lib/libstand.a(strlen.o)] sections /usr/obj/ia64.ia64/home/dim/src/freebsd/binutils-2.17/tmp/usr/bin/ld: final link failed: Bad value I am not sure if this is a bug in binutils, or something in the linker script. My ia64 knowledge is extremely limited, though... 2 bad arches against 7 good ones isn't a bad score, but I would like to make sure all of them at least build without any issues, before even thinking of merging this into head. So please help out if you can. Last but not least, be sure to build some ports when the new binutils are installed in the base system. There are always some nasty ones out there that test for specific versions of GNU tools, and die when their expectations are not met. :) From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 2 18:49:19 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D13941065673 for ; Tue, 2 Nov 2010 18:49:19 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (lev.vlakno.cz [77.93.215.190]) by mx1.freebsd.org (Postfix) with ESMTP id DDA7E8FC13 for ; Tue, 2 Nov 2010 18:49:18 +0000 (UTC) Received: from lev.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7BEF79CB0D2; Tue, 2 Nov 2010 19:32:37 +0100 (CET) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by lev.vlakno.cz (lev.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eTHALO4Vi6bT; Tue, 2 Nov 2010 19:32:36 +0100 (CET) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7ED659CB13F; Tue, 2 Nov 2010 19:32:36 +0100 (CET) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.4/8.14.4/Submit) id oA2IWalg037826; Tue, 2 Nov 2010 19:32:36 +0100 (CET) (envelope-from rdivacky) Date: Tue, 2 Nov 2010 19:32:35 +0100 From: Roman Divacky To: Steve Kargl Message-ID: <20101102183235.GA36920@freebsd.org> References: <20101102033421.GA49157@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101102033421.GA49157@troutmask.apl.washington.edu> User-Agent: Mutt/1.4.2.3i Cc: freebsd-toolchain@freebsd.org Subject: Re: clang can't do complex arithmetic X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 18:49:19 -0000 this reproduces with TOT clang/llvm. Can you please file a bug against clang? http://llvm.org/bugs/ they generally fix things very fast. thank you! On Mon, Nov 01, 2010 at 08:34:21PM -0700, Steve Kargl wrote: > It seems that clang can't do complex arithmetic. > Not to worry gcc in base can't do it either. > > /* > * The C99 standard intends x+I*y to be used for this, but x+I*y is > * currently unusable because gcc introduces many overflow, > * underflow, sign and efficiency bugs by rewriting I*y as > * (0.0+I)*(y+0.0*I) and laboriously computing the full complex product. > * In particular, I*Inf is corrupted to NaN+I*Inf, and I*-0 is corrupted > * to -0.0+I*0.0. > */ > #include > #include > #include > > int main(void) { > > double complex z; > double x, y; > > x = 0.; > y = 1. / x; > x = copysign(x, -1.); > > /* z = 0 + i (-0) */ > z = I * x; > printf("z = 0 + i (-0) = %e + i (%e)\n", creal(z), cimag(z)); > > /* z = 0 + i Inf */ > z = I * y; > printf("z = 0 + i Inf = %e + i %e\n", creal(z), cimag(z)); > > } > > troutmask:sgk[204] clang -o z z.c -lm && ./z > z = 0 + i (-0) = -0.000000e+00 + i (0.000000e+00) > z = 0 + i Inf = nan + i inf > > > If I read Annex G in n1256.pdf correctly, the z = I*inf = NaN + I inf > is going to really bad things because the NaN is going to propagate > if z is used in further computations. Annex G says z is an infinity. > > -- > Steve > _______________________________________________ > freebsd-toolchain@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain > To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org" From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 2 19:27:07 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CFAC106566B; Tue, 2 Nov 2010 19:27:07 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id 10D078FC20; Tue, 2 Nov 2010 19:27:07 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id oA2JR6UA082489; Tue, 2 Nov 2010 12:27:06 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id oA2JR6O5082488; Tue, 2 Nov 2010 12:27:06 -0700 (PDT) (envelope-from sgk) Date: Tue, 2 Nov 2010 12:27:06 -0700 From: Steve Kargl To: Roman Divacky Message-ID: <20101102192706.GA82436@troutmask.apl.washington.edu> References: <20101102033421.GA49157@troutmask.apl.washington.edu> <20101102183235.GA36920@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101102183235.GA36920@freebsd.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-toolchain@freebsd.org Subject: Re: clang can't do complex arithmetic X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 19:27:07 -0000 On Tue, Nov 02, 2010 at 07:32:35PM +0100, Roman Divacky wrote: > this reproduces with TOT clang/llvm. Can you please file > a bug against clang? > > http://llvm.org/bugs/ > > they generally fix things very fast. thank you! > Well, I would submit a bug report, but apparently one needs to know some secret incantation to do so. -- Steve From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 2 20:05:12 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C82D106564A; Tue, 2 Nov 2010 20:05:12 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (unknown [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id BF8FD8FC1C; Tue, 2 Nov 2010 20:05:11 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 235CC2A28D06; Tue, 2 Nov 2010 21:05:11 +0100 (CET) Date: Tue, 2 Nov 2010 21:05:11 +0100 From: Ed Schouten To: Steve Kargl Message-ID: <20101102200511.GX81149@hoeg.nl> References: <20101102033421.GA49157@troutmask.apl.washington.edu> <20101102183235.GA36920@freebsd.org> <20101102192706.GA82436@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fgeUT96Xdo+SN8mm" Content-Disposition: inline In-Reply-To: <20101102192706.GA82436@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-toolchain@freebsd.org Subject: Re: clang can't do complex arithmetic X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 20:05:12 -0000 --fgeUT96Xdo+SN8mm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Steve Kargl , 20101102 20:27: > Well, I would submit a bug report, but apparently=20 > one needs to know some secret incantation to do so. Behold, magic: http://llvm.org/bugs/show_bug.cgi?id=3D8532 --=20 Ed Schouten WWW: http://80386.nl/ --fgeUT96Xdo+SN8mm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzQbvcACgkQ52SDGA2eCwVYngCfRbsuPr+DhvtvpfB4lxXoqa8W O1MAoIDJuRMbqq+WAJy9uBbBn7ttZuw/ =7DBd -----END PGP SIGNATURE----- --fgeUT96Xdo+SN8mm-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Nov 2 20:08:08 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 060151065679; Tue, 2 Nov 2010 20:08:08 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id DA2008FC19; Tue, 2 Nov 2010 20:08:07 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id oA2K826Q002575; Tue, 2 Nov 2010 13:08:02 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id oA2K82h9002574; Tue, 2 Nov 2010 13:08:02 -0700 (PDT) (envelope-from sgk) Date: Tue, 2 Nov 2010 13:08:02 -0700 From: Steve Kargl To: Ed Schouten Message-ID: <20101102200802.GA2555@troutmask.apl.washington.edu> References: <20101102033421.GA49157@troutmask.apl.washington.edu> <20101102183235.GA36920@freebsd.org> <20101102192706.GA82436@troutmask.apl.washington.edu> <20101102200511.GX81149@hoeg.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101102200511.GX81149@hoeg.nl> User-Agent: Mutt/1.4.2.3i Cc: freebsd-toolchain@freebsd.org Subject: Re: clang can't do complex arithmetic X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2010 20:08:08 -0000 On Tue, Nov 02, 2010 at 09:05:11PM +0100, Ed Schouten wrote: > * Steve Kargl , 20101102 20:27: > > Well, I would submit a bug report, but apparently > > one needs to know some secret incantation to do so. > > Behold, magic: > > http://llvm.org/bugs/show_bug.cgi?id=8532 > Thanks. I tried creating an account and have been waiting for more than an hour for email confirmation to complete the creation process. -- Steve From owner-freebsd-toolchain@FreeBSD.ORG Wed Nov 3 16:52:17 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66D18106566B for ; Wed, 3 Nov 2010 16:52:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 26C618FC24 for ; Wed, 3 Nov 2010 16:52:17 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:c5d8:f0b9:3b72:5ba6] (unknown [IPv6:2001:7b8:3a7:0:c5d8:f0b9:3b72:5ba6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 41D965C5A for ; Wed, 3 Nov 2010 17:52:16 +0100 (CET) Message-ID: <4CD19341.8070507@FreeBSD.org> Date: Wed, 03 Nov 2010 17:52:17 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12pre) Gecko/20101016 Lanikai/3.1.6pre MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org References: <4CD05CD9.7000606@andric.com> In-Reply-To: <4CD05CD9.7000606@andric.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Please test the binutils-2.17 project branch X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Nov 2010 16:52:17 -0000 On 2010-11-02 19:47, Dimitry Andric wrote: > The following arches still have building problems: > > - arm > > There is some weird issue that causes the cross-tools ld to segfault > during buildworld, when linking a binary blob into a .o file: This particular segfault was a binutils bug, PR7093, and should now be fixed by r214751. I can presently do a full buildworld for arm, and I also tried building a few kernels. Run-time testing would be appreciated. From owner-freebsd-toolchain@FreeBSD.ORG Fri Nov 5 21:10:18 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 892F5106564A for ; Fri, 5 Nov 2010 21:10:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 47C428FC08 for ; Fri, 5 Nov 2010 21:10:18 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:248c:65bb:aa3a:190b] (unknown [IPv6:2001:7b8:3a7:0:248c:65bb:aa3a:190b]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 674075C5A for ; Fri, 5 Nov 2010 22:10:17 +0100 (CET) Message-ID: <4CD472BC.4050808@FreeBSD.org> Date: Fri, 05 Nov 2010 22:10:20 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13pre) Gecko/20101104 Lanikai/3.1.7pre MIME-Version: 1.0 To: freebsd-toolchain@freebsd.org References: <4CD05CD9.7000606@andric.com> In-Reply-To: <4CD05CD9.7000606@andric.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Please test the binutils-2.17 project branch X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 21:10:18 -0000 On 2010-11-02 19:47, Dimitry Andric wrote: > - ia64 > > Something in sys/boot/ia64/efi/ldscript.ia64 makes ld complain about > mixing ordered and unordered sections: > > ===> sys/boot/ia64/efi (all) > ... > /usr/obj/ia64.ia64/home/dim/src/freebsd/binutils-2.17/tmp/usr/bin/ld: .data has both ordered [`.IA_64.unwind' in efimd.o] and unordered [`.IA_64.unwind_info' in /usr/obj/ia64.ia64/home/dim/src/freebsd/binutils-2.17/tmp/usr/lib/libstand.a(strlen.o)] sections > /usr/obj/ia64.ia64/home/dim/src/freebsd/binutils-2.17/tmp/usr/bin/ld: final link failed: Bad value I have committed r214850, which makes this, and sys/boot/ia64/ski link, but I need someone to test this on real hardware, at run-time. Does it still boot with this loader.efi? :) From owner-freebsd-toolchain@FreeBSD.ORG Fri Nov 5 23:27:04 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DE05106564A for ; Fri, 5 Nov 2010 23:27:04 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep27.mx.upcmail.net (fep27.mx.upcmail.net [62.179.121.47]) by mx1.freebsd.org (Postfix) with ESMTP id 76A578FC18 for ; Fri, 5 Nov 2010 23:27:03 +0000 (UTC) Received: from edge03.upcmail.net ([192.168.13.238]) by viefep11-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101105230816.STIP9177.viefep11-int.chello.at@edge03.upcmail.net>; Sat, 6 Nov 2010 00:08:16 +0100 Received: from [127.0.0.1] ([80.56.73.45]) by edge03.upcmail.net with edge id Tb8D1f0240ydU7k03b8F0T; Sat, 06 Nov 2010 00:08:16 +0100 X-SourceIP: 80.56.73.45 Message-ID: <4CD48E5A.3020904@rainbow-runner.nl> Date: Sat, 06 Nov 2010 00:08:10 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Dimitry Andric References: <4CD05CD9.7000606@andric.com> In-Reply-To: <4CD05CD9.7000606@andric.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 101105-0, 11/05/2010), Outbound message X-Antivirus-Status: Clean X-Cloudmark-Analysis: v=1.1 cv=vUpxTctd+kpWCBtSXXIkt5ll4Z8E5Qu9nLREXC/hfIo= c=1 sm=0 a=H3y7zPRcUyIA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=etku93tNmBepcNmxsWgA:9 a=2Ij2bK4kE8pm5OcDqB4A:7 a=xaxgcdTw-YBwLSmwAtsEhft71ioA:4 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: freebsd-toolchain@freebsd.org Subject: Re: Please test the binutils-2.17 project branch X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2010 23:27:04 -0000 On 11/2/2010 19:47 , Dimitry Andric wrote: > Hi all, > > As you may know, I am working on an update of our in-tree binutils to > 2.17.50, the last version that was still under version 2 of the GPL. > > I have put this in a project branch, which you can checkout from: > > svn://svn.freebsd.org/base/projects/binutils-2.17 > > Please try building world and kernel from this tree, and if the machine > in question is expendable (!) installing them. If you see any clearly > binutils-related issues, you can reply to this list, or mail me directly > if you prefer. > > Currently, a make universe of the binutils-2.17 project tree builds to > completion for the following arches: > - sparc64 needs run-time testing The binutils branch survives a buildworld buildkernel, subversion did a head checkout. Irssi works like expected. Tested on a Ultra 80 box. Anything else people want me to trow at it? -Koop From owner-freebsd-toolchain@FreeBSD.ORG Sat Nov 6 00:11:35 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 856A7106564A for ; Sat, 6 Nov 2010 00:11:35 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (unknown [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id 1F7728FC08 for ; Sat, 6 Nov 2010 00:11:35 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 36A7D2A28C30; Sat, 6 Nov 2010 01:11:34 +0100 (CET) Date: Sat, 6 Nov 2010 01:11:34 +0100 From: Ed Schouten To: Koop Mast Message-ID: <20101106001134.GS2054@hoeg.nl> References: <4CD05CD9.7000606@andric.com> <4CD48E5A.3020904@rainbow-runner.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dQ2XShfnd5GHxhN7" Content-Disposition: inline In-Reply-To: <4CD48E5A.3020904@rainbow-runner.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-toolchain@freebsd.org Subject: Re: Please test the binutils-2.17 project branch X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 00:11:35 -0000 --dQ2XShfnd5GHxhN7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Koop Mast , 20101106 00:08: > Anything else people want me to trow at it? Have you tried using the compiler-rt branch on that sparc box as well? ;-) Greetings, --=20 Ed Schouten WWW: http://80386.nl/ --dQ2XShfnd5GHxhN7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkzUnTYACgkQ52SDGA2eCwWw1wCeLS/ze9W5BBf4ntsvlNpgyfn3 mjQAnjDB4L4F+Z9WgFH0uhDBbufZb7aN =rWYO -----END PGP SIGNATURE----- --dQ2XShfnd5GHxhN7-- From owner-freebsd-toolchain@FreeBSD.ORG Sat Nov 6 01:24:18 2010 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6DFA7106564A for ; Sat, 6 Nov 2010 01:24:18 +0000 (UTC) (envelope-from kwm@rainbow-runner.nl) Received: from fep13.mx.upcmail.net (fep13.mx.upcmail.net [62.179.121.33]) by mx1.freebsd.org (Postfix) with ESMTP id A4B0E8FC14 for ; Sat, 6 Nov 2010 01:24:17 +0000 (UTC) Received: from edge04.upcmail.net ([192.168.13.239]) by viefep13-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101106012415.PIWM18077.viefep13-int.chello.at@edge04.upcmail.net>; Sat, 6 Nov 2010 02:24:15 +0100 Received: from [127.0.0.1] ([80.56.73.45]) by edge04.upcmail.net with edge id TdQC1f01j0ydU7k04dQEEe; Sat, 06 Nov 2010 02:24:15 +0100 X-SourceIP: 80.56.73.45 Message-ID: <4CD4AE39.6080102@rainbow-runner.nl> Date: Sat, 06 Nov 2010 02:24:09 +0100 From: Koop Mast User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Ed Schouten References: <4CD05CD9.7000606@andric.com> <4CD48E5A.3020904@rainbow-runner.nl> <20101106001134.GS2054@hoeg.nl> In-Reply-To: <20101106001134.GS2054@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 101105-1, 11/05/2010), Outbound message X-Antivirus-Status: Clean X-Cloudmark-Analysis: v=1.1 cv=XCVXOBqlCPU5N10w5kBzDuedWCKZPpIJSEs1endkdVI= c=1 sm=0 a=H3y7zPRcUyIA:10 a=8nJEP1OIZ-IA:10 a=p7IJtXwr2VmYQUfRUmoA:9 a=2_PfQhrj9sbN7VlvVGe0-Y-rra4A:4 a=wPNLvfGTeEIA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: freebsd-toolchain@freebsd.org Subject: Re: Please test the binutils-2.17 project branch X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 01:24:18 -0000 On 11/6/2010 1:11 , Ed Schouten wrote: > * Koop Mast, 20101106 00:08: >> Anything else people want me to trow at it? > Have you tried using the compiler-rt branch on that sparc box as well? > ;-) > > Greetings, It is on the todo, I just want to handle this first. -Koop