From owner-freebsd-toolchain@FreeBSD.ORG Tue May 28 17:41:03 2013 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 50486DEA for ; Tue, 28 May 2013 17:41:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-oa0-f50.google.com (mail-oa0-f50.google.com [209.85.219.50]) by mx1.freebsd.org (Postfix) with ESMTP id 18F2FAB9 for ; Tue, 28 May 2013 17:41:02 +0000 (UTC) Received: by mail-oa0-f50.google.com with SMTP id l20so10161185oag.23 for ; Tue, 28 May 2013 10:41:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=j5iWK9Qo7/92eE70KTgobPFv2CUHGWxuulRuLADs8N4=; b=b/RJvx9UPnbt/2lDdm1DRzuvmXOmMpQBUEMJSEdsvSk4VwLyz+YrKy2s0vnmuQgdlC K6yvZ9sAI1f9tM9vzjuFLb2eNmrEOh5Eki5jKZWxlPJ5pHmnqO08n42NyXsP8Q8ALX1D UZsp779g56N04kJKHwQTagEHNYSuBX7+pXggPHgzKf1sGzRLok1RtArYgPi2XraHcDDO uMKFyz1cT8BirG28oE4o1GyjB0B6dv6up7lpUSKPY/DA8DWSyYb4a8H1xSAOmESR9a7T LlmWNmsBM4Mynaz/vmGprj76CYWSryITWfm1/1OqZKqzANhdN2nuebUkIqSVGxnpU8ey TTrQ== X-Received: by 10.60.142.67 with SMTP id ru3mr21810638oeb.44.1369762862366; Tue, 28 May 2013 10:41:02 -0700 (PDT) Received: from monkey-bot.int.fusionio.com ([209.117.142.2]) by mx.google.com with ESMTPSA id hv3sm35667287obb.7.2013.05.28.10.41.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 May 2013 10:41:01 -0700 (PDT) Sender: Warner Losh Subject: Re: [CFT] gcc: support for barcelona Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <51A3B8AB.5080808@FreeBSD.org> Date: Tue, 28 May 2013 11:40:59 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <521EEFA1-E116-41F5-B618-238E7AA092A8@bsdimp.com> References: <51A38CBD.6000702@FreeBSD.org> <51A3B8AB.5080808@FreeBSD.org> To: Pedro Giffuni X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQmWuntDV8zXNp9P4xTLl/rv+mqTPt6bdiA0skdRZlmUqzGnTSZ7GRJh5zMreH6L9KXK97rG Cc: amd64@FreeBSD.org, toolchain@FreeBSD.org, Rui Paulo X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 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, 28 May 2013 17:41:03 -0000 On May 27, 2013, at 1:48 PM, Pedro Giffuni wrote: > On 27.05.2013 14:12, Rui Paulo wrote: >> On 27 May 2013, at 09:41, Pedro Giffuni wrote: >>=20 >>> Hello; >>>=20 >>> Almost a year ago I tried to bring in the support for AMD's = barcelona >>> chipset into our gcc. This actually filled a lot of holes in that = were left >>> when similar intel support was brought in. >>>=20 >>> Unfortunately I had to revert rapidly such support as it broke = building >>> some C++ ports even when it was not being used. >>>=20 >>> jkim@ did some cleanup of the support and the patch has been >>> gathering rust here: >>>=20 >>> http://people.freebsd.org/~jkim/reworked-r236962-3.diff >>>=20 >>> The patch still applies cleanly and there is a good chance it will = work >>> since there have been other fixes merged since the last time. >>>=20 >>> I did some basic testing and so far it works for me but I don't have >>> the specific chipset. Additional testing would be welcome. >>=20 >> I have to question the general direction of this work. We switched to = Clang as the default compiler for i386/amd64 some months ago and now = you're working on improving our base GCC especially for amd64? I don't = really understand how useful this is. It doesn't strike me as a good = idea to see people working on things that will eventually be replaced / = removed. >=20 > I have absolutely no intention to give gcc a second air: it's dead > and I am anxious to see it axed from -current (soon?). That's not going to happen soon. While it works OK for amd64, there's = still many bugs in its ARM support and even more in its MIPS support. = There's 0 chance it will be gone in 10... > This said, > there are still many FreeBSD users trapped with the base gcc for > at least as long as 9.x is alive. >=20 > If you look at the ChangeLog.gcc43 in the above patch, you will > notice I am just completing some code that was incompletely > merged in previous revisions. >=20 > The basic work was done almost a year ago, and I have no hurry > to merge it but given that the effort was done already it would > seem a pity to just throw it away. >=20 > Of course I may be completely wrong here. I see some value in adding this stuff. While we have made clang the = default, it still isn't fully vetted by surviving a release with it = enabled. the fallback plan will continue to be gcc. While it would ALSO be good to cleanup the tree so it can compile = cleanly with 4.7 or 4.8, this effort won't stand in the way of that. = Excluding it seems more like a political or emotional one than a = practical one. Warner