From owner-freebsd-current@FreeBSD.ORG Fri Jun 5 07:45:46 2009 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB43D106566C; Fri, 5 Jun 2009 07:45:46 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mx2.itu.dk (mx2.itu.dk [130.226.142.29]) by mx1.freebsd.org (Postfix) with ESMTP id 44D8A8FC16; Fri, 5 Jun 2009 07:45:46 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from [192.168.10.164] (0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66]) by mx2.itu.dk (Postfix) with ESMTP id 447C8F48073; Fri, 5 Jun 2009 09:45:45 +0200 (CEST) Message-Id: From: Erik Cederstrand To: Roman Divacky In-Reply-To: <20090604123801.GA34971@freebsd.org> Content-Type: multipart/signed; boundary=Apple-Mail-443--407227785; micalg=sha1; protocol="application/pkcs7-signature" Mime-Version: 1.0 (Apple Message framework v935.3) Date: Fri, 5 Jun 2009 09:45:44 +0200 References: <20090604093831.GE48776@hoeg.nl> <31BD4D08-6558-46FF-9B93-CF8249AAC461@cederstrand.dk> <20090604123801.GA34971@freebsd.org> X-Mailer: Apple Mail (2.935.3) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ed Schouten , hackers@FreeBSD.org, current@FreeBSD.org Subject: Re: Clang: now available from a SVN server near you! X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 07:45:47 -0000 --Apple-Mail-443--407227785 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi Roman Den 04/06/2009 kl. 14.38 skrev Roman Divacky: > > you could use llvm-ld (see the wiki for instructions how to do it). > there's also some > effort to make gnu ld usable with llvm LTO and I guess the patch > could be backported > to our ld. I guess As I understand the reply from Eli Friedman[1] this is not possible without at least some hacking. The LTO work in GNU ld[2] is under GPLv3[3], as is gold[4], which makes backporting patches a sticky issue. Erik [1] http://lists.cs.uiuc.edu/pipermail/cfe-dev/2009-June/005296.html [2] http://gcc.gnu.org/wiki/LinkTimeOptimization [3] http://gcc.gnu.org/svn/gcc/branches/lto/lto-plugin/lto-plugin.c [4] http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/gold.cc?rev=1.63&content-type=text/x-cvsweb-markup&cvsroot=src --Apple-Mail-443--407227785--