Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Failed to merge target specific data of file "verifyspec.o"
Forum Updated to NodeBB v4.3 + New Features

Failed to merge target specific data of file "verifyspec.o"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 5.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexander-9
    wrote on 3 Apr 2017, 23:09 last edited by
    #1

    I can't run the cross-compile, this my code: ./configure -prefix /usr/local/qt5 -extprefix opt/qt5 -device linux-imx6-g++ -device-option CROSS_COMPILE=/opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot /opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi -nomake examples -nomake tests -v.

    executing config test verifyspec

    • cd /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/common/verifyspec && /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qmake -qtconf /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qt.conf "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared console" "QMAKE_CFLAGS += --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" "QMAKE_CXXFLAGS += --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" "QMAKE_LFLAGS += --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/common/verifyspec
    • cd /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/common/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make

    rm -f verifyspec.o
    rm -f *~ core *.core
    /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -c -march=armv7-a -marm -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi -O2 -Wall -W -fPIC -I. -I/home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/mkspecs/devices/linux-imx6-g++ -o verifyspec.o verifyspec.cpp
    /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -mfloat-abi=hard --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi -Wl,-O1 -o verifyspec verifyspec.o
    /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: error: verifyspec.o uses VFP register arguments, verifyspec does not
    /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: failed to merge target specific data of file verifyspec.o
    collect2: error: ld returned 1 exit status
    Makefile:64: fallo en las instrucciones para el objetivo 'verifyspec'
    make: *** [verifyspec] Error 1

    Someone can i help me please, about this error please, thanks.

    Regards.

    J 1 Reply Last reply 4 Apr 2017, 05:04
    0
    • A Alexander-9
      3 Apr 2017, 23:09

      I can't run the cross-compile, this my code: ./configure -prefix /usr/local/qt5 -extprefix opt/qt5 -device linux-imx6-g++ -device-option CROSS_COMPILE=/opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot /opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi -nomake examples -nomake tests -v.

      executing config test verifyspec

      • cd /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/common/verifyspec && /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qmake -qtconf /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/bin/qt.conf "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared console" "QMAKE_CFLAGS += --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" "QMAKE_CXXFLAGS += --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" "QMAKE_LFLAGS += --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi" /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/common/verifyspec
      • cd /home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/config.tests/common/verifyspec && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS= /usr/bin/make

      rm -f verifyspec.o
      rm -f *~ core *.core
      /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -c -march=armv7-a -marm -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9 -march=armv7-a -mfpu=neon -DLINUX=1 -DEGL_API_FB=1 -mfloat-abi=hard --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi -O2 -Wall -W -fPIC -I. -I/home/qt/Descargas/qt-everywhere-opensource-src-5.8.0/qtbase/mkspecs/devices/linux-imx6-g++ -o verifyspec.o verifyspec.cpp
      /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++ -mfloat-abi=hard --sysroot=/opt/poky/2.0/sysroots/armv7a-vfp-neon-poky-linux-gnueabi -Wl,-O1 -o verifyspec verifyspec.o
      /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: error: verifyspec.o uses VFP register arguments, verifyspec does not
      /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/5.2.0/real-ld: failed to merge target specific data of file verifyspec.o
      collect2: error: ld returned 1 exit status
      Makefile:64: fallo en las instrucciones para el objetivo 'verifyspec'
      make: *** [verifyspec] Error 1

      Someone can i help me please, about this error please, thanks.

      Regards.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 4 Apr 2017, 05:04 last edited by
      #2

      @Alexander-9 The actual error message is: "error: verifyspec.o uses VFP register arguments, verifyspec does not".
      There is a mismatch in the parameters: -mfloat-abi=softfp != -mfloat-abi=hard
      Possible reason: you're using arm-poky-linux-gnueabi as compiler, but armv7a-vfp-neon-poky-linux-gnueabi as sysroot. Is there other compiler or other sysroot? I guess they should match: either both use "vfp-neon" or both don't.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • A Offline
        A Offline
        Alexander-9
        wrote on 4 Apr 2017, 15:45 last edited by
        #3

        @jsulm, My configuration about -mfloat-abi= Config, the sysroot is the result of run the poky-glibc-x86_64-core-image-sato-armv7a-vfp-neon-toolchain-2.0.sh and contains this, and my cross-compile have this files.

        J 1 Reply Last reply 5 Apr 2017, 04:13
        0
        • A Alexander-9
          4 Apr 2017, 15:45

          @jsulm, My configuration about -mfloat-abi= Config, the sysroot is the result of run the poky-glibc-x86_64-core-image-sato-armv7a-vfp-neon-toolchain-2.0.sh and contains this, and my cross-compile have this files.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 5 Apr 2017, 04:13 last edited by
          #4

          @Alexander-9 As I said: my assumption is that the float ABI must be the same. You cannot mix binaries with different ABIs.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          1/4

          3 Apr 2017, 23:09

          • Login

          • Login or register to search.
          1 out of 4
          • First post
            1/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved