| Summary: | rtlinux build crash | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Evgeny Sinelnikov <sin> |
| Component: | findutils | Assignee: | placeholder <placeholder> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | minor | ||
| Priority: | P2 | CC: | glebfm, ldv, placeholder, vt |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
| URL: | http://www2.fsmlabs.com/pipermail/rtl/2002-December/011528.html | ||
You'd better clean up your environment; see "printenv |wc". * Wed Dec 17 2003 Dmitry V. Levin <ldv@altlinux.org> 4.1.20-alt2 - xargs: increased ARG_MAX limit from 20K to 64K, on popular demand. One kb don't solve this problem.
-----------------------------------
[sin@localhost SPECS]$ printenv |wc
55 66 1455
-----------------------------------
Thank you!
|
I am getting next error, when I build rtlinux-3.2-pre3 after make dep: "xargs: environment is too large for exec" I made next patch to avoid this problem: Make big arg_max --- findutils-4.1.20.orig/xargs/xargs.c 2003-11-08 18:01:17 +0300 +++ findutils-4.1.20/xargs/xargs.c 2003-11-08 18:06:10 +0300 @@ -300,8 +300,8 @@ have it at 1 meg). Things will work fine with a large ARG_MAX but it will probably hurt the system more than it needs to; an array of this size is allocated. */ - if (arg_max > 20 * 1024) - arg_max = 20 * 1024; + if (arg_max > 64 * 1024) + arg_max = 64 * 1024; /* Take the size of the environment into account. */ arg_max -= env_size (environ); Steps to Reproduce: 1.tar -xjf rtlinux-3.2-pre3.tar.bz2; cd rtlinux-3.2-pre3 2.ln -s <path_to_kernel> linux 3.make config; make dep Actual Results: make: error Expected Results: make: done