AGL SDK for raspberrypi4 for Needlefish 14.0.3 not working

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

 



Hello everyone,

when I build an agl-image-minimal-crosssdk for MACHINE raspberrypi4 and I install the SDK using poky-agl-glibc-x86_64-agl-image-minimal-crosssdk-armv7vet2hf-neon-vfpv4-raspberrypi4-toolchain-14.0.3.sh I am not able to compile any application. I get following error in the console output.

[proc] Executing command: /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc -DCMAKE_CXX_COMPILER:FILEPATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-g++ -S/home/csolemendi/Test_sdk -B/home/csolemendi/Test_sdk/build -G Ninja
[cmake] Not searching for unused variables given on the command line.
[cmake] -- Toolchain file defaulted to '/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/share/cmake/OEToolchainConfig.cmake'
[cmake] -- The C compiler identification is GNU 11.3.0
[cmake] -- The CXX compiler identification is GNU 11.3.0
[cmake] -- Detecting C compiler ABI info
[cmake] -- Detecting C compiler ABI info - failed
[cmake] -- Check for working C compiler: /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc
[cmake] -- Check for working C compiler: /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc - broken
[cmake] CMake Error at /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
[cmake]   The C compiler
[cmake]
[cmake]     "/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc"
[cmake]
[cmake]   is not able to compile a simple test program.
[cmake]
[cmake]   It fails with the following output:
[cmake]
[cmake]     Change Dir: /home/csolemendi/Test_sdk/build/CMakeFiles/CMakeTmp
[cmake]     
[cmake]     Run Build Command(s):/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/ninja cmTC_73181 && [1/2] Building C object CMakeFiles/cmTC_73181.dir/testCCompiler.c.o
[cmake]     [2/2] Linking C executable cmTC_73181
[cmake]     FAILED: cmTC_73181
[cmake]     : && /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc --sysroot=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -Wl,-z,relro,-z,now   -rdynamic CMakeFiles/cmTC_73181.dir/testCCompiler.c.o -o cmTC_73181   && :
[cmake]     /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: error: cmTC_73181 uses VFP register arguments, CMakeFiles/cmTC_73181.dir/testCCompiler.c.o does not
[cmake]     /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: failed to merge target specific data of file CMakeFiles/cmTC_73181.dir/testCCompiler.c.o
[cmake]     collect2: error: ld returned 1 exit status
[cmake]     ninja: build stopped: subcommand failed.
[cmake]     
[cmake]     
[cmake]
[cmake]   
[cmake]
[cmake]   CMake will not be able to correctly generate this project.
[cmake] Call Stack (most recent call first):
[cmake]   CMakeLists.txt:2 (project)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/home/csolemendi/Test_sdk/build/CMakeFiles/CMakeOutput.log".
[cmake] See also "/home/csolemendi/Test_sdk/build/CMakeFiles/CMakeError.log".
[proc] The command: /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/cmake --no-warn-unused-cli -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc -DCMAKE_CXX_COMPILER:FILEPATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-g++ -S/home/csolemendi/Test_sdk -B/home/csolemendi/Test_sdk/build -G Ninja exited with code: 1

I attach also the CMakeError.log file. It seems that some object files like Scrt1.o cannot be found in /libexec folder but they are actually available in /lib folder. There was also an issue with the sdk for raspberrypi4-64 but it was from a different nature. For rasperrypi4-64 the problem was that two different libraries were installed, the gcc and the musl one and in my case vscode was picking the wrong one. That issue was solved by deleting the musl folder manually. However this seems a different issue.

Has anyone else faced this problem?

Best Regards,
Carles
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#10414) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_
Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler: /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc 
Build flags: ;-O2;-pipe;-g;-feliminate-unused-debug-types;
Id flags:  

The output was:
1
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find Scrt1.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crti.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crtbeginS.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc_s: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lc: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc_s: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crtendS.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-g++ 
Build flags: ;-O2;-pipe;-g;-feliminate-unused-debug-types;
Id flags:  

The output was:
1
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find Scrt1.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crti.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crtbeginS.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lstdc++: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lm: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc_s: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lc: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc_s: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find -lgcc: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crtendS.o: No such file or directory
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status


Detecting C compiler ABI info failed to compile with the following output:
Change Dir: /home/csolemendi/Test_sdk/build/CMakeFiles/CMakeTmp

Run Build Command(s):/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/ninja cmTC_7e148 && [1/2] Building C object CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o
Using built-in specs.
COLLECT_GCC=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc
Target: arm-agl-linux-gnueabi
Configured with: ../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/configure --build=x86_64-linux --host=x86_64-aglsdk-linux --target=arm-agl-linux-gnueabi --prefix=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr --exec_prefix=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr --bindir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi --sbindir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi --libexecdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi --datadir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/share --sysconfdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/etc --sharedstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/com --localstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/var --libdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi --includedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/include --oldincludedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/include --infodir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/share/info --mandir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/csolemendi/agl_needlefish/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gcc-cross-canadian-arm/11.3.0-r0/recipe-sysroot --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-default-pie --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-agl-linux-gnueabi- --without-local-prefix --disable-install-libiberty --disable-libssp --enable-libitm --enable-lto --disable-bootstrap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --without-isl --with-gxx-include-dir=/not/exist/usr/include/c++/11.3.0 --with-build-time-tools=/home/csolemendi/agl_needlefish/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gcc-cross-canadian-arm/11.3.0-r0/recipe-sysroot-native/usr/arm-agl-linux-gnueabi/bin --with-sysroot=/not/exist --with-build-sysroot=/home/csolemendi/agl_needlefish/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gcc-cross-canadian-arm/11.3.0-r0/recipe-sysroot --enable-standard-branch-protection --with-plugin-ld=ld --enable-poison-system-directories --disable-static --enable-nls --with-glibc-version=2.28 --enable-initfini-array
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (GCC) 
COLLECT_GCC_OPTIONS='-O2' '-pipe' '-g' '-feliminate-unused-debug-types' '-v' '-o' 'CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o' '-c' '-mcpu=arm10tdmi' '-mtls-dialect=gnu' '-marm' '-mlibarch=armv5t' '-march=armv5t' '-dumpdir' 'CMakeFiles/cmTC_7e148.dir/'
 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/cc1 -quiet -v -isysroot /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/share/cmake-3.22/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_7e148.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mcpu=arm10tdmi -mtls-dialect=gnu -marm -mlibarch=armv5t -march=armv5t -g -O2 -version -feliminate-unused-debug-types -o - |
 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/as -v -march=armv5t -meabi=5 -o CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o
GNU assembler version 2.38 (arm-agl-linux-gnueabi) using BFD version (GNU Binutils) 2.38.20220708
GNU C17 (GCC) version 11.3.0 (arm-agl-linux-gnueabi)
	compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/local/include"
ignoring nonexistent directory "/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/../../../../../arm-agl-linux-gnueabi/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/include
 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/lib/arm-agl-linux-gnueabi/11.3.0/include
 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/include-fixed
 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/include/
End of search list.
GNU C17 (GCC) version 11.3.0 (arm-agl-linux-gnueabi)
	compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 4365fe943afbe73b428e206bec35eb80
COMPILER_PATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/
LIBRARY_PATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/lib/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/lib/
COLLECT_GCC_OPTIONS='-O2' '-pipe' '-g' '-feliminate-unused-debug-types' '-v' '-o' 'CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o' '-c' '-mcpu=arm10tdmi' '-mtls-dialect=gnu' '-marm' '-mlibarch=armv5t' '-march=armv5t' '-dumpdir' 'CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.'
[2/2] Linking C executable cmTC_7e148
FAILED: cmTC_7e148 
: && /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc --sysroot=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -Wl,-z,relro,-z,now -v  -rdynamic CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o -o cmTC_7e148   && :
Using built-in specs.
COLLECT_GCC=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc
COLLECT_LTO_WRAPPER=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/lto-wrapper
Target: arm-agl-linux-gnueabi
Configured with: ../../../../../work-shared/gcc-11.3.0-r0/gcc-11.3.0/configure --build=x86_64-linux --host=x86_64-aglsdk-linux --target=arm-agl-linux-gnueabi --prefix=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr --exec_prefix=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr --bindir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi --sbindir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi --libexecdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi --datadir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/share --sysconfdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/etc --sharedstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/com --localstatedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/var --libdir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi --includedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/include --oldincludedir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/include --infodir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/share/info --mandir=/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-aglsdk-linux/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/csolemendi/agl_needlefish/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gcc-cross-canadian-arm/11.3.0-r0/recipe-sysroot --with-gnu-ld --enable-shared --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-default-pie --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-agl-linux-gnueabi- --without-local-prefix --disable-install-libiberty --disable-libssp --enable-libitm --enable-lto --disable-bootstrap --with-system-zlib --with-linker-hash-style=gnu --enable-linker-build-id --with-ppl=no --with-cloog=no --enable-checking=release --enable-cheaders=c_global --without-isl --with-gxx-include-dir=/not/exist/usr/include/c++/11.3.0 --with-build-time-tools=/home/csolemendi/agl_needlefish/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gcc-cross-canadian-arm/11.3.0-r0/recipe-sysroot-native/usr/arm-agl-linux-gnueabi/bin --with-sysroot=/not/exist --with-build-sysroot=/home/csolemendi/agl_needlefish/build/tmp/work/x86_64-nativesdk-aglsdk-linux/gcc-cross-canadian-arm/11.3.0-r0/recipe-sysroot --enable-standard-branch-protection --with-plugin-ld=ld --enable-poison-system-directories --disable-static --enable-nls --with-glibc-version=2.28 --enable-initfini-array
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.3.0 (GCC) 
COMPILER_PATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/
LIBRARY_PATH=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/lib/arm-agl-linux-gnueabi/11.3.0/:/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/lib/
COLLECT_GCC_OPTIONS='-O2' '-pipe' '-g' '-feliminate-unused-debug-types' '-v' '-rdynamic' '-o' 'cmTC_7e148' '-mcpu=arm10tdmi' '-mtls-dialect=gnu' '-marm' '-mlibarch=armv5t' '-march=armv5t' '-dumpdir' 'cmTC_7e148.'
 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/collect2 -plugin /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/liblto_plugin.so -plugin-opt=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccctrqy4.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --sysroot=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi --build-id --eh-frame-hdr --hash-style=gnu -export-dynamic -dynamic-linker /lib/ld-linux.so.3 -X -m armelf_linux_eabi -pie -o cmTC_7e148 /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/Scrt1.o /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/crti.o /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/arm-agl-linux-gnueabi/11.3.0/crtbeginS.o -L/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/lib/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0 -L/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/arm-agl-linux-gnueabi/11.3.0 -L/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib -L/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/lib/arm-agl-linux-gnueabi/11.3.0 -L/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/usr/lib -O1 --hash-style=gnu --as-needed -z relro -z now CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/arm-agl-linux-gnueabi/11.3.0/crtendS.o /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi/lib/crtn.o
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: error: cmTC_7e148 uses VFP register arguments, CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o does not
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: failed to merge target specific data of file CMakeFiles/cmTC_7e148.dir/CMakeCCompilerABI.c.o
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.




Determining if the C compiler works failed with the following output:
Change Dir: /home/csolemendi/Test_sdk/build/CMakeFiles/CMakeTmp

Run Build Command(s):/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/ninja cmTC_73181 && [1/2] Building C object CMakeFiles/cmTC_73181.dir/testCCompiler.c.o
[2/2] Linking C executable cmTC_73181
FAILED: cmTC_73181 
: && /opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/bin/arm-agl-linux-gnueabi/arm-agl-linux-gnueabi-gcc --sysroot=/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/armv7vet2hf-neon-vfpv4-agl-linux-gnueabi -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed  -Wl,-z,relro,-z,now   -rdynamic CMakeFiles/cmTC_73181.dir/testCCompiler.c.o -o cmTC_73181   && :
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: error: cmTC_73181 uses VFP register arguments, CMakeFiles/cmTC_73181.dir/testCCompiler.c.o does not
/opt/agl-sdk/14.0.3-armv7vethf-neon-vfpv4/sysroots/x86_64-aglsdk-linux/usr/libexec/arm-agl-linux-gnueabi/gcc/arm-agl-linux-gnueabi/11.3.0/ld: failed to merge target specific data of file CMakeFiles/cmTC_73181.dir/testCCompiler.c.o
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux