Compiler Errors: /home/kurt/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libicui18n.so.52: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8' and collect2: error: ld returned 1 exit status



  • hello to all,
    I setup a cross compiling tool chain as described in
    https://wiki.qt.io/RaspberryPi2EGLFS
    The Qt version is :

    Qt Creator 4.3.1
    Based on Qt 5.9.1 (GCC 5.3.1 20160406 (Red Hat 5.3.1-6), 64 bit)

    Then I created a simple project which makes just one button and one label.
    When I try to compile I get the following errors:

    11:46:38: Running steps for project TestQt5Remote...
    11:46:38: Configuration unchanged, skipping qmake step.
    11:46:38: Starting: "/usr/bin/make"
    /home/kurt/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ -mfloat-abi=hard --sysroot=/home/kurt/raspi/sysroot -Wl,-rpath,/usr/local/qt5pi/lib -Wl,-rpath-link,/home/kurt/raspi/sysroot/opt/vc/lib -Wl,-rpath-link,/home/kurt/raspi/sysroot/usr/lib/arm-linux-gnueabihf -Wl,-rpath-link,/home/kurt/raspi/sysroot/lib/arm-linux-gnueabihf -o TestQt5Remote main.o mainwindow.o moc_mainwindow.o -L/home/kurt/raspi/sysroot/opt/vc/lib -L/home/kurt/raspi/qt5pi/lib -lQt5Widgets -lQt5Gui -lQt5Core -L/home/kurt/raspi/sysroot/usr/lib/arm-linux-gnueabihf -lGLESv2 -lpthread
    /home/kurt/raspi/sysroot/usr/lib/arm-linux-gnueabihf/libicui18n.so.52: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'
    Makefile:148: recipe for target 'TestQt5Remote' failed
    collect2: error: ld returned 1 exit status
    make: *** [TestQt5Remote] Error 1
    11:46:38: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project TestQt5Remote (kit: RPI Qt 5.9.1)
    When executing step "Make"
    11:46:38: Elapsed time: 00:00.

    I have no idea what to do to solve this problems.
    Please could somebody help?
    Thanks
    Kurt


Log in to reply
 

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