From owner-freebsd-arm@FreeBSD.ORG Wed Dec 25 16:29:59 2013 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D87139C3 for ; Wed, 25 Dec 2013 16:29:59 +0000 (UTC) Received: from nm16.bullet.mail.bf1.yahoo.com (nm16.bullet.mail.bf1.yahoo.com [98.139.212.175]) by mx1.freebsd.org (Postfix) with SMTP id 884F71136 for ; Wed, 25 Dec 2013 16:29:59 +0000 (UTC) Received: from [98.139.212.153] by nm16.bullet.mail.bf1.yahoo.com with NNFMP; 25 Dec 2013 16:29:53 -0000 Received: from [68.142.230.74] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 25 Dec 2013 16:29:53 -0000 Received: from [127.0.0.1] by smtp231.mail.bf1.yahoo.com with NNFMP; 25 Dec 2013 16:29:53 -0000 X-Yahoo-Newman-Id: 12235.72828.bm@smtp231.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: eHZi5b4VM1mlc7.mY6E6zpxO76M9.alw11zS0LqPfEZhzPN RiZdj_P3q7za8RaoTie5DOgj00TAZmz8x.iF5pWONyFEBk7KZFQSHmrbXKBh 6_yBaokMvQPB5G7SDMY3qnQPxjrfO4cRQaKjJqWhZii456ChA.bmZj4u82jW p_GNV6EUmFFznOdWVcpUs3WUhH6V7ViyXmRxOl4AHqczQ8WLddUxGG9HBGyR zae4Cf2l3oLt4Hb4jHTdzPwJpY1LFT35dvzi9o3dQbnEbbp1J9vAOR5pbZll dzu2hmL7l_g8QZgP5A6XZMSWe1dU4CJLvOv4Cjd3XKk7FO3VjHcm3KTmXmyC fFGKTwKWCgkzAFvUuJi0K2Y0OAnIjI9QCj4zvDSbWllZX34FgjBRkmA0y.Ly PV2NoyOp_widAH3lHRJmq5PkFyhRF_2RNGv68Mnxg9RNfMFQwXyxYCTCxctb mEmm4CXzygK_98Aqnh2e3c7RAKqfi8TvGDs9qefD0N4HnoWTCaKKkprGWV2I 6nTmLNjt0FWjXr9JiMl.3yycOXiUy2YdLqWtf3nR6aJJynXmNS2qCyg-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with plain [98.138.105.21]) by smtp231.mail.bf1.yahoo.com with SMTP; 25 Dec 2013 16:29:52 +0000 UTC Message-ID: <52BB07FE.5070905@FreeBSD.org> Date: Wed, 25 Dec 2013 11:29:50 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Warner Losh Subject: Re: [CFT] gcc update for ARM References: <52AF2CDD.2000207@FreeBSD.org> <443ACF8D-F13C-41D5-BB97-148CA5A36BBE@bsdimp.com> <52AF794F.904@FreeBSD.org> In-Reply-To: <52AF794F.904@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Dec 2013 16:29:59 -0000 On 16.12.2013 17:06, Pedro Giffuni wrote: > On 16.12.2013 16:35, Warner Losh wrote: >> Does this apply to FreeBSD 9-stable? >> >> Warner > > I did it on -current but it mostly touches config/arm which is > otherwise untouched so it may very well apply there too (except for > the ChangeLog). > > It does add support for newer platforms and it should fill the gap > between gcc-4.2.1 and clang. > > Pedro. > An update on this: I made some tests crosscompiling and things didn't go well. I was able to take some smaller updates and applied them but most of the changes from upstream require some work to get into useful shape on gcc-4.2.1. FWIW, Apple did a lot of local code changes and on top of that they merged stuff from gcc43 and later CodeSourcery. It's not too difficult to take code from Apple's gcc and/or llvm-gcc but it requires more time than I am willing to spend atm ... and there is clang now :). Cheers, Pedro.