* [Buildroot] [PATCH] mongrel2: Needs a glibc or a uClibc-0.9.34-git based toolchain
@ 2013-05-22 14:10 Markos Chandras
2013-05-22 14:43 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Markos Chandras @ 2013-05-22 14:10 UTC (permalink / raw)
To: buildroot
From: Markos Chandras <markos.chandras@imgtec.com>
mongrel2 needs the {get,make,swap}context functions which are
present in 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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/mongrel2/Config.in b/package/mongrel2/Config.in
index 05d10d7..1cebcf0 100644
--- a/package/mongrel2/Config.in
+++ b/package/mongrel2/Config.in
@@ -6,6 +6,9 @@ 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
+ # glibc and in uClibc's master branch.
+ depends on BR2_UCLIBC_VERSION_SNAPSHOT || !BR2_TOOLCHAIN_BUILDROOT
help
Mongrel2 is an application, language, and network architecture
agnostic web server that focuses on web applications using
--
1.8.2.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] mongrel2: Needs a glibc or a uClibc-0.9.34-git based toolchain
2013-05-22 14:10 [Buildroot] [PATCH] mongrel2: Needs a glibc or a uClibc-0.9.34-git based toolchain Markos Chandras
@ 2013-05-22 14:43 ` Thomas Petazzoni
2013-05-22 14:57 ` Markos Chandras
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2013-05-22 14:43 UTC (permalink / raw)
To: buildroot
Dear Markos Chandras,
On Wed, 22 May 2013 15:10:08 +0100, Markos Chandras wrote:
> + # {get,make,swap}context functions present in
> + # glibc and in uClibc's master branch.
> + depends on BR2_UCLIBC_VERSION_SNAPSHOT || !BR2_TOOLCHAIN_BUILDROOT
> help
> Mongrel2 is an application, language, and network architecture
> agnostic web server that focuses on web applications using
An external toolchain can be uClibc based... but we don't know which
version. However, since no uClibc stable release has been released with
this feature, I don't expect any external toolchain today to have this
feature enabled. So something like:
depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
external toolchain uses glibc or eglibc || \
crosstool-ng backend has glibc or eglibc selected
Would probably be more appropriate.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] mongrel2: Needs a glibc or a uClibc-0.9.34-git based toolchain
2013-05-22 14:43 ` Thomas Petazzoni
@ 2013-05-22 14:57 ` Markos Chandras
2013-05-22 15:52 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Markos Chandras @ 2013-05-22 14:57 UTC (permalink / raw)
To: buildroot
On 22 May 2013 15:43, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Markos Chandras,
>
> On Wed, 22 May 2013 15:10:08 +0100, Markos Chandras wrote:
>
>> + # {get,make,swap}context functions present in
>> + # glibc and in uClibc's master branch.
>> + depends on BR2_UCLIBC_VERSION_SNAPSHOT || !BR2_TOOLCHAIN_BUILDROOT
>> help
>> Mongrel2 is an application, language, and network architecture
>> agnostic web server that focuses on web applications using
>
> An external toolchain can be uClibc based... but we don't know which
> version. However, since no uClibc stable release has been released with
> this feature, I don't expect any external toolchain today to have this
> feature enabled. So something like:
>
> depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
> external toolchain uses glibc or eglibc || \
> crosstool-ng backend has glibc or eglibc selected
>
> Would probably be more appropriate.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
Hi Thomas,
No problem. Although I can't find an option for external toolchain +
eglibc. So what I have right now is this:
# {get,make,swap}context functions present in
# {e,}glibc and in uClibc's master branch.
depends on BR2_UCLIBC_VERSION_SNAPSHOT || \
BR2_TOOLCHAIN_CTNG_eglibc || \
BR2_TOOLCHAIN_CTNG_glibc || \
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC || \
BR2_TOOLCHAIN_EXTERNAL_GLIBC
I believe this should cover all the cases. Thanks for the review
--
Regards,
Markos Chandras
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] mongrel2: Needs a glibc or a uClibc-0.9.34-git based toolchain
2013-05-22 14:57 ` Markos Chandras
@ 2013-05-22 15:52 ` Thomas Petazzoni
2013-05-22 15:56 ` Markos Chandras
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2013-05-22 15:52 UTC (permalink / raw)
To: buildroot
Dear Markos Chandras,
On Wed, 22 May 2013 15:57:36 +0100, Markos Chandras wrote:
> No problem. Although I can't find an option for external toolchain +
> eglibc. So what I have right now is this:
Yes, in the external toolchain backend, we support eglibc and glibc
similarly, so there's just one single option for both.
It is however not needed to put BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC in
your condition, because it already selects
BR2_TOOLCHAIN_EXTERNAL_GLIBC. So as far as external toolchains are
concerned, "depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC" is enough.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] mongrel2: Needs a glibc or a uClibc-0.9.34-git based toolchain
2013-05-22 15:52 ` Thomas Petazzoni
@ 2013-05-22 15:56 ` Markos Chandras
0 siblings, 0 replies; 5+ messages in thread
From: Markos Chandras @ 2013-05-22 15:56 UTC (permalink / raw)
To: buildroot
On 22 May 2013 16:52, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Markos Chandras,
>
> On Wed, 22 May 2013 15:57:36 +0100, Markos Chandras wrote:
>
>> No problem. Although I can't find an option for external toolchain +
>> eglibc. So what I have right now is this:
>
> Yes, in the external toolchain backend, we support eglibc and glibc
> similarly, so there's just one single option for both.
>
> It is however not needed to put BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC in
> your condition, because it already selects
> BR2_TOOLCHAIN_EXTERNAL_GLIBC. So as far as external toolchains are
> concerned, "depends on BR2_TOOLCHAIN_EXTERNAL_GLIBC" is enough.
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
Hi Thomas,
Thank you for the clarification. I will prepare a new patch.
--
Regards,
Markos Chandras
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-05-22 15:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-22 14:10 [Buildroot] [PATCH] mongrel2: Needs a glibc or a uClibc-0.9.34-git based toolchain Markos Chandras
2013-05-22 14:43 ` Thomas Petazzoni
2013-05-22 14:57 ` Markos Chandras
2013-05-22 15:52 ` Thomas Petazzoni
2013-05-22 15:56 ` Markos Chandras
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.