#662 cross compilation wxWidgets

MinGW_Web_Site
closed-fixed
Danny Smith
gcc (462)
2005-01-31
2004-10-13
JiangWei
No

./bk-deps i386-mingw32msvc-c++ -c -o basedll_datetime.o
-I.pch/wxprec_basedll -D__WXMSW__ -I./src/tiff
-I./src/jpeg -I./src/png -I./src/zlib -I./src/regex
-I./src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE
-DwxUSE_BASE=1 -DWX_PRECOMP -DNO_GCC_PRAGMA
-Ilib/wx/include/i386-mingw32msvc-msw-ansi-release-2.5
-I./include -O2 -mthreads -Wall src/common/datetime.cpp
src/common/datetime.cpp: In function `wxString
CallStrftime(const wxChar*, const tm*)':
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] &#38169;&#35823; 1

[root@develop wxWidgets]# ./configure
--prefix=/usr/local/cross-tools/
--host=i386-mingw32msvc --target=i386-mingw32msvc
--with-msw

Discussion

  • Danny Smith
    Danny Smith
    2004-10-13

    Logged In: YES
    user_id=11494

    This dwarf2 bug has been reported to GCC lists. A patch has
    been proposed. In the meantime, try to change the debug
    options to use -gstabs rather than -ggdb or -gdwarf-2
    Danny

     
  • Danny Smith
    Danny Smith
    2005-01-31

    Logged In: YES
    user_id=11494

    The bug has been fixed on GCC trunk, but not on gcc-3_4-
    branch.

    Danny

     
  • Danny Smith
    Danny Smith
    2005-01-31

    • status: open --> closed-fixed
     
  • Moritz Bunkus
    Moritz Bunkus
    2005-03-31

    Logged In: YES
    user_id=688101

    Any chance of getting the diff for this fix? I'd really like to use this gcc
    version and not wait another three or four months for a working 4.0 mingw.