From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14913 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Problems with libc6-compat Date: Fri, 8 Nov 2019 12:47:08 -0500 Message-ID: <20191108174708.GE16318@brightrain.aerifal.cx> References: <20191108131509.GB25646@port70.net> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="164132"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Szabolcs Nagy , musl@lists.openwall.com To: Augusto =?utf-8?B?Q8Opc2Fy?= Dias Original-X-From: musl-return-14929-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 08 18:47:30 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1iT8M6-000gad-07 for gllmg-musl@m.gmane.org; Fri, 08 Nov 2019 18:47:30 +0100 Original-Received: (qmail 24339 invoked by uid 550); 8 Nov 2019 17:47:27 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 24321 invoked from network); 8 Nov 2019 17:47:27 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14913 Archived-At: 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 wrote: > > > * Augusto César Dias [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. > >