mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: Hi and a few questions
Date: Sun, 20 May 2012 17:25:21 -0400	[thread overview]
Message-ID: <20120520212521.GC163@brightrain.aerifal.cx> (raw)
In-Reply-To: <20120520134936.3b6812fe@newbook>

On Sun, May 20, 2012 at 01:49:36PM -0700, Isaac Dunham wrote:
> There was someone who was asking about portability previously; he has a
> project that will use arm and mips cpus (this is the project that needs
> libuv, hence the discussion on IRC) and-if musl works with libuv-he
> thinks he could convince his boss to fund a port, if one isn't ready
> ahead of time.

Good to know!

> Microblaze is one of the oddball CPUs that you can configure without an
> MMU. Would this project target MMU configurations only?

Well POSIX requires an MMU (or a completely virtualized system that
has one), and as far as I know Linux does too (although there's
UCLinux or whatever too). I suspect the situation would be the same as
how we handle 2.4 kernels: "If some functionality works, great, but
let's not do all kinds of crazy things to make stuff work 'better'
when it's impossible to work 100% right anyway due to platform
limitations."

> For what it's worth, a shadow tree (see lndir(1)) would probably do all
> that's really needed, if you 
> 1 Get musl source code
> 2 lndir $MUSL_SOURCE ${MUSL_SOURCE}-${ARCH}
> 3 Configure and build in ${MUSL_SOURCE}-${ARCH}

Yes, this should work very well.

> You might have issues with shadowing after you have built musl (ie, do
> 3 in-tree, 2, repeat 3 in shadow tree), I wouldn't know for sure.

The only major problem I can think of is include/bits getting
shadowed, but "make clean" removes it anyway. So even this might work.

Rich


  reply	other threads:[~2012-05-20 21:25 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-20 17:03 Richard Pennington
2012-05-20 17:21 ` Rich Felker
2012-05-20 19:57   ` Richard Pennington
2012-05-20 20:49   ` Isaac Dunham
2012-05-20 21:25     ` Rich Felker [this message]
2012-05-20 17:53 ` Szabolcs Nagy
2012-05-20 20:01   ` Richard Pennington
2012-05-20 20:44   ` Richard Pennington
2012-05-20 21:20     ` Rich Felker
2012-05-20 20:28 ` Szabolcs Nagy
2012-05-20 20:36   ` Richard Pennington
2012-05-21  1:54     ` Isaac Dunham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120520212521.GC163@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).