Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21326

Build issue with latest Qtcreator 4.7.1

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Out of scope
    • Affects Version/s: Qt Creator 4.7.1, Qt Creator 4.7.2
    • Fix Version/s: None
    • Labels:
    • Environment:
      RHEL6
      RHEL7
    • Platform/s:
      Linux/X11

      Description

      As per our customer request we are trying to build QtCreator as RPM of Linux RedHat 6 and RedHat7 machine.

      Please find below details of our server/Machine:

       

      [root@abi-matlab-r6 ~]$ cat /etc/redhat-release
      Red Hat Enterprise Linux Server release 6.8 (Santiago)

      [root@abi-matlab-r6 ~]$ gcc --version
      gcc (GCC) 6.3.1 20161221
      Copyright (C) 2016 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

      [root@abi-matlab-r6 ~]$ llc --version
      LLVM (http://llvm.org/):
      LLVM version 7.0.0
      Optimized build.
      Default target: x86_64-unknown-linux-gnu
      Host CPU: haswell

       [root@abi-matlab-r6 ~]$ qmake --version
      QMake version 3.1
      Using Qt version 5.9.0 in /opt/qt/x86_64/5.9.0-1/lib

       

      We have all the prerequisites to build QtCreator but still facing some "Assembler related issue" like below:

       

      cd /root/rpmbuild_qtcreator/SOURCES/qt-creator-opensource-src-4.7.1/src/libs/botan/build && make libs
      make[4]: Entering directory `/root/rpmbuild_qtcreator/SOURCES/qt-creator-opensource-src-4.7.1/src/libs/botan/build'
      g++  -fstack-protector -m64 -pthread -std=c++11 -D_REENTRANT -pipe -Wno-noexcept-type -Wno-unused-parameter -fPIC -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor  -Ibuild/include -c botan_all.cpp -o build/obj/lib/botan_all.o
      g++  -fstack-protector -m64 -pthread -std=c++11 -D_REENTRANT -pipe -Wno-noexcept-type -Wno-unused-parameter -fPIC -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -msha -msse4.1 -mssse3 -Ibuild/include -c botan_all_sha_sse41_ssse3.cpp -o build/obj/lib/botan_all_sha_sse41_ssse3.o
      {standard input}: Assembler messages:
      {standard input}:143: Error: no such instruction: `sha1rnds4 $0,%xmm1,%xmm0'
      {standard input}:165: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:171: Error: no such instruction: `sha1rnds4 $0,%xmm1,%xmm0'
      {standard input}:179: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:201: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:207: Error: no such instruction: `sha1rnds4 $0,%xmm1,%xmm0'
      {standard input}:215: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:245: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:255: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:259: Error: no such instruction: `sha1rnds4 $0,%xmm1,%xmm0'
      {standard input}:267: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:283: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:293: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:297: Error: no such instruction: `sha1rnds4 $0,%xmm1,%xmm0'
      {standard input}:305: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:321: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:331: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:335: Error: no such instruction: `sha1rnds4 $1,%xmm1,%xmm0'
      {standard input}:343: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:359: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:369: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:373: Error: no such instruction: `sha1rnds4 $1,%xmm1,%xmm0'
      {standard input}:381: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:397: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:407: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:411: Error: no such instruction: `sha1rnds4 $1,%xmm1,%xmm0'
      {standard input}:419: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:435: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:445: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:449: Error: no such instruction: `sha1rnds4 $1,%xmm1,%xmm0'
      {standard input}:457: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:473: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:483: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:487: Error: no such instruction: `sha1rnds4 $1,%xmm1,%xmm0'
      {standard input}:495: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:511: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:521: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:525: Error: no such instruction: `sha1rnds4 $2,%xmm1,%xmm0'
      {standard input}:533: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:549: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:559: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:563: Error: no such instruction: `sha1rnds4 $2,%xmm1,%xmm0'
      {standard input}:571: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:587: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:597: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:601: Error: no such instruction: `sha1rnds4 $2,%xmm1,%xmm0'
      {standard input}:609: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:625: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:635: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:639: Error: no such instruction: `sha1rnds4 $2,%xmm1,%xmm0'
      {standard input}:647: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:663: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:673: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:677: Error: no such instruction: `sha1rnds4 $2,%xmm1,%xmm0'
      {standard input}:685: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:701: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:711: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:715: Error: no such instruction: `sha1rnds4 $3,%xmm1,%xmm0'
      {standard input}:723: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:739: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:749: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:753: Error: no such instruction: `sha1rnds4 $3,%xmm1,%xmm0'
      {standard input}:761: Error: no such instruction: `sha1msg1 %xmm1,%xmm0'
      {standard input}:777: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:787: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:791: Error: no such instruction: `sha1rnds4 $3,%xmm1,%xmm0'
      {standard input}:807: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:817: Error: no such instruction: `sha1msg2 %xmm1,%xmm0'
      {standard input}:821: Error: no such instruction: `sha1rnds4 $3,%xmm1,%xmm0'
      {standard input}:829: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:835: Error: no such instruction: `sha1rnds4 $3,%xmm1,%xmm0'
      {standard input}:843: Error: no such instruction: `sha1nexte %xmm1,%xmm0'
      {standard input}:978: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:993: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1034: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1049: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1058: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1098: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1113: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1122: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1162: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1183: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1197: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1206: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1232: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1253: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1267: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1276: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1302: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1323: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1337: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1346: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1372: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1393: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1407: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1416: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1442: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1463: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1477: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1486: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1512: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1533: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1547: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1556: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1582: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1603: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1617: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1626: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1652: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1673: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1687: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1696: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1722: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1743: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1757: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1766: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1792: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1813: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1827: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1836: Error: no such instruction: `sha256msg1 %xmm1,%xmm0'
      {standard input}:1862: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1883: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1897: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1924: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1945: Error: no such instruction: `sha256msg2 %xmm1,%xmm0'
      {standard input}:1959: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:1986: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      {standard input}:2001: Error: no such instruction: `sha256rnds2 %xmm0,%xmm2,%xmm1'
      make[4]: *** [build/obj/lib/botan_all_sha_sse41_ssse3.o] Error 1
      make[4]: Leaving directory `/root/rpmbuild_qtcreator/SOURCES/qt-creator-opensource-src-4.7.1/src/libs/botan/build'
      make[3]: *** [build/libbotan-2.a] Error 2
      make[3]: Leaving directory `/root/rpmbuild_qtcreator/SOURCES/qt-creator-opensource-src-4.7.1/src/libs/botan'
      make[2]: *** [sub-botan-make_first] Error 2
      make[2]: Leaving directory `/root/rpmbuild_qtcreator/SOURCES/qt-creator-opensource-src-4.7.1/src/libs'
      make[1]: *** [sub-libs-make_first-ordered] Error 2
      make[1]: Leaving directory `/root/rpmbuild_qtcreator/SOURCES/qt-creator-opensource-src-4.7.1/src'
      make: *** [sub-src-make_first-ordered] Error 2
      

      Please let us know any idea to fix this issue.

        Attachments

        1. build_json.h
          9 kB
        2. build.h
          10 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              kandeler Christian Kandeler
              Reporter:
              abinayasa Abinaya Manikandan
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes