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

android: configure tries to use 32-bit NDK compiler on a 64-bit system

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • 5.1.0
    • 5.1.0
    • Build System

    Description

      ./configure -v -developer-build -xplatform android-g++ -android-ndk /home/rutledge/android-ndk-r8e -android-sdk /home/rutledge/android-sdk-linux -android-ndk-host linux-x86_64 -android-toolchain-version 4.7 -platform linux-g++-64 -nomake tests -nomake examples
      
      (or with much fewer options, even)
      
      
      Which edition of Qt do you want to use ?
      
      Type 'c' if you want to use the Commercial Edition.
      Type 'o' if you want to use the Open Source Edition.
      
      o
      
      Precompiled-headers support enabled.
      /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/rutledge/android-ndk-r8e/platforms/android-9/arch-arm/ -c -fvisibility=hidden fvisibility.c
      Symbol visibility control enabled.
      /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++ --sysroot=/home/rutledge/android-ndk-r8e/platforms/android-9/arch-arm/ -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
      Symbolic function binding enabled.
      
      This is the Qt Open Source Edition.
      
      You are licensed to use this software under the terms of
      the Lesser GNU General Public License (LGPL) versions 2.1.
      
      Type 'L' to view the Lesser GNU General Public License version 2.1.
      Type 'yes' to accept this license offer.
      Type 'no' to decline this license offer.
      
      Do you accept the terms of the license? yes
      
      <srcbase> = /home/rutledge/dev/qt5-android/qtbase 
      <outbase> = /home/rutledge/dev/qt5-android/qtbase 
      Creating qmake...
      make: Nothing to be done for `first'.
      Running configuration tests...
      Warning: Disabling pkg-config since PKG_CONFIG_LIBDIR is not set.
      Warning: Disabling pkg-config since PKG_CONFIG_SYSROOT_DIR is not set.
      Determining architecture... ()
      /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -std=gnu++0x -g -g -marm -O0 -fno-omit-frame-pointer -Wall -Wno-psabi -W -fPIE -DQT_NO_PRINTDIALOG -I../../mkspecs/android-g++ -I. -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/include -I/home/rutledge/android-ndk-r8e/platforms/android-14/arch-arm/usr/include -o arch.o arch.cpp
      make: /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found
      make: *** [arch.o] Error 127
      Unable to determine architecture!
      
      Could not determine the target architecture!
      Turn on verbose messaging (-v) to see the final report.
      Determining architecture... ()
      g++ -c -m64 -pipe -g -Wall -W -fPIE  -I../../mkspecs/linux-g++-64 -I. -o arch.o arch.cpp
      g++ -m64 -o arch arch.o    
      { test -n "" && DESTDIR="" || DESTDIR=.; } && test $(gdb --version | sed -e 's,[^0-9]\+\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index $DESTDIR" -ex quit 'arch' && test -f arch.gdb-index && objcopy --add-section '.gdb_index=arch.gdb-index' --set-section-flags '.gdb_index=readonly' 'arch' 'arch' && rm -f arch.gdb-index || true
          Found architecture in binary
      CFG_HOST_ARCH="x86_64"
      CFG_HOST_CPUFEATURES=" mmx sse sse2"
      System architecture: 'unknown'
      Host architecture: 'x86_64'
      C++11 auto-detection... ()
      sh: 1: /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: not found
      /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -std=gnu++0x -O2 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Wall -Wno-psabi -W -fPIE -DQT_NO_PRINTDIALOG -I../../../mkspecs/android-g++ -I. -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I/home/rutledge/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/include -I/home/rutledge/android-ndk-r8e/platforms/android-14/arch-arm/usr/include -o c++11.o c++11.cpp
      make: /home/rutledge/android-ndk-r8e/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++: Command not found
      make: *** [c++11.o] Error 127
      C++11 disabled.
      floatmath auto-detection... ()
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tvete Paul Olav Tvete
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes