Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 21:17:23 +0100
From:      David Chisnall <theraven@theravensnest.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, Roman Divacky <rdivacky@FreeBSD.org>, src-committers@FreeBSD.org, Konstantin Belousov <kib@FreeBSD.org>, svn-src-all@FreeBSD.org
Subject:   Re: svn commit: r236137 - head/contrib/gcc/config/i386
Message-ID:  <944B5ADD-8F3C-4CE4-BF97-36964F4EBB64@theravensnest.org>
In-Reply-To: <4FC3D320.1070709@FreeBSD.org>
References:  <201205270527.q4R5Rm44028055@svn.freebsd.org> <20120527203100.GA22921@freebsd.org> <4FC3D320.1070709@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?944B5ADD-8F3C-4CE4-BF97-36964F4EBB64>