mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Assaf Gordon <assafgordon@gmail.com>
To: musl@lists.openwall.com, Markus Wichmann <nullplan@gmx.net>
Subject: Re: future of compiler wrappers
Date: Mon, 2 Jul 2018 10:00:11 -0600	[thread overview]
Message-ID: <c30b2615-1d7a-d8fc-d629-6259783a5e25@gmail.com> (raw)
In-Reply-To: <20180702152805.GA26760@voyager>

Hello,

On 02/07/18 09:28 AM, Markus Wichmann wrote:
> On Sun, Jul 01, 2018 at 08:11:50PM -0400, Rich Felker wrote:
>> [...] I expressed a sentiment that the compiler wrapper scripts tend to
>> reflect badly on musl, and that I'd really rather not keep maintaining
>> them but pass maintainership of them off to someone else as a separate
>> project for users who still want to use them. [...]
> 
> By all means, nuke them. Cross-compilers are the way to go in OS
> development, as well, and pretty much for the same reason: You want to
> insulate your compilate from the host environment. So yes, in the words
> of William Shatner: Let them die!

A slightly different POV, as someone who is not very familiar with
the nitty-gritty of cross-compliation setup:

The current setup of having "musl-gcc" with a simple "make install"
is invaluable for testing various programs for portability,
i.e. it is a clean and easy way to build programs against a different 
libc, even if the host is using glibc.
As a secondary bonus, it also allows building static binaries very easily.

Now that is of course the simple case, and I'm only using it on x86-64,
but I'm using it alot. I don't know how mips/ppcs and/or
cross-compliation complicate things (I understand that they do...).

If musl-gcc is gone, I'd guess the next best (easiest) thing is
running alpine linux in docker / VM and build locally there?
Still not very complicated, but seems like an order of magnitude
more demanding than having "musl-gcc".

There is ELLCC, but it's been almost a year since the last release -
is it being actively maintained? even if so, it requires a heavy 
compilation phase to setup everything.


If "musl-gcc" s relegated to an external package/repository
but is still easy to install - great. But if it is completely
removed or abandoned, it would be missed... by me at least.


I'm sadly not an expert enough on compilers or cross-compliations
to maintain it, but I can help with automated testing and bug reporting
if it becomes a separate package.

regards,
  - gordon










  reply	other threads:[~2018-07-02 16:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-02  0:11 Rich Felker
2018-07-02 15:28 ` Markus Wichmann
2018-07-02 16:00   ` Assaf Gordon [this message]
2018-07-02 16:50     ` Rich Felker
2018-07-03  7:25       ` Jens Gustedt

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=c30b2615-1d7a-d8fc-d629-6259783a5e25@gmail.com \
    --to=assafgordon@gmail.com \
    --cc=musl@lists.openwall.com \
    --cc=nullplan@gmx.net \
    /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).