stack problem

Gunther Piez gpiez at
Tue Jul 12 07:48:27 UTC 2005

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 with the following body:
unsubscribe »your-email-address«

More information about the KDevelop mailing list