* [PATCH 1/2] uclibc-snapshot: enable option UCLIBC_SUSV2_LEGACY
2013-11-20 22:02 [PATCH 0/2] *** SUBJECT HERE *** Chris Zankel
@ 2013-11-20 18:07 ` Chris Zankel
2013-11-20 18:46 ` [PATCH 2/2] libnspr: Add dependency on !BR2_xtensa Chris Zankel
1 sibling, 0 replies; 3+ messages in thread
From: Chris Zankel @ 2013-11-20 18:07 UTC (permalink / raw)
To: buildroot
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.
Signed-off-by: Chris Zankel <chris@zankel.net>
---
package/uclibc/uClibc-snapshot.config | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/uclibc/uClibc-snapshot.config b/package/uclibc/uClibc-snapshot.config
index 145f709..9ca3f9e 100644
--- a/package/uclibc/uClibc-snapshot.config
+++ b/package/uclibc/uClibc-snapshot.config
@@ -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
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] libnspr: Add dependency on !BR2_xtensa
2013-11-20 22:02 [PATCH 0/2] *** SUBJECT HERE *** Chris Zankel
2013-11-20 18:07 ` [PATCH 1/2] uclibc-snapshot: enable option UCLIBC_SUSV2_LEGACY Chris Zankel
@ 2013-11-20 18:46 ` Chris Zankel
1 sibling, 0 replies; 3+ messages in thread
From: Chris Zankel @ 2013-11-20 18:46 UTC (permalink / raw)
To: buildroot
Xtensa is not yet supported in libnspr. Also add dependencies to libnss,
which requires libnspr, and ecryptfs-utils, which requires libnss.
Signed-off-by: Chris Zankel <chris@zankel.net>
---
package/ecryptfs-utils/Config.in | 1 +
package/libnspr/Config.in | 3 ++-
package/libnss/Config.in | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/ecryptfs-utils/Config.in b/package/ecryptfs-utils/Config.in
index 480aedd..514578c 100644
--- a/package/ecryptfs-utils/Config.in
+++ b/package/ecryptfs-utils/Config.in
@@ -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
diff --git a/package/libnspr/Config.in b/package/libnspr/Config.in
index 4ef3a51..0d5632f 100644
--- a/package/libnspr/Config.in
+++ b/package/libnspr/Config.in
@@ -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
diff --git a/package/libnss/Config.in b/package/libnss/Config.in
index 88b1fde..2671998 100644
--- a/package/libnss/Config.in
+++ b/package/libnss/Config.in
@@ -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
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 0/2] *** SUBJECT HERE ***
@ 2013-11-20 22:02 Chris Zankel
2013-11-20 18:07 ` [PATCH 1/2] uclibc-snapshot: enable option UCLIBC_SUSV2_LEGACY Chris Zankel
2013-11-20 18:46 ` [PATCH 2/2] libnspr: Add dependency on !BR2_xtensa Chris Zankel
0 siblings, 2 replies; 3+ messages in thread
From: Chris Zankel @ 2013-11-20 22:02 UTC (permalink / raw)
To: buildroot
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(-)
--
1.8.1.2
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-11-20 22:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 22:02 [PATCH 0/2] *** SUBJECT HERE *** Chris Zankel
2013-11-20 18:07 ` [PATCH 1/2] uclibc-snapshot: enable option UCLIBC_SUSV2_LEGACY Chris Zankel
2013-11-20 18:46 ` [PATCH 2/2] libnspr: Add dependency on !BR2_xtensa Chris Zankel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox