[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fail to cross-compile on armv7 platform, host OS ubuntu 16.04


    An issue I've got below,
    
    -- Looking for sprintf - found
    -- Looking for vsnprintf
    -- Looking for vsnprintf - found
    -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE
    -- Performing Test HAVE_GCC_THREAD_LOCAL_STORAGE - Success
    -- Check if the system is big endian
    -- Searching 16 bit integer
    -- Check size of unsigned short
    -- Check size of unsigned short - done
    -- Using unsigned short
    -- Check if the system is big endian - little endian
    {{-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") }}
    {{-- Found DOXYFILE_IN: /home/yakir/mimo-trn/projects/Tornado/external/cmocka-1.1.1/doc/Doxyfile.in }}
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/yakir/mimo-trn/projects/Tornado/external/cmocka-1.1.1/install_arm
    Scanning dependencies of target cmocka_shared
    [ 3%] Building C object src/CMakeFiles/cmocka_shared.dir/cmocka.c.o
    /tmp/ccnABS9Q.s: Assembler messages:
    /tmp/ccnABS9Q.s:8764: Error: operation combines symbols in different segments
    /tmp/ccnABS9Q.s:8765: Error: operation combines symbols in different segments
    /tmp/ccnABS9Q.s:8767: Error: operation combines symbols in different segments
    /tmp/ccnABS9Q.s:8768: Error: operation combines symbols in different segments
    /tmp/ccnABS9Q.s:8771: Error: operation combines symbols in different segments
    /tmp/ccnABS9Q.s:8772: Error: operation combines symbols in different segments
    /tmp/ccnABS9Q.s:8774: Error: operation combines symbols in different segments
    /tmp/ccnABS9Q.s:8775: Error: operation combines symbols in different segments
    src/CMakeFiles/cmocka_shared.dir/build.make:62: recipe for target 'src/CMakeFiles/cmocka_shared.dir/cmocka.c.o' failed
    make[2]: *** [src/CMakeFiles/cmocka_shared.dir/cmocka.c.o] Error 1
    CMakeFiles/Makefile2:186: recipe for target 'src/CMakeFiles/cmocka_shared.dir/all' failed
    make[1]: *** [src/CMakeFiles/cmocka_shared.dir/all] Error 2
    Makefile:149: recipe for target 'all' failed
    make: *** [all] Error 2[build]: Done. Printing report...cmocka-1.1.1 : Fail
    
    I've got two armv7 platforms, building on other one has never been an issue...
    
    Regards,
    Yakir