[
https://issues.apache.org/jira/browse/TS-1230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13265452#comment-13265452
]
James Peach commented on TS-1230:
---------------------------------
Can't we just fix the root cause rather than adding another tunable?
> ARG_MAX causing build errors
> ----------------------------
>
> Key: TS-1230
> URL: https://issues.apache.org/jira/browse/TS-1230
> Project: Traffic Server
> Issue Type: Bug
> Components: Build, Packaging
> Environment: Ubuntu 11.4 with 3.0.0 kernel, make 3.81-8ubuntu1,
> libc-bin 2.13-0ubuntu13.1
> Reporter: B Wyatt
> Assignee: B Wyatt
> Fix For: 3.1.4
>
>
> getconf ARG_MAX is used to size static arrays inside Main.cc and
> LocalManager.cc by way of the configure script. However, getconf ARG_MAX is
> returning inconsistent results based on how it is run. Below is an example
> from the environment above:
> {noformat}
> $ cat Makefile
> all:
> getconf ARG_MAX
> $ make
> getconf ARG_MAX
> 4611686018427387903
> $ getconf ARG_MAX
> 2097152
> {noformat}
> The results is that static arrays based on ARG_MAX in Main.cc and
> LocalManager.cc can vary based on whether the build is done manually or via
> make based packaging scripts. In the case of an outlandish return value,
> this can cause failure at link time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira