Skip to contentSkip to conversation

lvm2: allow build since uclibc 1.0.24

PATCH New Waldemar Brodkorb 2 participants 2 messages Apr 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lvm2: allow build since uclibc 1.0.24

uClibc-ng 1.0.24 allows to use long double wrappers for every architecture.

---
 package/lvm2/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/lvm2/Config.in +2 -3
index b28b197..c1287dd 100644
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LVM2
 	depends on !BR2_STATIC_LIBS # It fails to build statically
 	# http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
 	depends on !BR2_TOOLCHAIN_USES_MUSL
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC # missing floorl(), nearbyintl()
 	help
 	  This is LVM2, the rewrite of The Linux Logical Volume Manager.
 	  LVM supports enterprise level volume management of disk and disk
@@ -39,7 +38,7 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY
 
 endif
 
-comment "lvm2 needs a glibc toolchain w/ threads, dynamic library"
+comment "lvm2 needs a glibc or uClibc toolchain w/ threads, dynamic library"
 	depends on BR2_USE_MMU
 	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
-		|| BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_USES_UCLIBC
+		|| BR2_TOOLCHAIN_USES_MUSL
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 lvm2: allow build since uclibc 1.0.24

Hi Waldemar,

Quoted 2 lines · Waldemar Brodkorb

uClibc-ng 1.0.24 allows to use long double wrappers for every architecture.

Please revert commit 66f136a9f64b (lvm2: disable build with uClibc-ng). That would also revert the propagation of the !BR2_TOOLCHAIN_USES_UCLIBC dependency.

baruch

Quoted 27 lines
---
 package/lvm2/Config.in | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
package/lvm2/Config.in +2 -3
index b28b197..c1287dd 100644
@@ -5,7 +5,6 @@ config BR2_PACKAGE_LVM2
 	depends on !BR2_STATIC_LIBS # It fails to build statically
 	# http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
 	depends on !BR2_TOOLCHAIN_USES_MUSL
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC # missing floorl(), nearbyintl()
 	help
 	  This is LVM2, the rewrite of The Linux Logical Volume Manager.
 	  LVM supports enterprise level volume management of disk and disk
@@ -39,7 +38,7 @@ config BR2_PACKAGE_LVM2_APP_LIBRARY
 
 endif
 
-comment "lvm2 needs a glibc toolchain w/ threads, dynamic library"
+comment "lvm2 needs a glibc or uClibc toolchain w/ threads, dynamic library"
 	depends on BR2_USE_MMU
 	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS \
-		|| BR2_TOOLCHAIN_USES_MUSL || BR2_TOOLCHAIN_USES_UCLIBC
+		|| BR2_TOOLCHAIN_USES_MUSL
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -