B Wyatt created TS-1230:
---------------------------

             Summary: 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


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

        

Reply via email to