Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1667 Internal compiler error: in maybe_emit_vtables

closed-invalid
nobody
non-mingw (19)
2012-08-30
2012-08-30
Emmanuel
No

Using Ubuntu 12.04 with the distro's repos of mingw. Using Ogre's MINGW prebuilt, with a CEGUI built with the prepackaged dependencies linked to OGRE. Cross compiling to Windows.
The code comes from this site: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=4322
The very same project, with that given code, compiles perfectly with native gcc. I read the proper bug report procedure, but, found no way to properly give a "minimal" test case given all the variables that surround this case.

This is mingw's output:
Building file: ../src/GUI/FormattedListboxTextItem.cpp
Invoking: Cross G++ Compiler
i586-mingw32msvc-g++ -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 -I/usr/i586-mingw32msvc/include -I/usr/i586-mingw32msvc/include/OIS -O3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/GUI/FormattedListboxTextItem.d" -MT"src/GUI/FormattedListboxTextItem.d" -o "src/GUI/FormattedListboxTextItem.o" "../src/GUI/FormattedListboxTextItem.cpp"
../src/GUI/FormattedListboxTextItem.cpp:163: internal compiler error: in maybe_emit_vtables, at cp/decl2.c:1510
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.
make: *** [src/GUI/FormattedListboxTextItem.o] Error 1

Discussion

  • Emmanuel
    Emmanuel
    2012-08-30

    FormattedListbox source

     
  • Emmanuel
    Emmanuel
    2012-08-30

    Version info:
    $ i586-mingw32msvc-gcc -v
    Using built-in specs.
    Target: i586-mingw32msvc
    Configured with: /build/buildd/mingw32-4.2.1.dfsg/build_dir/src/gcc-4.2.1-2-dfsg/configure -v --prefix=/usr --target=i586-mingw32msvc --enable-languages=c,c++ --enable-threads --enable-sjlj-exceptions --disable-multilib --enable-version-specific-runtime-libs
    Thread model: win32
    gcc version 4.2.1-sjlj (mingw32-2)

     
  • Earnie Boyd
    Earnie Boyd
    2012-08-30

    We do not support that distribution of the compiler. The triplet name even suggests it does not belong to MinGW.org.

    --enable-sjlj-exceptions

    This flag will make your build incompatible with MinGW, we use dwarf2.

     
  • Earnie Boyd
    Earnie Boyd
    2012-08-30

    • labels: --> non-mingw
    • status: open --> closed-invalid