Skip to contentSkip to conversation

*** SUBJECT HERE ***

PATCH New Chris Zankel 1 participant 3 messages Nov 20, 2013

lore
Share & tools
lore
#0 lore raw

cover *** SUBJECT HERE ***

Hi,

These two patches fix two of the broken builds for Xtensa:
- coreutils
- cdrkit

The first patch enables valloc for recent versions of uClibc (snapshot), which is still used by cdrkit. The second patch disables libnsrp for Xtensa (!BR_xtensa), which is used by libnss, and consequently libnss and ecryptfs.

Thanks,
-Chris

Chris Zankel (2):
uclibc-snapshot: enable option UCLIBC_SUSV2_LEGACY
libnspr: Add dependency on !BR2_xtensa

 package/ecryptfs-utils/Config.in      | 1 +
 package/libnspr/Config.in             | 3 ++-
 package/libnss/Config.in              | 1 +
 package/uclibc/uClibc-snapshot.config | 1 +
 4 files changed, 5 insertions(+), 1 deletion(-)
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/2 uclibc-snapshot: enable option UCLIBC_SUSV2_LEGACY

With uClibc commit e8065705, valloc is now optional in SUSv2 and removed from SUSv3 and later. However, cdrkit currently requires valloc, so enable it in the uClibc snapshot configuration file.

---
 package/uclibc/uClibc-snapshot.config | 1 +
 1 file changed, 1 insertion(+)
package/uclibc/uClibc-snapshot.config +1 -0
index 145f709..9ca3f9e 100644
@@ -116,6 +116,7 @@ MALLOC_GLIBC_COMPAT=y
 UCLIBC_HAS_OBSTACK=y
 UCLIBC_DYNAMIC_ATEXIT=y
 # COMPAT_ATEXIT is not set
+UCLIBC_SUSV2_LEGACY=y
 UCLIBC_SUSV3_LEGACY=y
 # UCLIBC_SUSV3_LEGACY_MACROS is not set
 UCLIBC_SUSV4_LEGACY=y
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 2/2 libnspr: Add dependency on !BR2_xtensa

In reply to Chris Zankel

Xtensa is not yet supported in libnspr. Also add dependencies to libnss, which requires libnspr, and ecryptfs-utils, which requires libnss.

---
 package/ecryptfs-utils/Config.in | 1 +
 package/libnspr/Config.in        | 3 ++-
 package/libnss/Config.in         | 1 +
 3 files changed, 4 insertions(+), 1 deletion(-)
package/ecryptfs-utils/Config.in +1 -0
index 480aedd..514578c 100644
@@ -7,6 +7,7 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
 	depends on BR2_LARGEFILE # libnss
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnss -> libnspr
 	depends on !BR2_arc # libnss -> libnspr
+	depends on !BR2_xtensa # libnss -> libnspr
 	help
 	  eCryptfs is a POSIX-compliant enterprise cryptographic
 	  filesystem for Linux. It is stacked on top of any other
package/libnspr/Config.in +2 -1
index 4ef3a51..0d5632f 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBNSPR
 	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on !BR2_arc
+	depends on !BR2_xtensa
 	help
 	  NSPR is the Netscape Portable Runtime library which provides
 	  a platform-neutral API for system level and libc like
@@ -12,5 +13,5 @@ config BR2_PACKAGE_LIBNSPR
 	  http://www.mozilla.org/projects/nspr/
 
 comment "libnspr needs a toolchain w/ largefile, threads"
-	depends on !BR2_arc
+	depends on !BR2_arc && !BR2_xtensa
 	depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
package/libnss/Config.in +1 -0
index 88b1fde..2671998 100644
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBNSS
 	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
 	depends on !BR2_arc # libnspr
+	depends on !BR2_xtensa # libnspr
 	help
 	  Network Security Services (NSS) is a set of libraries designed
 	  to support development of security-enabled client and server
Signature · 1 line
1.8.1.2