All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: "Sören Tempel" <soeren@soeren-tempel.net>, dm-crypt@saout.de
Subject: [dm-crypt] Re: cryptsetup 2.4.0 does not compile on musl libc anymore
Date: Fri, 20 Aug 2021 10:20:17 +0200	[thread overview]
Message-ID: <e6bd4999-e6c5-a684-246c-554de940be05@gmail.com> (raw)
In-Reply-To: <35XPR9UQD3QB2.34PCBREEPLVZ1@8pit.net>

On 8/18/21 7:56 PM, Sören Tempel wrote:
> Hello,
> 
> I just wanted to let you know that cryptsetup 2.4.0, contrary to 2.3.0,
> no longer compiles with musl libc, e.g. as used on Alpine Linux, by
> default. This is due to the fact that the external tokens code uses
> dlvsym(3) which is a GNU extension not supported by musl. However, even
> if support for external tokens is disabled (--disable-external-tokens)
> `tests/all-symbols-test.c` fails to compile as it also requires dlvsym
> and is not compiled conditionally.

Hi,

Please create an issue in upstream project
https://gitlab.com/cryptsetup/cryptsetup/-/issues/new

The dlvsym() is crucial to the LUKS2 external token extension, so perhaps
the only solution would be to compile without external tokens for these
constrained libc systems.

And please, report this sooner - we released release-candidates exactly
to find such problems.
But people still do the same - waiting for final release, then complain
that something is broken. We cannot fix things that we do not know about.

If we can somehow automate build with non-glibc systems, I can add this
to CI later.

Thanks,
Milan
_______________________________________________
dm-crypt mailing list -- dm-crypt@saout.de
To unsubscribe send an email to dm-crypt-leave@saout.de

  reply	other threads:[~2021-08-20  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 17:56 [dm-crypt] cryptsetup 2.4.0 does not compile on musl libc anymore Sören Tempel
2021-08-20  8:20 ` Milan Broz [this message]
2021-08-20 11:48   ` [dm-crypt] " Sören Tempel
2021-08-20 12:11     ` Milan Broz
2021-08-22 12:58       ` Milan Broz

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=e6bd4999-e6c5-a684-246c-554de940be05@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=soeren@soeren-tempel.net \
    /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.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.