Hello, and thanks for your inputs.

I've tried to rise ulimit -s to the maximum possible (i.e. 16384 on my
Fedora 18 x86-64), but to no avail.
I guess openembedded (which runs on my Fedora 18) uses a reasonnable stack
size for building, if not the "ulimit -s" one (have to check). After all,
it is for this reason that we cross-compile!

When branch "master" of openembedded switched to yocto 1.3/gcc 4.7, a lot
of extra tune features began appearing in the compile lines (at least for
my target, the beaglebone). And since openssl seems to use more than 600
source files, I can understand that this may overflow the size of the
argument list...

Best regards,

Erwin




On Wed, May 22, 2013 at 8:04 PM, Ben Noordhuis <[email protected]> wrote:

> On Wed, May 22, 2013 at 6:45 PM, Erwin Schaefer
> <[email protected]> wrote:
> > Hello,
> >
> > I contacted Martin Jansa (maintaining nodejs recipes on openembedded),
> and
> > he could build nodejs 0.10.x perfectly on his machine.
> >
> > Then, I ran into this stackoverflow post, where a person runs into the
> same
> > problem (linking libopenssl.a, but on Centos 6.3), with the same error
> > message ("argument list too long")
> >
> >
> http://stackoverflow.com/questions/16012280/error-during-nodejs-installation-on-centos-6-3
> >
> > For the record, I can build nodejs 0.10.x perfectly on my Fedora 18
> machine.
> >
> > Could nodejs build fail in specific environments?
> >
> > Thanks for your hints,
> >
> > Best regards,
> >
> > Erwin
>
> Try raising `ulimit -s` unless your kernel is < 2.6.23, in that case
> you're out of luck.
>
> On Linux, the maximum size of the argument list is 25% of the stack
> size.  The default stack size on most server/desktop systems is 8192
> kB but it's probably less (maybe a lot less) on embedded systems.
>
> --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "nodejs" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/nodejs/D6Xzd4OHV-o/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to