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

Assembler crashes when cross-compiling 'qdrawhelper.cpp'.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.0.1
    • GUI: Painting
    • None
    • Ubuntu 12.10 Server 64-bit.

    Description

      I am attempting to use the Mingw-w64 Project's 32-bit compiler on Ubuntu 12.10 64-bit. After downloading and extracting this file, I ran ./configure as follows:

      ./configure -prefix /home/nathan/i686-w64-mingw32 -opensource -confirm-license \
        -release -nomake demos -nomake examples -xplatform win32-g++ \
        -device-option CROSS_COMPILE=i686-w64-mingw32-

      This succeeds and I then run make. Compilation continues without any problems for about five minutes and then I receive this error:

      i686-w64-mingw32-g++ -c -include .obj/release-shared/qt_gui_pch.h -pipe -fno-keep-inline-dllexport
        -O2 -std=c++0x -fno-exceptions -frtti -Wall -Wextra -DUNICODE -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XCB
        -DQT_NO_USING_NAMESPACE -DQT_BUILD_GUI_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
        -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800
        -D_USE_MATH_DEFINES -DQT_USE_BUNDLED_LIBPNG -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I.
        -I'../../include' -I'../../include/QtGui' -I'../../include/QtGui/5.0.1' -I'../../include/QtGui/5.0.1/QtGui'
        -I'tmp' -I'image' -I'../3rdparty/libpng' -I'../3rdparty/zlib' -I'../3rdparty/zlib' -I'../../include/QtCore'
        -I'../../include/QtCore/5.0.1' -I'../../include/QtCore/5.0.1/QtCore' -I'.moc/release-shared'
        -I'../../mkspecs/win32-g++' -o .obj/release-shared/qdrawhelper.o painting/qdrawhelper.cpp
      {standard input}: Assembler messages:
      {standard input}:15065: Warning: end of file not at end of a line; newline inserted
      {standard input}:15777: Error: unknown pseudo-op: `.p2al'
      i686-w64-mingw32-g++: internal compiler error: Killed (program cc1plus)
      Please submit a full bug report,
      with preprocessed source if appropriate.
      See <http://gcc.gnu.org/bugs.html> for instructions.
      make[4]: *** [.obj/release-shared/qdrawhelper.o] Error 4

      Here's where things start to get really strange. In order to debug this further, I ran the command above that failed under strace. Lo and behold, it actually compiled! However, I am going to assume there is still a bug somewhere in there.

      I've attached a copy of the output of strace.

      Attachments

        1. strace_log.txt
          9 kB
          Nathan Osman
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rodal Samuel Rødal
            nathan-osman Nathan Osman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes