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

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


Andreas,

I've attached the full build log of the package on my end. The platform which doesn't build isn't armv7hl
The version info is
Name: arm-arago-linux-gnueabi
Distro: arago
Distro Version: 2011.09

I do have another SDK which build the cmocka just fine, a newer version, of the arago dist,
Name: version-armv7ahf-neon-linux-gnueabi
Distro: arago
Distro Version: 2016.10

Regards,
Yakir 

On 13/08/18, 11:54 PM, "Andreas Schneider" <asn@xxxxxxxxxxxxxx> wrote:

    On Friday, 20 July 2018 05:07:49 CEST Yakir Matusovsky wrote:
    >     I've got two armv7 platforms, building on other one has never been an
    > issue...
     
    >     Regards,
    >     Yakir 
    
    Hi Yakir,
    
    I don't see any issues with Fedora:
    
    https://koji.fedoraproject.org/koji/buildinfo?buildID=1107058
    
    
    	Andreas
    
    
    -- 
    Andreas Schneider                 asn@xxxxxxxxxxxxxx
    GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
    
    
    

{\rtf1\ansi\ansicpg1252\cocoartf1561\cocoasubrtf600
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;}
{\*\expandedcolortbl;;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0

\f0\fs24 \cf0 SDK_PATH = /opt/XC-TI32\
\
[build]: Project:\
\
[build]: Targets: cmocka-1.1.1\
\
[build]: Machine: Tornado\
\
[build]: projFile = ../projects/Tornado/Tornado.prj\
\
[build]: kernel = linux-2.6.37\
\
[build]: rootfs = tornado_rootfs.tar.bz2\
\
[build]: targets = cmocka-1.1.1\
\
[build]: Configuring cmocka-1.1.1 ...\
\
-- The C compiler identification is GNU 4.5.3\
-- Check for working C compiler: /opt/XC-TI32/bin/arm-arago-linux-gnueabi-gcc\
-- Check for working C compiler: /opt/XC-TI32/bin/arm-arago-linux-gnueabi-gcc -- works\
-- Detecting C compiler ABI info\
-- Detecting C compiler ABI info - done\
-- Detecting C compile features\
-- Detecting C compile features - done\
-- Performing Test WITH_FPIC\
-- Performing Test WITH_FPIC - Success\
-- Performing Test WITH_STACK_PROTECTOR\
-- Performing Test WITH_STACK_PROTECTOR - Success\
-- Performing Test WITH_VISIBILITY_HIDDEN\
-- Performing Test WITH_VISIBILITY_HIDDEN - Success\
-- Looking for assert.h\
-- Looking for assert.h - found\
-- Looking for inttypes.h\
-- Looking for inttypes.h - found\
-- Looking for io.h\
-- Looking for io.h - not found\
-- Looking for malloc.h\
-- Looking for malloc.h - found\
-- Looking for memory.h\
-- Looking for memory.h - found\
-- Looking for setjmp.h\
-- Looking for setjmp.h - found\
-- Looking for signal.h\
-- Looking for signal.h - found\
-- Looking for stdarg.h\
-- Looking for stdarg.h - found\
-- Looking for stddef.h\
-- Looking for stddef.h - found\
-- Looking for stdint.h\
-- Looking for stdint.h - found\
-- Looking for stdio.h\
-- Looking for stdio.h - found\
-- Looking for stdlib.h\
-- Looking for stdlib.h - found\
-- Looking for string.h\
-- Looking for string.h - found\
-- Looking for strings.h\
-- Looking for strings.h - found\
-- Looking for sys/stat.h\
-- Looking for sys/stat.h - found\
-- Looking for sys/types.h\
-- Looking for sys/types.h - found\
-- Looking for time.h\
-- Looking for time.h - found\
-- Looking for unistd.h\
-- Looking for unistd.h - found\
-- Performing Test HAVE_STRUCT_TIMESPEC\
-- Performing Test HAVE_STRUCT_TIMESPEC - Success\
-- Looking for calloc\
-- Looking for calloc - found\
-- Looking for exit\
-- Looking for exit - found\
-- Looking for fprintf\
-- Looking for fprintf - found\
-- Looking for free\
-- Looking for free - found\
-- Looking for longjmp\
-- Looking for longjmp - found\
-- Looking for siglongjmp\
-- Looking for siglongjmp - found\
-- Looking for malloc\
-- Looking for malloc - found\
-- Looking for memcpy\
-- Looking for memcpy - found\
-- Looking for memset\
-- Looking for memset - found\
-- Looking for printf\
-- Looking for printf - found\
-- Looking for setjmp\
-- Looking for setjmp - found\
-- Looking for signal\
-- Looking for signal - found\
-- Looking for strsignal\
-- Looking for strsignal - found\
-- Looking for strcmp\
-- Looking for strcmp - found\
-- Looking for clock_gettime\
-- Looking for clock_gettime - not found\
-- Looking for sprintf\
-- 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\
\
[build]: Cleaning cmocka-1.1.1 ...\
\
\
[build]: Building cmocka-1.1.1 ...\
\
-- The C compiler identification is GNU 4.5.3\
-- Check for working C compiler: /opt/XC-TI32/bin/arm-arago-linux-gnueabi-gcc\
-- Check for working C compiler: /opt/XC-TI32/bin/arm-arago-linux-gnueabi-gcc -- works\
-- Detecting C compiler ABI info\
-- Detecting C compiler ABI info - done\
-- Detecting C compile features\
-- Detecting C compile features - done\
-- Performing Test WITH_FPIC\
-- Performing Test WITH_FPIC - Success\
-- Performing Test WITH_STACK_PROTECTOR\
-- Performing Test WITH_STACK_PROTECTOR - Success\
-- Performing Test WITH_VISIBILITY_HIDDEN\
-- Performing Test WITH_VISIBILITY_HIDDEN - Success\
-- Looking for assert.h\
-- Looking for assert.h - found\
-- Looking for inttypes.h\
-- Looking for inttypes.h - found\
-- Looking for io.h\
-- Looking for io.h - not found\
-- Looking for malloc.h\
-- Looking for malloc.h - found\
-- Looking for memory.h\
-- Looking for memory.h - found\
-- Looking for setjmp.h\
-- Looking for setjmp.h - found\
-- Looking for signal.h\
-- Looking for signal.h - found\
-- Looking for stdarg.h\
-- Looking for stdarg.h - found\
-- Looking for stddef.h\
-- Looking for stddef.h - found\
-- Looking for stdint.h\
-- Looking for stdint.h - found\
-- Looking for stdio.h\
-- Looking for stdio.h - found\
-- Looking for stdlib.h\
-- Looking for stdlib.h - found\
-- Looking for string.h\
-- Looking for string.h - found\
-- Looking for strings.h\
-- Looking for strings.h - found\
-- Looking for sys/stat.h\
-- Looking for sys/stat.h - found\
-- Looking for sys/types.h\
-- Looking for sys/types.h - found\
-- Looking for time.h\
-- Looking for time.h - found\
-- Looking for unistd.h\
-- Looking for unistd.h - found\
-- Performing Test HAVE_STRUCT_TIMESPEC\
-- Performing Test HAVE_STRUCT_TIMESPEC - Success\
-- Looking for calloc\
-- Looking for calloc - found\
-- Looking for exit\
-- Looking for exit - found\
-- Looking for fprintf\
-- Looking for fprintf - found\
-- Looking for free\
-- Looking for free - found\
-- Looking for longjmp\
-- Looking for longjmp - found\
-- Looking for siglongjmp\
-- Looking for siglongjmp - found\
-- Looking for malloc\
-- Looking for malloc - found\
-- Looking for memcpy\
-- Looking for memcpy - found\
-- Looking for memset\
-- Looking for memset - found\
-- Looking for printf\
-- Looking for printf - found\
-- Looking for setjmp\
-- Looking for setjmp - found\
-- Looking for signal\
-- Looking for signal - found\
-- Looking for strsignal\
-- Looking for strsignal - found\
-- Looking for strcmp\
-- Looking for strcmp - found\
-- Looking for clock_gettime\
-- Looking for clock_gettime - not found\
-- Looking for sprintf\
-- 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/cclCSOGY.s: Assembler messages:\
/tmp/cclCSOGY.s:8764: Error: operation combines symbols in different segments\
/tmp/cclCSOGY.s:8765: Error: operation combines symbols in different segments\
/tmp/cclCSOGY.s:8767: Error: operation combines symbols in different segments\
/tmp/cclCSOGY.s:8768: Error: operation combines symbols in different segments\
/tmp/cclCSOGY.s:8771: Error: operation combines symbols in different segments\
/tmp/cclCSOGY.s:8772: Error: operation combines symbols in different segments\
/tmp/cclCSOGY.s:8774: Error: operation combines symbols in different segments\
/tmp/cclCSOGY.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:127: recipe for target 'all' failed\
make: *** [all] Error 2\
\
[build]: Done. Printing report...\
\
cmocka-1.1.1        : Fail\
}

Follow-Ups:
Re: Fail to cross-compile on armv7 platform, host OS ubuntu 16.04Andreas Schneider <asn@xxxxxxxxxxxxxx>
References:
Re: Fail to cross-compile on armv7 platform, host OS ubuntu 16.04Andreas Schneider <asn@xxxxxxxxxxxxxx>