From owner-freebsd-hackers@FreeBSD.ORG Mon May 3 13:33:29 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17E7C106566C; Mon, 3 May 2010 13:33:29 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id 6D97E8FC15; Mon, 3 May 2010 13:33:28 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so629758fge.13 for ; Mon, 03 May 2010 06:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:to:cc:subject :references:date:mime-version:content-transfer-encoding:from :message-id:in-reply-to:user-agent; bh=xc/7lYFc6KsKpYWOZsYB13Cr/1bt6enNwQawKmPXUBQ=; b=r8dHZz8cctr2RuTYeBkecItAhzsEITGfyH/Rn2o1xsDQ4AVsxsIwKyOLt/P5lOcX+M CUxmq+VeIz00AFgT32olQW+SJOulv6GFzvcPIbS3459oAYfBuV3/92envlnw+59jBYaf HFlMl3D8WnooohAmBVQLGRNA11arHpT7svBgI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; b=rULK2PJg7TVFiNGX+Psl/4PSPu78ll+QMxQLc1Pj9Z0aWDLizMzXvJgx2luPgNOjHM obZL45O4iU5XTGKPR6m6yLYoDavpgZrXVunNpZ89KoHgE2YETx5FGmP/SSNOSs3fhQDk 9SKo1ETlpmfHwYht9myW/3BSlNx7/mJF0v+cA= Received: by 10.87.63.21 with SMTP id q21mr8436761fgk.52.1272893602431; Mon, 03 May 2010 06:33:22 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 12sm7833991fgg.9.2010.05.03.06.33.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 03 May 2010 06:33:21 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: =?utf-8?Q?C=2E_Bergstr=C3=B6m?= References: <4BDD28E2.8010201@rawbw.com> <20100503092213.GA1294@straylight.m.ringlet.net> <4BDEA78F.90303@pathscale.com> <4BDEC2E3.2030305@pathscale.com> Date: Mon, 03 May 2010 16:33:19 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: Quoted-Printable From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: In-Reply-To: <4BDEC2E3.2030305@pathscale.com> User-Agent: Opera Mail/10.10 (FreeBSD) Cc: yuri@rawbw.com, freebsd-ports@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: GSoC: Making ports work with clang X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 13:33:29 -0000 On Mon, 03 May 2010 15:34:43 +0300, C. Bergstr=C3=B6m wrote: > What fancy stuff is in the ports tree which clang will take advantage = of? I wasn't talking about any specific port. What I meant is that new hardw= are won't stop coming out just because FreeBSD decided not to update their g= cc. New CPUs may have new instructions and other things that are different f= rom their predecessors in one way or another. While llvm will continue to ch= ase the hardware and implement new optimizations, gcc in base will not be aw= are of those changes, continuing to produce code that runs, but may may be missing potential optimizations on those CPUs. I hope this makes sense. > I can't say the gentoo/arch approach is correct, but it may not be a b= ad > idea to steal whatever they have have done correctly. Maybe, but to steal something, I'd have to know what is "gentoo/arch approach" first. > I'd be more than happy to help or work with you if it's feasible to ad= d > another compiler to this project. Hopefully, when I finish the project it will be relatively easy to add support for other compilers. -- = Andrius