From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10814 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: cortex-m support? Date: Mon, 19 Dec 2016 23:23:54 -0500 Message-ID: <20161220042354.GI1555@brightrain.aerifal.cx> References: <04e5a294-719e-8029-704f-a57d1ec935b0@landley.net> <20161207152936.GB16379@port70.net> <20161207153519.GC16379@port70.net> <20161208011625.GL1555@brightrain.aerifal.cx> <59e46cdf-0a51-7dd6-e299-dc4137ef91cc@landley.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1482207853 7354 195.159.176.226 (20 Dec 2016 04:24:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2016 04:24:13 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-10827-gllmg-musl=m.gmane.org@lists.openwall.com Tue Dec 20 05:24:08 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cJByB-00010U-7A for gllmg-musl@m.gmane.org; Tue, 20 Dec 2016 05:24:07 +0100 Original-Received: (qmail 7308 invoked by uid 550); 20 Dec 2016 04:24:08 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 7275 invoked from network); 20 Dec 2016 04:24:07 -0000 Content-Disposition: inline In-Reply-To: <59e46cdf-0a51-7dd6-e299-dc4137ef91cc@landley.net> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:10814 Archived-At: On Thu, Dec 08, 2016 at 01:10:11PM -0600, Rob Landley wrote: > On 12/07/2016 07:16 PM, Rich Felker wrote: > > On Wed, Dec 07, 2016 at 06:55:56PM -0600, Rob Landley wrote: > >> Not sure where you get the relevant gcc patch... > > > > I have links to the repos somewhere; the problem is that they're > > forked from a fairly old gcc version (although not nearly as bad as > > sh-fdpic; I think it's 4.8 or so) > > https://github.com/mickael-guene/gcc has a 5.2 branch and "master" > updated 20 hours ago, although I'm not sure how much of master updating > is an automatic tracking branch and how much is the account owner > updating things. Those don't seem to have the fdpic work; the fdpic work is in branch gcc-linaro-4.7-2013.05-cec-fdpic. The 5.2.0 branch is nothing but the entire 5.2.0 source tree as a single git commit. This isn't a show-stopper, but it does mean this is all still based on ancient gcc, and we need someone to add gcc 4.7 support to mcm (i.e. backport the musl patches to 4.7), and to work out whether the fdpic patches apply cleanly on 4.7 or depend on all sorts of other linaro changes, before this can more forward much. On the bright side, the musl-side changes for supporting cortex-m (not fdpic, just normal elf binaries that should run on nommu) are mostly done. I can probably get you a hello world program you can run as init= on a nommu arm kernel to see if it actually works. Rich