Cross Compilation for IMX6 results in QTBUG-36129



  • Hello everybody,

    I tried to crosscompile the Qt Version 5.3.2. Unfortunately without any success.
    Here my steps:

    1. Downloaded the qt-everywhere-opensource-src-5.3.2
    2. Create a build folder in this folder and cd to it
    3. Create my specific platform in mkspecs (see below "qmake.conf")
    4. Start the ./configure Skript (see below "Configure Script with Parameters")
    5. This call result in the following error message (see below "Output")

    Can anyone tell me what I'm doing wrong? I understand, I have to disable "Symbolic Function Binding" but where and how? I already tried to set the variable BSYMBOLIC_FUNCTIONS_SUPPORT=yes from the Script "bsymbolic_function.test" to no but without any success.

    qmake.conf

    #qmake configuration for building for ARMv6 devices with arm-linux-g++
    include(../common/linux.conf)
    include(../common/gcc-base-unix.conf)
    include(../common/g++-unix.conf)
    #include(../common/qws.conf)

    #modifications to g++.conf
    QMAKE_CC = arm-poky-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
    QMAKE_CXX = arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9
    QMAKE_LINK = arm-poky-linux-gnueabi-g++
    QMAKE_LINK_SHLIB = arm-poky-linux-gnueabi-g++
    #QMAKE_CFLAGS += -march=armv6
    #QMAKE_CXXFLAGS += -march=armv6

    #modifications to linux.conf
    QMAKE_AR = arm-poky-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY = arm-poky-linux-gnueabi-objcopy
    QMAKE_STRIP = arm-poky-linux-gnueabi-strip

    load(qt_config)

    Configure Script with Parameters

    ../configure -release -opengl es2 -device linux-imx6-g++ -xplatform linux-arm-imx6-g++ -sysroot /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi -prefix /usr/local/Qt-5.3.2_imx6 -opensource -confirm-license -v -device-option CROSS_COMPILE=/opt/poky/1.7/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi

    Output

    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.
    You are also licensed to use this software under the terms of
    the GNU General Public License (GPL) versions 3.

    You have already accepted the terms of the Open Source license.

    Performing shadow build...
    Preparing build tree...
    Precompiled-headers support enabled.
    arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 -c -fvisibility=hidden fvisibility.c
    Symbol visibility control enabled.
    arm-poky-linux-gnueabi-g++ -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
    bsymbolic_functions.c:2:2: error: #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
    #error "Symbolic function binding on this architecture may be broken, disabling it (see QTBUG-36129)."
    ^
    Symbolic function binding enabled.
    DEFAULT_INCDIRS="/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/c++/4.9.1
    /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/c++/4.9.1/arm-poky-linux-gnueabi
    /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/c++/4.9.1/backward
    /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/include
    /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1/include-fixed
    /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include
    "
    DEFAULT_LIBDIRS="/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib
    /opt/poky/1.7/sysroots/x86_64-pokysdk-linux/usr/lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.9.1
    /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/lib
    /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/lib/arm-poky-linux-gnueabi/4.9.1
    "
    Creating qmake...
    make: Nothing to be done for `first'.
    Running configuration tests...
    Failed to process makespec for platform 'linux-arm-imx6-g++'
    Project ERROR: Qmake spec does not set MAKEFILE_GENERATOR.
    Error processing project file: /dev/null


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.