stack problem

Ellen De Beuckeleer ellen.debeuckeleer at incgeo.be
Tue Jul 12 09:02:52 UTC 2005


Hi,

I can't get it to work :(. I tried  "ulimit -s unlimited" and "ulimit -s 
1000000" followed by kdevelop started from the shell. Valgrind (run from 
kdevelop interface) still gives the errors. Any suggestions?


Ellen

Gunther Piez wrote:

>Am Dienstag, 12. Juli 2005 08:46 schrieb Ellen De Beuckeleer:
>  
>
>>Hi,
>>
>>It works fine for the CFLAGS field, but it won't work for CXXFLAGS. I
>>get the following error when I add the line -mmax-stack-frame=10000000
>>to CXXFLAGS (with or without putting the line in CFLAGS:
>>
>>cd 'test/debug' && LDFLAGS="-Ltest/src/lib" CXXFLAGS="-O0 -g3
>>-mmax-stack-frame=10000000" CFLAGS="-mmax-stack-frame=10000000 "
>>"test/configure" --enable-debug=full
>>installing -c
>>checking whether build environment is sane... yes
>>checking for gawk... gawk
>>checking whether make sets $(MAKE)... yes
>>checking for g++... g++
>>checking for C++ compiler default output file name...
>>configure: error: C++ compiler cannot create executables
>>See `config.log' for more details.
>>*** Exited with status: 77 ***
>>    
>>
>
>This is because there is no such stack-space option for gcc or the linker, 
>neither for C nor for C++. The CFLAGS simply weren't tested in you configure 
>script. Maybe something like -mmax-stack-frame exists on obsolete targets, 
>but for the common architectures it is long gone.
>Try ulmit -s.
>
>
>-
>to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
>unsubscribe »your-email-address«
>
>
>  
>

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list