From owner-freebsd-java@FreeBSD.ORG Mon Nov 12 15:04:21 2007 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 387C916A417 for ; Mon, 12 Nov 2007 15:04:21 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: from rn-out-0102.google.com (rn-out-0910.google.com [64.233.170.185]) by mx1.freebsd.org (Postfix) with ESMTP id E2EC613C481 for ; Mon, 12 Nov 2007 15:04:20 +0000 (UTC) (envelope-from kabaev@gmail.com) Received: by rn-out-0102.google.com with SMTP id s42so498662rnb for ; Mon, 12 Nov 2007 07:04:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; bh=Htte7RVTjSvX1OCXvE9jIHMNX2gxDDSxFTX+zzs39b0=; b=HZIkh+Y8c7ux0PbMx0mb2KKJV8EHCra3GZOOh/+x4FSkmkgWkx/R0CKnkEhUvizH/Fduvm3mXu9hW6BX0DA/1u+uYx+9c+BOukq12b7c9Y1JZ2XoGiwU9MvdxW1dvhNcXrFrzw0eSPIZTkEstirvbom2MVZej37u9pUWG9WUYy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:in-reply-to:references:x-mailer:mime-version:content-type; b=AT2Y3VEOgIbyyZjGbBcj2oAM6TWuo/xa8YkxsLM5FVmB7ttqJ8itPKWOjPtw9yvmXlGPdmgIyGIQX1gpdoks9B6v+lY6zphhTV75ZqhxoWouJ7gvU7QaWKls/1Fq3d58GilJ/fkqDagy1vkKG7i3M/586M1U7CmojeqPD9yNjQw= Received: by 10.142.76.4 with SMTP id y4mr1220218wfa.1194878125408; Mon, 12 Nov 2007 06:35:25 -0800 (PST) Received: from kan.dnsalias.net ( [24.218.183.247]) by mx.google.com with ESMTPS id 24sm2788502wrl.2007.11.12.06.35.24 (version=SSLv3 cipher=OTHER); Mon, 12 Nov 2007 06:35:24 -0800 (PST) Date: Mon, 12 Nov 2007 09:35:14 -0500 From: Alexander Kabaev To: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= Message-ID: <20071112093514.01e247e7@kan.dnsalias.net> In-Reply-To: <57823.192.168.1.2.1194874662.squirrel@webmail.alpha-tierchen.de> References: <57823.192.168.1.2.1194874662.squirrel@webmail.alpha-tierchen.de> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/HJrc9+Ye=8EJ7.SJzQdZMhK"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: freebsd-java@freebsd.org Subject: Re: jdk16 and -fno-tree-vrp X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2007 15:04:21 -0000 --Sig_/HJrc9+Ye=8EJ7.SJzQdZMhK Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, 12 Nov 2007 13:37:42 -0000 (UTC) Bj=F6rn K=F6nig wrote: > Hello, >=20 > I tried to investigate the recently discussed problem with jdk16 > where you suggested to add -fno-tree-vrp to CFLAGS, but I can't > reconstruct it. I used 7.0-CURRENT (GENERIC without debugging stuff) > and ports both from October 1st 2007. jdk-6u1 built and installed > without problems for me. I also tried jdk-6u2 without "success"; it > worked fine. >=20 > So I strongly disapprove the change of GCC to not use tree-vrp by > default and I want to suggest that you change it back. GCC 4.2 seem > to have many bugs and I think it's the wrong way to change it's > default behaviour to work around these bugs, because this reveals > other bugs. >=20 > If you are still able to reproduce the error (e.g. with explicit > -ftree-vrp) then I would be glad if you can provide detailed > information about the environment. I want to get the same error, > because I'm searching for a more suitable solution, e.g. a better GCC > patch. >=20 > Regards > Bj=F6rn 1. jdk15 is missing from the list of jdk's you tried to build, and that was the primary tree-vrp victim; 2. You did not mention architecture you did your experiments on. This particular optimization step was implicated in a number if miscompiles reported by several developers and just taking it out of the picture takes care of majority. This is right decision too given where we are in the release cycle and unclear position of the project towards GPL3. Reverting the patch is task easy enough to anybody. Only after someone takes an active interest in tracking down the miscompiles, creating test cases and submits them to GCC folks to get them fixed in FSF tree, the patch will be removed. Not before. =20 --=20 Alexander Kabaev --Sig_/HJrc9+Ye=8EJ7.SJzQdZMhK Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHOGSiQ6z1jMm+XZYRAvoPAJ9X3HIP0MoevHuUV9avM+O+nalz0gCgk4bQ ncVOjbv5TYofa94wsQhHppY= =pQ9K -----END PGP SIGNATURE----- --Sig_/HJrc9+Ye=8EJ7.SJzQdZMhK--