Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 8 Nov 2019 12:47:08 -0500
From: Rich Felker <dalias@...c.org>
To: Augusto César Dias <augusto.c.dias@...il.com>
Cc: Szabolcs Nagy <nsz@...t70.net>, musl@...ts.openwall.com
Subject: Re: Problems with libc6-compat

On Fri, Nov 08, 2019 at 02:18:26PM +0100, Augusto César Dias wrote:
> It is indeed. The problem is there are some features in the rust compiler
> that are not supported in musl.

Could you elaborate on that? My understanding is that several
musl-based distros are shipping rustc and it's believed/expected to
work fine, but maybe I'm missing something.

Rich


> On Fri, Nov 8, 2019 at 2:15 PM Szabolcs Nagy <nsz@...t70.net> wrote:
> 
> > * Augusto César Dias <augusto.c.dias@...il.com> [2019-11-08 13:26:33
> > +0100]:
> > > My application depends on glib2 which I installed through apk and when it
> > > starts it fails with the following:
> > >
> > > **
> > > GLib-GObject:ERROR:../gobject/gtype.c:2743:g_type_register_static:
> > > assertion failed: (static_quark_type_flags)
> > > Aborted
> >
> > there is at least one known glibc quark bug
> >
> > https://gitlab.alpinelinux.org/alpine/aports/blob/master/main/glib/0001-gquark-fix-initialization-with-c-constructors.patch
> >
> > but that should be fixed in alpine, and in recent musl
> > it should work even without patching, unless this is
> > static linking.
> >
> > > I've trying to compile a C example directly in my alpine container and it
> > > works in there, so that made me believe I'm having some problems with the
> > > cross compilation/linking in my glibc container.
> > >
> > > Any ideas on how can I solve this?
> >
> > why do you need to cross compile?
> >
> > building natively on a musl based distro where all dependencies
> > are correctly built and packaged should be much more reliable.
> >

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.