mailing list of musl libc
 help / color / mirror / code / Atom feed
From: croco@openwall.com
To: musl@lists.openwall.com
Subject: Re: NULL
Date: Wed, 9 Jan 2013 18:49:25 +0400	[thread overview]
Message-ID: <20130109144925.GB2947@openwall.com> (raw)
In-Reply-To: <50ED74FE.9030306@barfooze.de>

On Wed, Jan 09, 2013 at 02:47:42PM +0100, John Spencer wrote:

>> choosen, despite we don't like it.  However, I'd suggest at least to let
>> the people know this is a WORKAROUND for the bugs THEY introduce: make this
>> hack disabled by default, enabled by a compile-time option, and issue a
>> warning which points them to this discussion or something similar.
>
> as of now, musl only supports a single configuration.
> having 2 different versions of musl in the wild, one that works with  
> their apps and another one that does not, is definitely not desirable

Well, the matter we discuss here doesn't affect the compiled code of musl,
does it?  And the header can have these #idfef's so that people have to
compile their _buggy_ apps using smth. like -DMUSL_CPLUSPLUS_NULL_WORKAROUND=1

If I'm wrong and miss something (so that my suggestion requires to maintain
separate musl binaries), then... heh... Well, then I'd vote against such a
workaround (for the reasons I already mentioned about the more and more
people who doesn't want to learn), but my opinion shouldn't perhaps cost
much as I'm not a musl developer.

>> Something like "Okay, if your program doesn't work without this workaround,
>> then you can use the workaround, but you'd better fix your program".  This
>> will not do much influence while musl is not so popular, but I hope it will
>> become popular one day (I really do... let's give the damn world a chance),
>> and then the people will have something to think about.
>
> here we have the typical chicken-and-egg problem: as long as  
> applications compiled with musl just crash, while they work perfectly  
> well with glibc, i think most contributors will become discouraged soon  
> and continue using what they're familiar with.

Definitely you're right.  That's why I don't suggest to "ignore them all"
or something like that -- but may be at least we can let them know they do
something wrong.



Thanks!

Andrey Stolyarov


  reply	other threads:[~2013-01-09 14:49 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-09 11:02 NULL John Spencer
2013-01-09 12:18 ` NULL Szabolcs Nagy
2013-01-09 13:36   ` NULL John Spencer
2013-01-12  6:32     ` NULL Rob Landley
2013-01-12  6:46       ` NULL Rich Felker
2013-01-12  7:15         ` NULL Luca Barbato
2013-01-12 13:33           ` NULL Rich Felker
2013-01-12 11:39       ` NULL Jens Staal
2013-01-09 13:09 ` NULL croco
2013-01-09 13:47   ` NULL John Spencer
2013-01-09 14:49     ` croco [this message]
2013-01-09 14:42 ` NULL Luca Barbato
2013-01-09 14:47   ` NULL Rich Felker
2013-01-09 15:03     ` NULL Luca Barbato
2013-01-09 15:18     ` NULL John Spencer
2013-01-09 15:36       ` NULL Rich Felker
2013-01-09 21:11         ` NULL Rob
2013-01-09 21:53           ` NULL Szabolcs Nagy
2013-01-09 22:17             ` NULL Rob
2013-01-09 23:42         ` NULL Szabolcs Nagy
2013-01-12  6:56         ` NULL Rob Landley
2013-01-12  7:07           ` NULL Bobby Bingham
2013-01-12 13:31           ` NULL Rich Felker
2013-01-13 14:29             ` NULL Rob Landley
2013-01-13 14:56               ` NULL Luca Barbato
2013-01-13 16:29                 ` NULL Rob Landley
2013-01-13 17:14                   ` NULL Luca Barbato
2013-01-13 15:23               ` NULL Strake
2013-01-13 17:17                 ` NULL Luca Barbato
2013-01-13 17:47               ` NULL Szabolcs Nagy
2013-01-13 19:46                 ` NULL Rob Landley
2013-01-14  6:11                   ` NULL Rich Felker
2013-01-14  8:45                     ` musl as a framework to test applications' compatibility with POSIX (was: NULL) Vasily Kulikov
2013-01-14 14:03                       ` Rich Felker
2013-01-14 14:30                         ` Vasily Kulikov
2013-01-14 15:02                           ` Szabolcs Nagy
2013-01-14 15:14                           ` Rich Felker
2013-01-14 13:19                     ` NULL Rob Landley
2013-01-12  5:56 ` NULL Rob Landley
2013-01-12  6:42   ` NULL Rich Felker

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=20130109144925.GB2947@openwall.com \
    --to=croco@openwall.com \
    --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).