From owner-svn-src-head@FreeBSD.ORG Mon May 28 20:17:31 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24643106566C; Mon, 28 May 2012 20:17:31 +0000 (UTC) (envelope-from theraven@theravensnest.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id E1F838FC15; Mon, 28 May 2012 20:17:30 +0000 (UTC) Received: from [192.168.0.2] (cpc2-cmbg15-2-0-cust790.5-4.cable.virginmedia.com [86.26.15.23]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id q4SKHSrh000722 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Mon, 28 May 2012 20:17:29 GMT (envelope-from theraven@theravensnest.org) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: <4FC3D320.1070709@FreeBSD.org> Date: Mon, 28 May 2012 21:17:23 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <944B5ADD-8F3C-4CE4-BF97-36964F4EBB64@theravensnest.org> References: <201205270527.q4R5Rm44028055@svn.freebsd.org> <20120527203100.GA22921@freebsd.org> <4FC3D320.1070709@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1257) Cc: svn-src-head@FreeBSD.org, Roman Divacky , src-committers@FreeBSD.org, Konstantin Belousov , svn-src-all@FreeBSD.org Subject: Re: svn commit: r236137 - head/contrib/gcc/config/i386 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 May 2012 20:17:31 -0000 On 28 May 2012, at 20:33, Dimitry Andric wrote: > On the other hand, it's really platform-dependent: I've checked = several > Linux distributions, and it is fairly unpredictable whether their gcc > passes --hash-style to the linker, or if they do, which option they = use. Can we make it dependent on the triple? i.e. if the triple is = arch-whatever-freebsd9 or greater, make it pass the flag, otherwise = don't bother? Or is it not worth caring about older FreeBSD? There's = no real disadvantage in passing it unconditionally (marginally longer = link times) and potentially a big benefit. I don't see a problem with = committing it upstream, but it would be nice to pull that change in = locally before 9.1 and not have to wait for LLVM 3.2 before we got to = make use of it. Misleading and poorly designed benchmarks on Phoronix are at stake! David=