mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Timo Teras <timo.teras@iki.fi>
To: Florian Weimer <fweimer@redhat.com>
Cc: musl@lists.openwall.com, u-uy74@aetey.se
Subject: Re: Symbol versioning approximation trips on compat symbols
Date: Mon, 28 Jan 2019 11:17:32 +0200	[thread overview]
Message-ID: <20190128111732.26097820@vostro> (raw)
In-Reply-To: <87bm41xpce.fsf@oldenburg2.str.redhat.com>

On Mon, 28 Jan 2019 07:34:25 +0100
Florian Weimer <fweimer@redhat.com> wrote:

> * u-uy:
> 
> > On Sat, Jan 26, 2019 at 11:04:24PM -0500, Rich Felker wrote:  
> >> For what it's worth, compat symbols would have let us remove
> >> symbols that shouldn't have been put in musl, such as lchmod
> >> (which confuses broken apps which wrongly expect that, if it
> >> exists, it should work)  
> >
> > For what my integrator perspective is worth, exposing brokenness
> > instead of catering for it is a Good Thing.
> >
> > Feature detection is one of the typical areas being messed up, in
> > numerous softwares.
> >
> > Thanks musl for exposing the pitfalls and forcing upstreams think
> > better.  
> 
> As I explained, precisely that is not the case because the main musl
> user, Alpine Linux, builds musl with a broken toolchain that is not
> properly targeted to musl's features.  I think the official musl
> instructions have the same result.

I remember trying to build tool chain with symbol versioning disabled.
However, it did not work out.

It's long time ago, and I don't remember exacts (if it was build
failure, or run time failure). Could be that the symbol version
extension stop working failing build of various software.

Or maybe it was that the libgcc builds with symbol versioning
enabled/disabled are not compatible, so we would also lose glibc
compatibility if we disabled.

But what I remember that it did not work at all. Perhaps it was just
broken gcc version or something like that.

In any case, I came to conclusion that toolchain with symbol versions
disabled on linux did not fell like first class citizen.

Or maybe I just messed up something.

Has anyone built toolchain with symbol versions disabled from recent
binutils+gcc and used that to build a non-trivial amount of software?
Say 100+ packages?

Timo


  reply	other threads:[~2019-01-28  9:17 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-21 17:57 Florian Weimer
2019-01-24  1:43 ` Rich Felker
2019-01-24  9:28   ` u-uy74
2019-01-24 10:11     ` Florian Weimer
2019-01-24 11:09   ` Szabolcs Nagy
2019-01-24 11:18     ` Florian Weimer
2019-01-27  4:04       ` Rich Felker
2019-01-27  9:36         ` u-uy74
2019-01-28  6:34           ` Florian Weimer
2019-01-28  9:17             ` Timo Teras [this message]
2019-01-28 11:33               ` Szabolcs Nagy
2019-01-28 12:40             ` Szabolcs Nagy
2019-01-28 13:08             ` (OT?) Re: [musl] " u-uy74
2019-01-28 15:22               ` Markus Wichmann
2019-01-28 15:34                 ` Rich Felker
2019-01-28 15:29               ` Rich Felker
2019-01-29 17:13                 ` u-uy74
2019-01-30 14:57                   ` Rich Felker
2019-01-28 21:57             ` A. Wilcox
2019-01-28 22:52               ` Matias Fonzo
2019-01-28 23:12                 ` Zach van Rijn
2019-01-28 23:41                   ` A. Wilcox
2019-01-28 23:47                     ` Rich Felker
2019-01-29  3:22                       ` A. Wilcox
2019-01-29 19:40                         ` Matias Fonzo
2019-01-29 19:31                   ` Matias Fonzo

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=20190128111732.26097820@vostro \
    --to=timo.teras@iki.fi \
    --cc=fweimer@redhat.com \
    --cc=musl@lists.openwall.com \
    --cc=u-uy74@aetey.se \
    /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).