Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-27618

Qt4.8: mingw cros-compiling is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 4.8.4
    • Build System
    • None

    Description

      Linux:

      configure -xplatform win32-g++ -device-option CROSS_COMPILE=i686-w64-mingw32- -nomake examples -nomake demos -fast -release 
      i686-w64-mingw32-g++ -Wl,-s -shared -mthreads -Wl,--out-implib,/home/synth/sandbox/qt4/_mingw-4.7.2/lib/libQtCore4.a -o ../../lib/QtCore4.dll object_script.QtCore.Release  -L'/home/synth/sandbox/qt4/_mingw-4.7.2/lib' -L'/home/synth/sandbox/qt4/_mingw-4.7.2/lib' -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32 .obj/release-shared/QtCore_resource_res.o 
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x272e): undefined reference to `QGb18030Codec::QGb18030Codec()'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x275b): undefined reference to `QGbkCodec::QGbkCodec()'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x2788): undefined reference to `QGb2312Codec::QGb2312Codec()'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x27b5): undefined reference to `QEucJpCodec::QEucJpCodec()'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x27e2): undefined reference to `QJisCodec::QJisCodec()'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x280f): undefined reference to `QSjisCodec::QSjisCodec()'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x2846): undefined reference to `vtable for QEucKrCodec'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x287d): undefined reference to `vtable for QCP949Codec'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x28b4): undefined reference to `vtable for QBig5Codec'
      ./.obj/release-shared/qtextcodec.o:qtextcodec.cpp:(.text+0x28eb): undefined reference to `vtable for QBig5hkscsCodec'
      /opt/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld: ./.obj/release-shared/qtextcodec.o: bad reloc address 0x16c in section `.gcc_except_table'
      collect2: error: ld returned 1 exit status
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kkohne Kai Köhne
            syntheticpp Peter Kümmel
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes