Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1069 gcc returns with error code but no message at all

OTHER
closed
Danny Smith
gcc (462)
out-of-date
Unknown
2013-02-05
2007-08-13
Johnny Willemsen
No

Build the attached program with "g++ test.cpp", g++ just returns with an error return value (detected by our make rules), but no any output, error message or what ever.

msys:
MINGW32_NT-5.1 BCB2007 1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown

g++.exe (GCC) 3.4.2 (mingw-special)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

Discussion

  • preprocessed file

     
    Attachments
  • Logged In: YES
    user_id=585332
    Originator: YES

    File Added: test.gz

     
  • Danny Smith
    Danny Smith
    2007-08-13

    Logged In: YES
    user_id=11494
    Originator: NO

    I think the problem is that the compiler itself runs out of stack space in processing the templates. The only way I know of to catch such an OS exception is via SEH.

    When I build compiler with 32MB stack reserve (-Wl,--stack=0x2000000) the testcase compiles.

    Danny

     
  • Logged In: YES
    user_id=585332
    Originator: YES

    Any possibility to build the compilers out of the box with a bigger stack space. This is just one performance-test of ACE/TAO, if this already fails it will result in more failures on more places

     
  • Danny Smith
    Danny Smith
    2008-06-16

    Logged In: YES
    user_id=11494
    Originator: NO

    Compiler is now built with 8MB stack reserve by default

     
  • Earnie Boyd
    Earnie Boyd
    2013-02-05

    • status: open --> closed
    • resolution: --> out-of-date
    • category: --> Unknown
    • milestone: --> OTHER