You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/09/26 18:22:26 UTC

DO NOT REPLY [Bug 13037] New: - Alloca configure test fails

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13037>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13037

Alloca configure test fails

           Summary: Alloca configure test fails
           Product: APR
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: APR
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tenthumbs@cybernex.net


On x86 Linux at least, alloca is not in libc, it's strictly a compiler 
builtin function. You test for with with the AC_CHECK_FUNCS macro which does 
its work by trying to use the address of the function. I've tried a number 
of different versions and they all seem to decide that you can't want the 
builtin function because you're using an address so they emit a normal 
external symbol. Of course, this fails with a linker error.

I think you need a different test if you're using gcc.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org