stack problem
Dries Decock
decock at tcomlabs.com
Tue Jul 12 10:16:54 BST 2005
On Tuesday 12 July 2005 11:02, Ellen De Beuckeleer wrote:
> 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?
I have set the ulimit command in my .bashrc file, to be sure it works for all
shells I open. Maybe you have to try it like that.
Best regards,
Dries Decock
>
>
> 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«
--
Dries Decock
Software Engineer
tComLabs
Stapelplein 70
9000 Gent - Belgium
-
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