From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14921 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Augusto_C=C3=A9sar_Dias?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: Problems with libc6-compat Date: Fri, 8 Nov 2019 23:47:04 +0100 Message-ID: References: <20191108174708.GE16318@brightrain.aerifal.cx> <7B3DCE30-7F2B-4A4C-AD46-6C3F36BE19ED@gmail.com> <20191108220728.28a0723b@t440s> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000040fa530596dd90bf" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="97659"; mail-complaints-to="usenet@blaine.gmane.org" Cc: musl@lists.openwall.com, Rich Felker , Szabolcs Nagy To: Johannes Brechtmann Original-X-From: musl-return-14937-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 08 23:47:31 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 1iTD2Q-000PHu-Eu for gllmg-musl@m.gmane.org; Fri, 08 Nov 2019 23:47:30 +0100 Original-Received: (qmail 17408 invoked by uid 550); 8 Nov 2019 22: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 16363 invoked from network); 8 Nov 2019 22:47:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MBXqMxfeoZ3ttH4PpKsCOJK/4a2j4G7UiixfhKLD/B0=; b=J2UDtiJdNNLgcre+kdMzuysW+8SsjrDC6ky1q8GAjzQFdcqUnjFXeQdiOLWMkdq3ru w9s69+i3JtJwFAypdIdcPtDNxDxeDc+DrCXY/m1zD/EQWdjla5Z4a5miXcJmZpQel8s0 Rvw2LcY19Bz+x2QprVUza3mwzHvwgmVEnONtBSBsx3+25JvYo5LOSqm8pZ1mLVj+IHaN GJEsB4G8ZXgcuCu5IhfrOy1LDqk45HFtIMZCwxFNOd6xco6xQnoYStzEN294Es2uc5gW G8iwVWdkQEm8rtxSF/LQo+0SEb2xJp+p9c53XKHE2rjq7LbzEFq/0/e45JkTEO5+xx1S RoBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MBXqMxfeoZ3ttH4PpKsCOJK/4a2j4G7UiixfhKLD/B0=; b=B8b42AErWiFEnM5u1RhE/K6K5l8+SoMLhmWjkP5tDnYfASOK4gJiKsPxcp4RMVZTKu YTJImcxW9UEfFgRVctlcmrQWaYtY7AXXHTNrm4gr/RNn4vh/n/rLEpwNszUHUmy5q+m9 A5LbV09kQpYGM/ImuRzvBG5w8hZlR0YHXsbmcMdE5+sx7SBYITtR3OH6rli29JsoyCgO z79zlqHMa7so+rsnoMNWffEpC7FB4tJ0CqrzFgFzNmconCpEMGN7AEksWDE0hXgSdYPf GCiSlKKdgMYJ5Y0dFkNxWskKfIZbXhZAT9b4arOzlsFcXQkwAomNH2PVkC/o4TkyvA2T j3Ng== X-Gm-Message-State: APjAAAVQXB2/gm9y1d55ecJRnVuWwZ9vJhzXmPiIZGroCBDj2Qoom45q 5mV2dcd7la4DZFbdVS1cPlPy6qOEQWDrGw2ioHg= X-Google-Smtp-Source: APXvYqxnxl9h3jBEQ4IYdJhxsS/Rdsj8yCyPV+vktSzcKDlwnqzxs9nnXbSvp8P5U4UZmvq4l0qpdZKaF9i+46z+VMQ= X-Received: by 2002:adf:f60a:: with SMTP id t10mr7519440wrp.29.1573253235667; Fri, 08 Nov 2019 14:47:15 -0800 (PST) In-Reply-To: <20191108220728.28a0723b@t440s> Xref: news.gmane.org gmane.linux.lib.musl.general:14921 Archived-At: --00000000000040fa530596dd90bf Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Oh my god. Thank you very much. It does works and everything is running smoothly now := ) Best regards, *Augusto C=C3=A9sar Dias* On Fri, Nov 8, 2019 at 10:08 PM Johannes Brechtmann wrote: > On Fri, 8 Nov 2019 19:57:24 +0100 > Augusto C=C3=A9sar Dias wrote: > > > Yes, even rust has an official alpine image to compile rust > > applications on it, but it states some features won=E2=80=99t work such= as > > procedural macros which some libraries makes use of. Here=E2=80=99s an = issue > > stating what should be done... > > > > https://github.com/rust-lang/rust/issues/40174#issuecomment-538791091 > > Procedural macros are not restricted by musl but by static linking, > which rustc defaults to for musl targets. Enforcing dynamic linking > enables you to use procedural macros on musl: > > https://github.com/rust-lang/rust/pull/58575#issuecomment-496026747 > > > Johannes > --00000000000040fa530596dd90bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Oh my god.

Thank you very much. It does= works and everything is running=C2=A0smoothly now :)


Best regards,

Augusto C=C3=A9= sar Dias


<= /div>
O= n Fri, Nov 8, 2019 at 10:08 PM Johannes Brechtmann <johannes@jnbr.me> wrote:
On Fri, 8 Nov 2019 19:57:24 +0100
Augusto C=C3=A9sar Dias <augusto.c.dias@gmail.com> wrote:

> Yes, even rust has an official alpine image to compile rust
> applications on it, but it states some features won=E2=80=99t work suc= h as
> procedural macros which some libraries makes use of. Here=E2=80=99s an= issue
> stating what should be done...
>
> https://github.com/rust-la= ng/rust/issues/40174#issuecomment-538791091

Procedural macros are not restricted by musl but by static linking,
which rustc defaults to for musl targets. Enforcing dynamic linking
enables you to use procedural macros on musl:

https://github.com/rust-lang/rust= /pull/58575#issuecomment-496026747


Johannes
--00000000000040fa530596dd90bf--