#659 Compile error while building the wxWindows??

OTHER
closed
out-of-date
Known_bugs
2013-02-04
2004-10-06
xxhimanshu
No

Hello All,

I was compiling wxWindows under linux environment for
creating a cross compiler for wxWindows and got the
following error..

src/common/datetime.cpp:356: internal compiler error:
in dwarf2out_frame_debug_expr, at dwarf2out.c:1602
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make: *** [basedll_datetime.o] Error 1

can anyone help me out with this. I need this to be
dont urgently.

Any help or pointers are highly appreciated,...

Thanks a lot in advance..

Looking forward to your reponses.

Regards,
Himanshu

Discussion

  • Aaron W. LaFramboise

    Logged In: YES
    user_id=1040098

    This is a bug in dwarf2 debugging information (how amusing)
    under mingw32. You can work around it by either disabling
    optimization for that particular source file, or using stabs
    debugging information instead of dwarf2.

    See <http://gcc.gnu.org/PR17406>.

    I'm planning on giving another shot at fixing this one
    within a day or two, as it is quite irritating for me also.

     
  • xxhimanshu

    xxhimanshu - 2004-10-07

    Logged In: YES
    user_id=1134130

    Hello,
    thanks for your response. But i am new to linux systems and
    i dont know how to disable the dwarf2, if it is the one that
    is creating the problems. Can you please guide me through.
    Or show me some pointers so as how to do it. Maybe some
    documentation will be much help.

    Thanks a lot in advance.

    Looking forward to a sooner response from you guys.

    Regards,
    Himanshu

     
  • Aaron W. LaFramboise

    Logged In: YES
    user_id=1040098

    If you see anything like -gdwarf-2 on the command line,
    remove it. Otherwise, add -gstabs or -gstabs+ to use stabs
    instead of dwarf-2. -g0 might also work.

    To lower optimization level, remove any -O1, -O2, or -O3 option.

    Aaron W. LaFramboise

     
  • Danny Smith

    Danny Smith - 2004-10-07

    Logged In: YES
    user_id=11494

    > i dont know how to disable the dwarf2

    This came up before with wxWindows. Some projects use
    the -ggdb switch which means "use the best gdb-compatible
    debug format that is supported" That would be -gdwarf-2.
    Replace -ggdb with -gstabs or just -g (since stabs is still the
    default on mingw)

    Danny

     
  • Earnie Boyd

    Earnie Boyd - 2013-02-04
    • labels: MinGW --> gcc, g++
    • status: open --> closed
    • resolution: --> out-of-date
    • category: --> Known_bugs
    • milestone: Known_bugs --> OTHER
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks