From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10790 Path: news.gmane.org!.POSTED!not-for-mail From: Rob Landley Newsgroups: gmane.linux.lib.musl.general Subject: Re: cortex-m support? Date: Mon, 12 Dec 2016 18:29:13 -0600 Message-ID: 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> <20161208210114.GN1555@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1481588982 2175 195.159.176.226 (13 Dec 2016 00:29:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 13 Dec 2016 00:29:42 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 To: musl@lists.openwall.com Original-X-From: musl-return-10803-gllmg-musl=m.gmane.org@lists.openwall.com Tue Dec 13 01:29:38 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 1cGayO-0008Gh-C7 for gllmg-musl@m.gmane.org; Tue, 13 Dec 2016 01:29:36 +0100 Original-Received: (qmail 26368 invoked by uid 550); 13 Dec 2016 00:29:39 -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 26345 invoked from network); 13 Dec 2016 00:29:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landley-net.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=spLlWNK/RT3qhRvZYhOkx4pJ3GH23vAchczzXK53QgA=; b=tgIV8lJKgnhNqR8hOBcoI8iQAcYc2dQqtq9Bf4J+c4RRgtFxO7i4XBCvMrK0dNUxGo tTXPikubEDnTW/wlUpHS5hm4Ti3Gv25vDUMKWtlfo9yLvwBROB/nJDzSZx+IAUh7bKde 6/E/HG80dRWINgLo2zYc+piEZ3u3U1SYbpUnTZ4Rw+S/hIBQrCQL4i7X0UdpllLgzkpq jH0IMhi4XvZfmF/PDoonssnsmNE6zSuZV3JfchbWhY7HCSzHpaTuara3B/4+H38RNzgr AQMdMQqKKZoVh6zCu32469OtSs12UNmMDmtidrskOlR/Q7MEAd9zwtTdTj/buW+64HCC i0EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=spLlWNK/RT3qhRvZYhOkx4pJ3GH23vAchczzXK53QgA=; b=Nkp0/wLUrcSNBP9hcAzMfwbmdRuHUf4iDeF6n02udLhimy8mwdnG8jrJD2iwhxkDT+ ChJnby8Qwb9VQGeqPOF8IaCLXiP6JqlbfRrDTrp+zGyMH4FzlSgCI5SrgbyGKpvzX5sJ JuixVozQl9uajxIBFYFJLOvhtTHs2ny78NlMKaNg1F7T95dIKdhKDvPp5kPAslVgrTEX N8tWRCjLYj8CTlXABuqVrp6bXg5+7U7fLpPkGhgFBruUerV7Qt9sNQYf0Oa1Tnk1GpZ0 V9d2My/KY66FmW3kI1Jm6dcV6WIKJ6Z3ey1ZAzsGWFZRWuQHpv/b9cyO0dr/0xf4G4cF iXJg== X-Gm-Message-State: AKaTC033VmfRB9R8Sgq5O8HSXhThQdxymRplKMtQ11K6QPC0CLgXG0gZq0DCGBn7i8sWNA== X-Received: by 10.84.216.26 with SMTP id m26mr192088359pli.22.1481588966495; Mon, 12 Dec 2016 16:29:26 -0800 (PST) In-Reply-To: <20161208210114.GN1555@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:10790 Archived-At: On 12/08/2016 03:01 PM, Rich Felker wrote: > 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. > > Excellent! That's new since I last communicated with him. In theory, what you do is follow the instructions in: https://github.com/mickael-guene/fdpic_manifest Which uses repo to download the github repositories, and then has a build.sh. In practice, I'm not sure what branches that uses to build said toolchain. However, this would give you a uClibc-based cortex-m-fdpic toolchain you could then swap musl into. It also has a lsit of kernel patches that theoretically work against vanilla, but you don't have a board for that. :) I did poke you over the summer about running cortex-m binflt binaries under qemu application emulation (works fine). I dunno if it supports the fdpic loader or not, building this toolchain to find out. If not, it's got an emulator there too but I haven't poked at it yet... Rob