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

Qt Script: unexpected reloc 3 against global symbol qt_version_tag [...] on i386

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.7.1
    • Qt Script
    • None
    • Debian experimental i386 (32 bits)

    Description

      Qt script fails to build from source with the following error:

      g++ -Wl,-z,relro -Wl,--as-needed -Wl,-O1 -fuse-ld=gold -Wl,--enable-new-dtags -o tst_qscriptextqobject .obj/tst_qscriptextqobject.o   -L/«BUILDDIR»/qtscript-opensource-src-5.7.1~20161021+dfsg/lib -lQt5Script -lQt5Widgets -lQt5Gui -lQt5Test -lQt5Core -lGL -lpthread 
      make[4]: Leaving directory '/«BUILDDIR»/qtscript-opensource-src-5.7.1~20161021+dfsg/tests/auto/qscriptengine'
      cd qscriptvaluegenerated/ && ( test -e Makefile || /usr/lib/i386-linux-gnu/qt5/bin/qmake /«BUILDDIR»/qtscript-opensource-src-5.7.1~20161021+dfsg/tests/auto/qscriptvaluegenerated/qscriptvaluegenerated.pro QT_BUILD_PARTS+=tests -o Makefile ) && make -f Makefile 
      make[4]: Entering directory '/«BUILDDIR»/qtscript-opensource-src-5.7.1~20161021+dfsg/tests/auto/qscriptvaluegenerated'
      g++ -c -g -O2 -fdebug-prefix-map=/build/qtbase-opensource-src-S0NKhq/qtbase-opensource-src-5.7.1~20161021+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_TSLIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_TESTLIB_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/«BUILDDIR»/qtscript-opensource-src-5.7.1~20161021+dfsg/tests/auto/qscriptvaluegenerated"' -I. -I../../../include -I../../../include/QtScript -isystem /usr/include/i386-linux-gnu/qt5 -isystem /usr/include/i386-linux-gnu/qt5/QtTest -isystem /usr/include/i386-linux-gnu/qt5/QtCore -I.moc -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/tst_qscriptvalue.o tst_qscriptvalue.cpp
      .obj/tst_qscriptextqobject.o(.qtversion+0x0): error: unexpected reloc 3 against global symbol qt_version_tag without base register in object file when generating a position-independent output file
      collect2: error: ld returned 1 exit status
      Makefile:72: recipe for target 'tst_qscriptextqobject' failed
      make[4]: *** [tst_qscriptextqobject] Error 1
      

      This happens on Debian i386 (32 bits), full build log available at https://buildd.debian.org/status/fetch.php?pkg=qtscript-opensource-src&arch=i386&ver=5.7.1~20161021%2Bdfsg-1&stamp=1477273947

      Attachments

        Activity

          People

            laknoll Lars Knoll
            lisandropm Lisandro Damián Nicanor Pérez Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: