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

Compile error: module machine type 'X86' conflicts with target machine type 'x64'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.9.0 Beta 1
    • 5.9
    • WebEngine
    • Windows 10 64 bit
      MSVC2015 32 bit
      qt5 111799abf170d4a65358aa84d1f1d9a92bee6350
      qtwebengine 352115e2aeb8ba8c2bf4897f40b9e26555b7c80c
    • a7321de0ac8662a5fe54de7b01f58ffa03d71f00

    Description

      1. Cloned qt5.git
      2. Cloned submodules:
        perl init-repository --codereview-username rlohning --berlin
        
      3. Configured in an empty, out of source directory:
        D:\dev\src\qt-5.9.0-pre\configure.bat -developer-build -opensource -confirm-license -nomake examples -nomake tests -opengl desktop -skip speech
        
      4. Built with jom.
        This resulted in an error:
        C:/Python27/python.exe ../../../../../../../../../../../src/qt-5.9.0-pre/qtwebengine/src/3rdparty/chromium/build/toolchain/win/tool_wrapper.py link-wrapper environment.x64 False link.exe /nologo /OUT:./gn.exe /PDB:./gn.exe.pdb @./gn.exe.rsp
        LINK : warning LNK4075: /INCREMENTAL wird aufgrund der Angabe von /OPT:ICF ignoriert.
        obj/tools/gn/gn/gn_main.obj : fatal error LNK1112: Modul-Computertyp "X86" steht in Konflikt mit dem Zielcomputertyp "x64".
        ninja: build stopped: subcommand failed.
        Building gn manually in a temporary directory for bootstrapping...
        Building gn using itself to out\Release...
        Command '['D:/dev/32/MSVC2015/qt-5.9.0-pre-desktop-nospeech/qtwebengine/src/3rdparty/ninja/ninja.exe', '-C', 'D:\\dev\\32\\MSVC2015\\qt-5.9.0-pre-desktop-nospeech\\qtwebengine\\src\\3rdparty\\chromium\\tools\\gn\\out\\Release', 'gn']' returned non-zero exit status 1
        Project ERROR: GN build error!
        jom: D:\dev\32\MSVC2015\qt-5.9.0-pre-desktop-nospeech\qtwebengine\src\buildtools\Makefile [sub-gn-pro-make_first] Error 3
        jom: D:\dev\32\MSVC2015\qt-5.9.0-pre-desktop-nospeech\qtwebengine\src\Makefile [sub-buildtools-make_first] Error 2
        jom: D:\dev\32\MSVC2015\qt-5.9.0-pre-desktop-nospeech\qtwebengine\Makefile [sub-src-make_first] Error 2
        jom: D:\dev\32\MSVC2015\qt-5.9.0-pre-desktop-nospeech\Makefile [module-qtwebengine-make_first] Error 2
        

      Attachments

        1. build.7z
          780 kB
        2. config.log
          93 kB
        3. config.summary
          7 kB
        4. configure.log
          82 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jbornema Joerg Bornemann
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes