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

Wrong path causes link error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.0.0
    • WebKit
    • None
    • Windows 7 64 bit
      MinGW 32 bit

    Description

      I'm encountering a very strange error while compiling Qt5 for 32 bit system. QtWebkit won't compile with a message from assembler. I've never seen such errors before. That seems not to be a compiler nor linker error

      Configure script is like this:

      configure -debug-and-release -opensource -no-c++11 -shared -no-ltcg -nomake examples -nomake tests -accessibility -qt-sql-mysql -qt-sql-sqlite -qt-sql-odbc -opengl desktop -iconv -inotify -fontconfig -system-proxies -qt-zlib -qt-pcre -icu -qt-libpng -qt-libjpeg -qt-freetype -no-angle -plugin-manifests -qmake -rtti -strip -sse2 -sse3 -sse4.1 -sse4.2 -avx -avx2 -openssl -dbus-linked -audio-backend -native-gestures -prefix E:\qt_5.0.0

      and the error:

      mingw32-make[2]: Entering directory 'E:/sources/qt-everywhere-opensource-src-5.0.0/qtwebkit/Source/WebKit'
      g++ -c {blah blah blah blah} -o .obj\debug_shared\qhttpheader.o qt\Api\qhttpheader.cpp
      Assembler messages:
      Fatal error: can't create .objdebug_shared\qhttpheader.o: No such file or directory
      qt\Api\qhttpheader.cpp:272:1: fatal error: error writing to -: No error
      compilation terminated.}}

      I think that's because of a forgotten \ in .objdebug_shared which should be .obj\debug_shared . I do a mkdir ./.objdebug_shared in qtwebkit/Source/WebKit and compile continues. Then new errors occur that say cannot find .o objects in .obj\debug_shared . I have to copy contents of .objdebug_shared to .obj\debug_shared several time to get it compiled.

      There should be something wrong with the script that generates makefile and write output path in it. (perl or qmake?)

      Complete output is attached

      Attachments

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

        Activity

          People

            shausman Simon Hausmann
            soroush Soroush Rabiei
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes