Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

> Makefile:68: recipe for target 'verifyspec' failed



  • ijaz@ijaz-HP-ProDesk-400-G4-MT:~/install_q512$ ~/qt_V5_12/qt-everywhere-src-5.12.5/configure -release -device linux-arm-generic-g++ -device-option CROSS_COMPILE=~/qt_V5_12/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot ~/qt_V5_12/sysroot -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix /usr/local/myqt_V512 -extprefix ~/qt512 -hostprefix ~/qt512 -no-use-gold-linker -v -no-gbm
    
    this retruns: 
    + cd qtbase
    + /home/ijaz/qt_V5_12/qt-everywhere-src-5.12.5/qtbase/configure -top-level -release -device linux-arm-generic-g++ -device-option CROSS_COMPILE=/home/ijaz/qt_V5_12/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/ijaz/qt_V5_12/sysroot -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix /usr/local/myqt_V512 -extprefix /home/ijaz/qt512 -hostprefix /home/ijaz/qt512 -no-use-gold-linker -v -no-gbm
    Performing shadow build...
    Preparing build tree...
    Creating qmake...
    make: Nothing to be done for 'first'.
    Command line: -release -device linux-arm-generic-g++ -device-option CROSS_COMPILE=/home/ijaz/qt_V5_12/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -sysroot /home/ijaz/qt_V5_12/sysroot -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix /usr/local/myqt_V512 -extprefix /home/ijaz/qt512 -hostprefix /home/ijaz/qt512 -no-use-gold-linker -v -no-gbm
    
    This is the Qt Open Source Edition.
    
    You have already accepted the terms of the Open Source license.
    
    Running configuration tests...
    
    + /home/ijaz/qt_V5_12/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-g++ -dumpmachine
    > arm-linux-gnueabi
    Checking for valid makespec... 
    + cd /home/ijaz/install_q512/config.tests/verifyspec && /home/ijaz/install_q512/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared warn_off console single_arch" "QMAKE_CFLAGS += --sysroot=/home/ijaz/qt_V5_12/sysroot" "QMAKE_CXXFLAGS += --sysroot=/home/ijaz/qt_V5_12/sysroot" "QMAKE_LFLAGS += --sysroot=/home/ijaz/qt_V5_12/sysroot" -early "CONFIG += cross_compile" /home/ijaz/qt_V5_12/qt-everywhere-src-5.12.5/qtbase/config.tests/verifyspec
    + cd /home/ijaz/install_q512/config.tests/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make
    > rm -f verifyspec.o
    > rm -f *~ core *.core
    > /home/ijaz/qt_V5_12/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -mfloat-abi=softfp --sysroot=/home/ijaz/qt_V5_12/sysroot -O2 -std=gnu++11 -w -fPIC  -I/home/ijaz/qt_V5_12/qt-everywhere-src-5.12.5/qtbase/config.tests/verifyspec -I. -I/home/ijaz/qt_V5_12/qt-everywhere-src-5.12.5/qtbase/mkspecs/devices/linux-arm-generic-g++ -o verifyspec.o /home/ijaz/qt_V5_12/qt-everywhere-src-5.12.5/qtbase/config.tests/verifyspec/verifyspec.cpp
    > /home/ijaz/qt_V5_12/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ -mfloat-abi=softfp --sysroot=/home/ijaz/qt_V5_12/sysroot -Wl,-O1 -o verifyspec verifyspec.o      
    > /home/ijaz/qt_V5_12/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.4/../../../../arm-linux-gnueabihf/bin/ld: error: verifyspec uses VFP register arguments, verifyspec.o does not
    > /home/ijaz/qt_V5_12/gcc-linaro-4.9.4-2017.01-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.9.4/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file verifyspec.o
    > collect2: error: ld returned 1 exit status
    > Makefile:68: recipe for target 'verifyspec' failed
    > make: *** [verifyspec] Error 1
    Note: Also available for Linux: linux-clang linux-icc
    
    ERROR: Cannot compile a minimal program. The toolchain or QMakeSpec is broken.
    
    

  • Lifetime Qt Champion

    @Mijaz You already go answers to this in your other thread



  • @jsulm
    I did not find any proper solution to my query.



  • @Mijaz

    I did not find any proper solution to my query.

    Well, that's not reason to start another post on the same issue.

    Just in case this is your other post.


  • Lifetime Qt Champion

    @Mijaz said in > Makefile:68: recipe for target 'verifyspec' failed:

    I did not find any proper solution to my query.

    And you did not reply to the post from @SGaist


Log in to reply