From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14919 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Johannes Brechtmann Newsgroups: gmane.linux.lib.musl.general Subject: Re: Problems with libc6-compat Date: Fri, 8 Nov 2019 22:07:28 +0100 Message-ID: <20191108220728.28a0723b@t440s> References: <20191108174708.GE16318@brightrain.aerifal.cx> <7B3DCE30-7F2B-4A4C-AD46-6C3F36BE19ED@gmail.com> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="227070"; mail-complaints-to="usenet@blaine.gmane.org" Cc: musl@lists.openwall.com, Rich Felker , Szabolcs Nagy To: Augusto =?UTF-8?B?Q8Opc2Fy?= Dias Original-X-From: musl-return-14935-gllmg-musl=m.gmane.org@lists.openwall.com Fri Nov 08 22:08:35 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 1iTBUg-000wsR-Mv for gllmg-musl@m.gmane.org; Fri, 08 Nov 2019 22:08:34 +0100 Original-Received: (qmail 17590 invoked by uid 550); 8 Nov 2019 21:08: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 17566 invoked from network); 8 Nov 2019 21:08:26 -0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jnbr.me; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=default; bh=+JPmDXnqx ZyMk0ZlL2K9tDdOp5s=; b=dODXRe8PUAov07xteJc2fnzqvDQ0DRJ547TI2lUnt eYxQ9CvdW2QKrfDSpLnL9LKryNqBFHW1w1Gt01EH2x4OmyxIYyct8V9q7PY2p4/N S7kaIU7lDkFSn/kx4ZTV/myoq59sVcD+lIRh01nFfTqDH61CmndLkjXnQbqy26Ud mw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=jnbr.me; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=default; b=skm DyGMhpCLP80zjgNrA9KejWiEzCFt+1/yC2k6U7JKVrsM5qKKNg0sbtbYUunc2cEz YUmV9k2nhdolXSvzdgxEWdUrjnlnKDA+WOtcL4YRS+kA6vwE+hqs5iqwUq4VAEeT 6+fZbMcRdjEtyXaKEdNlCYWDugPi2oWXKpxd7V8s= In-Reply-To: <7B3DCE30-7F2B-4A4C-AD46-6C3F36BE19ED@gmail.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-musl) Xref: news.gmane.org gmane.linux.lib.musl.general:14919 Archived-At: 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 is= sue > stating what should be done... >=20 > 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