Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segmentation faults with uClibc-ng #6

Closed
wbx-github opened this issue Jun 10, 2018 · 2 comments
Closed

segmentation faults with uClibc-ng #6

wbx-github opened this issue Jun 10, 2018 · 2 comments

Comments

@wbx-github
Copy link

When using a system with uClibc-ng for embedded targets with Buildroot or
Gentoo/hardened on Desktop there is a segmentation fault trying to use cryptsetup.
The reason for it is, that uClibc-ng does not support symbol versioning.

See here a workaround:
https://bugs.busybox.net/attachment.cgi?id=7496&action=diff&collapsed=&headers=1&format=raw

Is the combat code still required in libdm/ioctl/libdm-iface.c?

Thanks

@mniestroj
Copy link

Hi.
Please see my patch here: https://www.redhat.com/archives/dm-devel/2018-July/msg00187.html
In general after applying this patch you can compile lvm2 with --disable-symvers option, so lvm2 under uclibc will work successfully.

@zkabelac
Copy link
Contributor

Issue resolved with option --with-symvers / --without-symvers based on this originating patch for upstream lvm2 2.03.12 in this commit: 1cedbaf.

https://listman.redhat.com/archives/lvm-devel/2021-March/msg00298.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants