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

Build with uClibc #76

Closed
andy-shev opened this issue Nov 25, 2016 · 3 comments
Closed

Build with uClibc #76

andy-shev opened this issue Nov 25, 2016 · 3 comments

Comments

@andy-shev
Copy link

At least efivar can be built in uClibc environment. I have a patch: https://github.com/andy-shev/efivar/commit/2255601757a8a58baddad2d37d0bcc6b003a3732

gevans pushed a commit to hashrabbit/buildroot that referenced this issue Nov 27, 2016
Details at rhboot/efivar#76.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[Thomas: tweak the dependency, efivar still doesn't build with musl.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
@gordio
Copy link

gordio commented Feb 2, 2017

Nice. This patch can help me!

x86_64-gentoo-linux-uclibc-gcc -march=broadwell -O2 -pipe -flto -I/var/tmp/portage/sys-libs/efivar-30/work/efivar-30/src/include/efivar/  -specs=/var/tmp/portage/sys-libs/efivar-30/work/efivar-30/gcc.specs  -fPIC  -c -o export.o export.c
export.c:24:19: fatal error: uchar.h: No such file or directory
compilation terminated.

P.S. Gentoo with uClibc

@vathpela
Copy link
Contributor

vathpela commented Feb 6, 2017

I guess it's reasonable to ship this patch in the distro packaging if your distro supports using uClibc. From an upstream perspective, uClibc really needs to be providing modern C headers. Changing every program to hack around a toolchain that's incomplete simply isn't a sustainable plan.

@vathpela vathpela closed this as completed Feb 6, 2017
@andy-shev
Copy link
Author

TWIMC, from February 2017 uClibc-NG has that header. uClibc on the other hand seems abandoned.

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