diff mbox

[v2] mongrel2: Needs a {e, }glibc or a uClibc-0.9.34-git based toolchain

Message ID 1369326481-18848-1-git-send-email-markos.chandras@gmail.com
State Accepted
Commit faefecd7f6f911b9ccd4ca54a94e9962262e4c7e
Headers show

Commit Message

Markos Chandras May 23, 2013, 4:28 p.m. UTC
From: Markos Chandras <markos.chandras@imgtec.com>

mongrel2 needs the {get,make,swap}context functions which are
present in {e,}glibc and in the uClibc's master branch.

Fixes:
http://autobuild.buildroot.net/results/8e132a2b03a7b5ae94199db7db86883c05dca700/build-end.log

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
---
 package/mongrel2/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Thomas Petazzoni May 23, 2013, 4:38 p.m. UTC | #1
Dear Markos Chandras,

On Thu, 23 May 2013 17:28:01 +0100, Markos Chandras wrote:
> From: Markos Chandras <markos.chandras@imgtec.com>
> 
> mongrel2 needs the {get,make,swap}context functions which are
> present in {e,}glibc and in the uClibc's master branch.
> 
> Fixes:
> http://autobuild.buildroot.net/results/8e132a2b03a7b5ae94199db7db86883c05dca700/build-end.log
> 
> Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>

Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Peter Korsgaard May 23, 2013, 8:31 p.m. UTC | #2
>>>>> "Markos" == Markos Chandras <markos.chandras@gmail.com> writes:

 Markos> From: Markos Chandras <markos.chandras@imgtec.com>
 Markos> mongrel2 needs the {get,make,swap}context functions which are
 Markos> present in {e,}glibc and in the uClibc's master branch.

 Markos> Fixes:
 Markos> http://autobuild.buildroot.net/results/8e132a2b03a7b5ae94199db7db86883c05dca700/build-end.log

Committed, thanks.
diff mbox

Patch

diff --git a/package/mongrel2/Config.in b/package/mongrel2/Config.in
index 05d10d7..034dbf9 100644
--- a/package/mongrel2/Config.in
+++ b/package/mongrel2/Config.in
@@ -6,6 +6,12 @@  config BR2_PACKAGE_MONGREL2
 	depends on BR2_INET_IPV6 # zeromq
 	depends on BR2_LARGEFILE # zeromq -> util-linux
 	depends on BR2_USE_WCHAR # zeromq -> util-linux
+	# {get,make,swap}context functions present in
+	# {e,}glibc and in uClibc's master branch.
+	depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
+		BR2_TOOLCHAIN_EXTERNAL_GLIBC || \
+		BR2_TOOLCHAIN_CTNG_eglibc || \
+		BR2_TOOLCHAIN_CTNG_glibc
 	help
 	  Mongrel2 is an application, language, and network architecture
 	  agnostic web server that focuses on web applications using