| Summary: | getconf ARG_MAX returns undefined, confusing configure | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Michael Deutschmann <michael> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | uclibc-cvs |
| Priority: | P5 | ||
| Version: | 0.9.32 | ||
| Target Milestone: | 0.9.33.2 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Patch to make sysconf always return ARG_MAX | ||
Fixed in 4b24c5ad368d0312dbb9cfd6e028a3b21bba48cd Thanks! the libtool code is broken by not handling "undefined" as a value. i'll post a patch to them though. |
Created attachment 3397 [details] Patch to make sysconf always return ARG_MAX When uClibc's getconf utility is installed, and uClibc is not built for threads, GNU autoconf scripts will malfunction when determining the maximum length of command-line arguments. This is because uClibc's sysconf() returns -1, causing getconf to print "undefined". The autoconf scripts cannot tolerate a non-numeric response there. Attached is a patch that forces sysconf to return legacy_ARG_MAX as a last resort, rather than -1.