Sysprogs forums › Forums › VisualGDB › CMAKE_SYSTEM_PROCESSOR seems to be ignored
Tagged: visualgdb
- This topic has 6 replies, 2 voices, and was last updated 2 years, 2 months ago by support.
-
AuthorPosts
-
August 24, 2022 at 07:38 #33068Nomen.NescioParticipant
I’m currently evaluating VisualGDB for cross-compiling. I try to compile existing software/libraries for Raspberry locally on Windows (Linux -> Import CMake-Project). Unfortunately, the information about the processor (here: arm6l) does not seem to be ascertainable or specifiable. E.g. on libjpeg-turbo-2.1.4: CMAKE reports an empty string: “CMAKE_SYSTEM_PROCESSOR”, although I tried to specify it in VARIOUS places:
1. VisualGDB Project Properties | CMake Build Settings | Extra CMake Configuration Variables: “CMAKE_SYSTEM_PROCESSOR=arm6l”
2. CMake command | Argument “-DCMAKE_SYSTEM_PROCESSOR=arm6l”
3. In the solution explorer in the root file “toolchain.cmake” under the imported project:
SET(CMAKE_SYSTEM_NAME Linux)
**** set(CMAKE_SYSTEM_PROCESSOR arm6l) ****
SET(VISUALGDB_TOOLCHAIN_TYPE Linux)
SET(VISUALGDB_TOOLCHAIN_SUBTYPE GCC)
SET(CMAKE_C_COMPILER “${TOOLCHAIN_ROOT}/bin/arm-linux-gnueabihf-gcc.exe”)
4. Likewise in the solution explorer in the file of the same name “toolchain.cmake” under the link: build/VisualGDB/Debug
Everything does not help, I do not understand that!
The output appears:<hr />
C:\Users\ XXX \AppData\Local\VisualGDB\CMake\bin\cmake.exe ../../.. -G “Ninja” -DCMAKE_BUILD_TYPE=DEBUG -DTOOLCHAIN_ROOT=C:/PRG/SysGCC/RPi-GCC-v8.2.1 -DCMAKE_MAKE_PROGRAM=”C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe” -DCMAKE_TOOLCHAIN_FILE=C:\Users\ XXX \libjpeg-turbo-2.1.4\./build/VisualGDB/Debug/toolchain.cmake -DCMAKE_SYSTEM_PROCESSOR=arm6l
— CMAKE_BUILD_TYPE = DEBUG
— VERSION = 2.1.4, BUILD = 20220824
CMake Error at CMakeLists.txt:60 (string):
string no output variable specified— 32-bit build ()
— CMAKE_INSTALL_PREFIX = /opt/libjpeg-turbo<hr />
What am I doing wrong? Where would be the best place to specify the (target) processor? Why are there multiple entries for “toolchain.cmake” in Solution Explorer? Where can one set presets that should always be used for a toolchain (e.g. processor, which would be clumsy in this case because there are different RPi-ARMs)?
I am thankful for every help.
N.N.
Attachments:
You must be logged in to view attached files.August 24, 2022 at 21:28 #33072supportKeymasterHi,
This looks like more of a generic CMake question than something specific to VisualGDB. Feel free to post it on CMake forums, if you get a CMake-specific advice, we can help you map it to particular VisualGDB settings. You can also dump the CMake command line used by VisualGDB to a batch file as shown here, and experiment by modifying the CMake command line directly instead of going through various VisualGDB settings. If you find a command line that works better, we can help you find VisualGDB settings that will replicate it.
The CMake files shown in Solution Explorer (including multiple instances of toolchain.cmake) are reported by CMake via the cmakeFiles-v1-<ID>.json files. The one used by VisualGDB should have the path of C:\Users\ XXX \libjpeg-turbo-2.1.4\./build/VisualGDB/Debug/toolchain.cmake. You can try using our CMake debugger to find out which file references the second one.
August 26, 2022 at 08:35 #33076Nomen.NescioParticipantI don’t think it’s due to CMake. Unfortunately, I can’t find the setting shown in the link (from an earlier version?): “Dump command line to batch file” There is also no option to choose between “Build” and “Configuration” (see figure).
Attachments:
You must be logged in to view attached files.August 26, 2022 at 09:16 #33078supportKeymasterUnfortunately, it is hard to suggest anything specific based on the description you provided.
In order for us to provide any help with this, we need to be able to reproduce the problem on our side.
Please provide complete and detailed steps to reproduce the issue as described below:- The steps should begin with launching Visual Studio. They should include every step necessary to create the project from scratch and reproduce the issue.
- Please make sure the steps do not involve any 3rd-party code as we will not be able to review it. If the problem only happens with a specific project, please make sure you can reproduce it on a clean project created from scratch.
- The steps should include uncropped screenshots of all wizard pages, VisualGDB Project Properties pages and any other GUI involved in reproducing the problem. This is critical for us to be able to reproduce the problem on our side.
You can read more about the best way to report VisualGDB issues in our problem reporting guidelines, If you do not wish to document the repro steps and save the screenshots, please consider recording a screen video instead and sending us a link to it.
Please note that many VisualGDB issues are caused by selecting an incompatible combination of settings at some point. We are generally not able to review specific projects and find the specific settings that were set incorrectly. We recommend checking the projects into source control and keeping a track of all changed settings to avoid breaking the projects.
You can also try checking various diagnostic output from various parts of VisualGDB as described on this page. Although we won’t be able to review it for a specific project unless the we can reproduce the problem from scratch, checking it might provide some clues on what is causing the unexpected behavior.
August 28, 2022 at 07:03 #33084Nomen.NescioParticipantI try it several times – it reproducible. Now with ALL steps an (hopefully) all necessary informations:
Running Software Versions:
Visual Studio Community 2017 (15.9.42)
Visual GDB 5.5R5 (build 4124)My example code:
libjpeg-turbo-2.1.4 (https://sourceforge.net/projects/libjpeg-turbo/files/2.1.4/)
that has CMake configuration:
...\libjpeg-turbo-2.1.4>dir /D [.] jchuff.c jdhuff.c jmorecfg.h [simd] [..] jchuff.h jdhuff.h jpegcomp.h strtest.c BUILDING.md jcicc.c jdicc.c jpegint.h structure.txt cderror.h jcinit.c jdinput.c jpeglib.h [testimages] cdjpeg.c jcmainct.c jdmainct.c jpegtran.1 tjbench.c cdjpeg.h jcmarker.c jdmainct.h jpegtran.c tjbenchtest.in change.log jcmaster.c jdmarker.c jpeg_nbits_table.h tjbenchtest.java.in ChangeLog.md jcomapi.c jdmaster.c jquant1.c tjexample.c cjpeg.1 jconfig.h.in jdmaster.h jquant2.c tjexampletest.in cjpeg.c jconfig.txt jdmerge.c jsimd.h tjexampletest.java.in CMakeLists.txt jconfigint.h.in jdmerge.h jsimddct.h tjunittest.c [cmakescripts] jcparam.c jdmrg565.c jsimd_none.c tjutil.c cmyk.h jcphuff.c jdmrgext.c jstdhuff.c tjutil.h coderules.txt jcprepct.c jdphuff.c jutils.c transupp.c croptest.in jcsample.c jdpostct.c jversion.h.in transupp.h djpeg.1 jcstest.c jdsample.c libjpeg.map.in turbojpeg-jni.c djpeg.c jctrans.c jdsample.h libjpeg.txt turbojpeg-mapfile [doc] jdapimin.c jdtrans.c LICENSE.md turbojpeg-mapfile.jni doxygen-extra.css jdapistd.c jerror.c [md5] turbojpeg.c doxygen.config jdarith.c jerror.h rdbmp.c turbojpeg.h example.txt jdatadst-tj.c jfdctflt.c rdcolmap.c usage.txt [fuzz] jdatadst.c jfdctfst.c rdgif.c [win] jaricom.c jdatasrc-tj.c jfdctint.c rdjpgcom.1 wizard.txt [java] jdatasrc.c jidctflt.c rdjpgcom.c wrbmp.c jcapimin.c jdcoefct.c jidctfst.c rdppm.c wrgif.c jcapistd.c jdcoefct.h jidctint.c rdswitch.c wrjpgcom.1 jcarith.c jdcol565.c jidctred.c rdtarga.c wrjpgcom.c jccoefct.c jdcolext.c jinclude.h README.ijg wrppm.c jccolext.c jdcolor.c jmemmgr.c README.md wrtarga.c jccolor.c jdct.h jmemnobs.c [release] jcdctmgr.c jddctmgr.c jmemsys.h [sharedlib]
So I tried to import a CMake-project:
File | New Project | VisualGDB > Linux Project Wizard
Name: libjpeg-turbo-2.1.4
No Project map folderImport a project | Import a CMake project
Build system Ninja
Use the advanced CMak Project SubsystemBuild the project locally with a cross-compiler
Cross-toolchain: Paspberry Pi in: …
Deployment computer: pi@…
Deployment folder: /tmp
Automatically test connetcion to … befor creating the project-> Connection checking: every thing ok
Import CMake Project | New Linux Project
Common Build Settings:
Directory with CMakeLists.txt: [SELECTED] …\libjpeg-turbo-2.1.4
CMake binary: [by VisualGDB: $(SYSPROGS_CMAKE_PATH)]
Additional environment: [by VisualGDB: EMPTY]
Build subdirectory: [by VisualGDB: build/$(PlatformName)/$(ConfigurationName)]Where the Variable PlatformName is defined? It seems to be now “VisualGDB” – thats a little bit confusing, because ARM or similar it should be?!
Common Build Settings:
Use existing CMAKE_TOOLCHAIN_FILE: [not checked by VisualGDB]Path mapping (advanced)
Use toolchain default NO ENTRIES AND NOTHING CHANGEDAfter click FINISH one get the following screen shot SS-01
The VisualGDB Log-Window has the following lines:
Running CMake: C:\Users\ *** \AppData\Local\VisualGDB\CMake\bin\cmake.exe ../../.. -G "Ninja" -DCMAKE_BUILD_TYPE=DEBUG -DTOOLCHAIN_ROOT=C:/PRG/SysGCC/RPi-GCC-v8.2.1 -DCMAKE_MAKE_PROGRAM="C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe" -DCMAKE_TOOLCHAIN_FILE=C:\Users\ *** \source\repos\RPI\libjpeg-turbo-2.1.4\./build/VisualGDB/Debug/toolchain.cmake -- The C compiler identification is GNU 8.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/ *** /RPi-GCC-v8.2.1/bin/arm-linux-gnueabihf-gcc.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- CMAKE_BUILD_TYPE = DEBUG -- VERSION = 2.1.4, BUILD = 20220827 CMake Error at CMakeLists.txt:60 (string): string no output variable specified -- 32-bit build () -- CMAKE_INSTALL_PREFIX = /opt/libjpeg-turbo -- CMAKE_INSTALL_BINDIR = bin (/opt/libjpeg-turbo/bin) -- CMAKE_INSTALL_DATAROOTDIR = (/opt/libjpeg-turbo) -- CMAKE_INSTALL_DOCDIR = doc (/opt/libjpeg-turbo/doc) -- CMAKE_INSTALL_INCLUDEDIR = include (/opt/libjpeg-turbo/include) -- CMAKE_INSTALL_LIBDIR = lib32 (/opt/libjpeg-turbo/lib32) -- CMAKE_INSTALL_MANDIR = man (/opt/libjpeg-turbo/man) -- Shared libraries enabled (ENABLE_SHARED = 1) -- Static libraries enabled (ENABLE_STATIC = 1) -- 12-bit JPEG support disabled (WITH_12BIT = 0) -- Arithmetic decoding support enabled (WITH_ARITH_DEC = 1) -- Arithmetic encoding support enabled (WITH_ARITH_ENC = 1) -- TurboJPEG API library enabled (WITH_TURBOJPEG = 1) -- TurboJPEG Java wrapper disabled (WITH_JAVA = 0) -- In-memory source/destination managers enabled (WITH_MEM_SRCDST = 1) -- Emulating libjpeg API/ABI v6.2 (WITH_JPEG7 = 0, WITH_JPEG8 = 0) -- libjpeg API shared library version = 62.3.0 -- Compiler flags = -g -- Linker flags = -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of size_t -- Check size of size_t - done -- Check size of unsigned long -- Check size of unsigned long - done -- Performing Test HAVE_BUILTIN_CTZL -- Performing Test HAVE_BUILTIN_CTZL - Success -- Performing Test INLINE_WORKS -- Performing Test INLINE_WORKS - Success -- INLINE = __inline__ __attribute__((always_inline)) (FORCE_INLINE = 1) -- Performing Test HAVE_THREAD_LOCAL -- Performing Test HAVE_THREAD_LOCAL - Success -- THREAD_LOCAL = __thread -- Performing Test HAVE_VERSION_SCRIPT -- Performing Test HAVE_VERSION_SCRIPT - Success -- Linker supports GNU-style version scripts -- CMAKE_EXECUTABLE_SUFFIX = CMake Warning at simd/CMakeLists.txt:5 (message): SIMD extensions not available for this CPU (). Performance will suffer. Call Stack (most recent call first): simd/CMakeLists.txt:541 (simd_fail) -- FLOATTEST = no-fp-contract -- RPM architecture = , DEB architecture = -- Configuring incomplete, errors occurred! See also "C:/Users/ *** /source/repos/RPI/libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeOutput.log". System.Exception: CMake exited with code 1 bei qf.f1(c1 a) ========== Project Configuration Summary ========== libjpeg-turbo-2.1.4 configured in 00:06 ========== Configuration: 1 Succeeded, 0 Failed, 0 Skipped ==========
<hr />
The CMakeOutput.log looks like:
The target system is: Linux - - The host system is: Windows - 6.1.7601 - AMD64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: C:/ *** /RPi-GCC-v8.2.1/bin/arm-linux-gnueabihf-gcc.exe Build flags: Id flags: The output was: 0 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" The C compiler identification is GNU, found in "C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/3.20.3-dirty/CompilerIdC/a.out" Detecting C compiler ABI info compiled with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_cceda && [1/2] Building C object CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o Using built-in specs. COLLECT_GCC=C:\ *** \RPi-GCC-v8.2.1\bin\arm-linux-gnueabihf-gcc.exe Target: arm-linux-gnueabihf Configured with: ../../src/gcc-8-8.3.0/src/configure --with-pkgversion='Raspbian 8.3.0-6+rpi1' --enable-languages=c,c++,lto --with-gcc-major-version-only --enable-shared --enable-linker-build-id --without-included-gettext --enable-threads=posix --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --target=arm-linux-gnueabihf --with-sysroot=/mnt/f/gnu/raspberry-buster/out/arm-linux-gnueabihf/sysroot --host=i686-w64-mingw32 --prefix /mnt/f/gnu/raspberry-buster/out/ --disable-nls Thread model: posix gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1) COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o' '-c' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp' c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/cc1.exe -quiet -v -imultilib . -imultiarch arm-linux-gnueabihf -iprefix c:\ *** \rpi-gcc-v8.2.1\bin\../lib/gcc/arm-linux-gnueabihf/8/ -isysroot C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot C:/Users/ *** /AppData/Local/VisualGDB/CMake/share/cmake-3.20/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mfloat-abi=hard -mfpu=vfp -mtls-dialect=gnu -marm -march=armv6+fp -auxbase-strip CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o -version -o C:\Users\PELABA~1\AppData\Local\Temp\ccuyhNzj.s GNU C17 (Raspbian 8.3.0-6+rpi1) version 8.3.0 (arm-linux-gnueabihf) compiled by GNU C version 5.3.1 20160211, GMP version 4.3.2, MPFR version 3.1.6, MPC version 1.0.3, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring duplicate directory "c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include" ignoring nonexistent directory "c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\mnt\f\gnu\raspberry-buster\out\include\arm-linux-gnueabihf" ignoring nonexistent directory "c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\mnt\f\gnu\raspberry-buster\out\include" ignoring duplicate directory "c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include-fixed" ignoring duplicate directory "c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\include" #include "..." search starts here: #include <...> search starts here: c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include-fixed c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\include c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\usr\include\arm-linux-gnueabihf c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\usr\include End of search list. GNU C17 (Raspbian 8.3.0-6+rpi1) version 8.3.0 (arm-linux-gnueabihf) compiled by GNU C version 5.3.1 20160211, GMP version 4.3.2, MPFR version 3.1.6, MPC version 1.0.3, isl version none GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 2a42aa95264e734586a178a0cef8aec3 COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o' '-c' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp' c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/bin/as.exe -v -march=armv6 -mfloat-abi=hard -mfpu=vfp -meabi=5 -o CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o C:\Users\PELABA~1\AppData\Local\Temp\ccuyhNzj.s GNU assembler version 2.31.1 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Raspbian) 2.31.1 COMPILER_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/;c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/;c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/bin/ LIBRARY_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o' '-c' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp' [2/2] Linking C executable cmTC_cceda Using built-in specs. COLLECT_GCC=C:\ *** \RPi-GCC-v8.2.1\bin\arm-linux-gnueabihf-gcc.exe COLLECT_LTO_WRAPPER=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/lto-wrapper.exe Target: arm-linux-gnueabihf Configured with: ../../src/gcc-8-8.3.0/src/configure --with-pkgversion='Raspbian 8.3.0-6+rpi1' --enable-languages=c,c++,lto --with-gcc-major-version-only --enable-shared --enable-linker-build-id --without-included-gettext --enable-threads=posix --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --target=arm-linux-gnueabihf --with-sysroot=/mnt/f/gnu/raspberry-buster/out/arm-linux-gnueabihf/sysroot --host=i686-w64-mingw32 --prefix /mnt/f/gnu/raspberry-buster/out/ --disable-nls Thread model: posix gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1) COMPILER_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/;c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/;c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/bin/ LIBRARY_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/;c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cceda' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp' c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/collect2.exe -plugin c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/liblto_plugin-0.dll -plugin-opt=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\PELABA~1\AppData\Local\Temp\ccO2Ih6z.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=C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot --build-id --eh-frame-hdr -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_cceda C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crt1.o C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crti.o c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtbegin.o -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8 -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtend.o C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crtn.o COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cceda' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp' Parsed C implicit include dir info from above output: rv=done found start of include info found start of implicit include info add: [c:/ *** /rpi-gcc-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include] add: [c:/ *** /rpi-gcc-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include-fixed] add: [c:/ *** /rpi-gcc-v8.2.1/arm-linux-gnueabihf/include] add: [c:/ *** /rpi-gcc-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf] add: [c:/ *** /rpi-gcc-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include] end of search list found collapse include dir [c:/ *** /rpi-gcc-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include] ==> [C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include] collapse include dir [c:/ *** /rpi-gcc-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include-fixed] ==> [C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include-fixed] collapse include dir [c:/ *** /rpi-gcc-v8.2.1/arm-linux-gnueabihf/include] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/include] collapse include dir [c:/ *** /rpi-gcc-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf] collapse include dir [c:/ *** /rpi-gcc-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include] implicit include dirs: [C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include;C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf/8/include-fixed;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/include;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include/arm-linux-gnueabihf;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/include] Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(arm-linux-gnueabihf-ld\.exe|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp] ignore line: [] ignore line: [Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_cceda && [1/2] Building C object CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=C:\ *** \RPi-GCC-v8.2.1\bin\arm-linux-gnueabihf-gcc.exe] ignore line: [Target: arm-linux-gnueabihf] ignore line: [Configured with: ../../src/gcc-8-8.3.0/src/configure --with-pkgversion='Raspbian 8.3.0-6+rpi1' --enable-languages=c c++ lto --with-gcc-major-version-only --enable-shared --enable-linker-build-id --without-included-gettext --enable-threads=posix --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --target=arm-linux-gnueabihf --with-sysroot=/mnt/f/gnu/raspberry-buster/out/arm-linux-gnueabihf/sysroot --host=i686-w64-mingw32 --prefix /mnt/f/gnu/raspberry-buster/out/ --disable-nls] ignore line: [Thread model: posix] ignore line: [gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1) ] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o' '-c' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp'] ignore line: [ c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/cc1.exe -quiet -v -imultilib . -imultiarch arm-linux-gnueabihf -iprefix c:\ *** \rpi-gcc-v8.2.1\bin\../lib/gcc/arm-linux-gnueabihf/8/ -isysroot C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot C:/Users/ *** /AppData/Local/VisualGDB/CMake/share/cmake-3.20/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mfloat-abi=hard -mfpu=vfp -mtls-dialect=gnu -marm -march=armv6+fp -auxbase-strip CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o -version -o C:\Users\PELABA~1\AppData\Local\Temp\ccuyhNzj.s] ignore line: [GNU C17 (Raspbian 8.3.0-6+rpi1) version 8.3.0 (arm-linux-gnueabihf)] ignore line: [ compiled by GNU C version 5.3.1 20160211 GMP version 4.3.2 MPFR version 3.1.6 MPC version 1.0.3 isl version none] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [ignoring duplicate directory "c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include"] ignore line: [ignoring nonexistent directory "c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\mnt\f\gnu\raspberry-buster\out\include\arm-linux-gnueabihf"] ignore line: [ignoring nonexistent directory "c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\mnt\f\gnu\raspberry-buster\out\include"] ignore line: [ignoring duplicate directory "c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include-fixed"] ignore line: [ignoring duplicate directory "c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\include"] ignore line: [#include "..." search starts here:] ignore line: [#include <...> search starts here:] ignore line: [ c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include] ignore line: [ c:\ *** \rpi-gcc-v8.2.1\lib\gcc\arm-linux-gnueabihf\8\include-fixed] ignore line: [ c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\include] ignore line: [ c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\usr\include\arm-linux-gnueabihf] ignore line: [ c:\ *** \rpi-gcc-v8.2.1\arm-linux-gnueabihf\sysroot\usr\include] ignore line: [End of search list.] ignore line: [GNU C17 (Raspbian 8.3.0-6+rpi1) version 8.3.0 (arm-linux-gnueabihf)] ignore line: [ compiled by GNU C version 5.3.1 20160211 GMP version 4.3.2 MPFR version 3.1.6 MPC version 1.0.3 isl version none] ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] ignore line: [Compiler executable checksum: 2a42aa95264e734586a178a0cef8aec3] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o' '-c' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp'] ignore line: [ c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/bin/as.exe -v -march=armv6 -mfloat-abi=hard -mfpu=vfp -meabi=5 -o CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o C:\Users\PELABA~1\AppData\Local\Temp\ccuyhNzj.s] ignore line: [GNU assembler version 2.31.1 (arm-linux-gnueabihf) using BFD version (GNU Binutils for Raspbian) 2.31.1] ignore line: [COMPILER_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/bin/] ignore line: [LIBRARY_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o' '-c' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp'] ignore line: [[2/2] Linking C executable cmTC_cceda] ignore line: [Using built-in specs.] ignore line: [COLLECT_GCC=C:\ *** \RPi-GCC-v8.2.1\bin\arm-linux-gnueabihf-gcc.exe] ignore line: [COLLECT_LTO_WRAPPER=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/lto-wrapper.exe] ignore line: [Target: arm-linux-gnueabihf] ignore line: [Configured with: ../../src/gcc-8-8.3.0/src/configure --with-pkgversion='Raspbian 8.3.0-6+rpi1' --enable-languages=c c++ lto --with-gcc-major-version-only --enable-shared --enable-linker-build-id --without-included-gettext --enable-threads=posix --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --disable-libquadmath-support --enable-plugin --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-sjlj-exceptions --with-arch=armv6 --with-fpu=vfp --with-float=hard --disable-werror --enable-checking=release --target=arm-linux-gnueabihf --with-sysroot=/mnt/f/gnu/raspberry-buster/out/arm-linux-gnueabihf/sysroot --host=i686-w64-mingw32 --prefix /mnt/f/gnu/raspberry-buster/out/ --disable-nls] ignore line: [Thread model: posix] ignore line: [gcc version 8.3.0 (Raspbian 8.3.0-6+rpi1) ] ignore line: [COMPILER_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/bin/] ignore line: [LIBRARY_PATH=c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/] ignore line: [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf/] ignore line: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/] ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cceda' '-mfloat-abi=hard' '-mfpu=vfp' '-mtls-dialect=gnu' '-marm' '-march=armv6+fp'] link line: [ c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/collect2.exe -plugin c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/liblto_plugin-0.dll -plugin-opt=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/lto-wrapper.exe -plugin-opt=-fresolution=C:\Users\PELABA~1\AppData\Local\Temp\ccO2Ih6z.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=C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot --build-id --eh-frame-hdr -dynamic-linker /lib/ld-linux-armhf.so.3 -X --hash-style=gnu -m armelf_linux_eabi -o cmTC_cceda C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crt1.o C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crti.o c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtbegin.o -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8 -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc -Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf -LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtend.o C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crtn.o] arg [c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/collect2.exe] ==> ignore arg [-plugin] ==> ignore arg [c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/liblto_plugin-0.dll] ==> ignore arg [-plugin-opt=c:/ *** /rpi-gcc-v8.2.1/bin/../libexec/gcc/arm-linux-gnueabihf/8/lto-wrapper.exe] ==> ignore arg [-plugin-opt=-fresolution=C:\Users\PELABA~1\AppData\Local\Temp\ccO2Ih6z.res] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [-plugin-opt=-pass-through=-lc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc] ==> ignore arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore arg [--sysroot=C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib/ld-linux-armhf.so.3] ==> ignore arg [-X] ==> ignore arg [--hash-style=gnu] ==> ignore arg [-m] ==> ignore arg [armelf_linux_eabi] ==> ignore arg [-o] ==> ignore arg [cmTC_cceda] ==> ignore arg [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crt1.o] ==> obj [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crt1.o] arg [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crti.o] ==> obj [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crti.o] arg [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtbegin.o] ==> obj [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtbegin.o] arg [-Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8] ==> dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8] arg [-Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf] ==> dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf] arg [-Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc] ==> dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc] arg [-Lc:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib] ==> dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib] arg [-LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf] ==> dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf] arg [-LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib] ==> dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib] arg [-LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf] ==> dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf] arg [-LC:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib] ==> dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib] arg [CMakeFiles/cmTC_cceda.dir/CMakeCCompilerABI.c.o] ==> ignore arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [-lc] ==> lib [c] arg [-lgcc] ==> lib [gcc] arg [--as-needed] ==> ignore arg [-lgcc_s] ==> lib [gcc_s] arg [--no-as-needed] ==> ignore arg [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtend.o] ==> obj [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtend.o] arg [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crtn.o] ==> obj [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crtn.o] collapse obj [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtbegin.o] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/lib/crtbegin.o] collapse obj [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib/crtend.o] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/lib/crtend.o] collapse library dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8] ==> [C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf/8] collapse library dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf] ==> [C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf] collapse library dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc] ==> [C:/ *** /RPi-GCC-v8.2.1/lib/gcc] collapse library dir [c:/ *** /rpi-gcc-v8.2.1/bin/../lib/gcc/arm-linux-gnueabihf/8/../../../../arm-linux-gnueabihf/lib] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/lib] collapse library dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf] collapse library dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib] collapse library dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf] collapse library dir [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib] ==> [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib] implicit libs: [gcc;gcc_s;c;gcc;gcc_s] implicit objs: [C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crt1.o;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crti.o;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/lib/crtbegin.o;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/lib/crtend.o;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf/crtn.o] implicit dirs: [C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf/8;C:/ *** /RPi-GCC-v8.2.1/lib/gcc/arm-linux-gnueabihf;C:/ *** /RPi-GCC-v8.2.1/lib/gcc;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/lib;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib/arm-linux-gnueabihf;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/lib;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib/arm-linux-gnueabihf;C:/ *** /RPi-GCC-v8.2.1/arm-linux-gnueabihf/sysroot/usr/lib] implicit fwks: [] Determining if the include file sys/types.h exists passed with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_d229e && [1/2] Building C object CMakeFiles/cmTC_d229e.dir/CheckIncludeFile.c.o [2/2] Linking C executable cmTC_d229e Determining if the include file stdint.h exists passed with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_79900 && [1/2] Building C object CMakeFiles/cmTC_79900.dir/CheckIncludeFile.c.o [2/2] Linking C executable cmTC_79900 Determining if the include file stddef.h exists passed with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_b6f81 && [1/2] Building C object CMakeFiles/cmTC_b6f81.dir/CheckIncludeFile.c.o [2/2] Linking C executable cmTC_b6f81 Determining size of size_t passed with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_7bf61 && [1/2] Building C object CMakeFiles/cmTC_7bf61.dir/SIZE_T.c.o [2/2] Linking C executable cmTC_7bf61 Determining size of unsigned long passed with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_aa203 && [1/2] Building C object CMakeFiles/cmTC_aa203.dir/UNSIGNED_LONG.c.o [2/2] Linking C executable cmTC_aa203 Performing C SOURCE FILE Test HAVE_BUILTIN_CTZL succeeded with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_e6e84 && [1/2] Building C object CMakeFiles/cmTC_e6e84.dir/src.c.o [2/2] Linking C executable cmTC_e6e84 Source file was: int main(int argc, char **argv) { unsigned long a = argc; return __builtin_ctzl(a); } Performing C SOURCE FILE Test INLINE_WORKS succeeded with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_90648 && [1/2] Building C object CMakeFiles/cmTC_90648.dir/src.c.o [2/2] Linking C executable cmTC_90648 Source file was: __inline__ __attribute__((always_inline)) static int foo(void) { return 0; } int main(void) { return foo(); } Performing C SOURCE FILE Test HAVE_THREAD_LOCAL succeeded with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_79e77 && [1/2] Building C object CMakeFiles/cmTC_79e77.dir/src.c.o [2/2] Linking C executable cmTC_79e77 Source file was: __thread int i; int main(void) { i = 0; return i; } Performing C SOURCE FILE Test HAVE_VERSION_SCRIPT succeeded with the following output: Change Dir: C:/Users/ *** /libjpeg-turbo-2.1.4/build/VisualGDB/Debug/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe cmTC_615b9 && [1/2] Building C object CMakeFiles/cmTC_615b9.dir/src.c.o [2/2] Linking C executable cmTC_615b9 Source file was: int main(void) { return 0; }
<hr />
CMakeLists.txt around line 60 is (fragment):
# Detect CPU type and whether we're building 64-bit or 32-bit code math(EXPR BITS "${CMAKE_SIZEOF_VOID_P} * 8") string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} CMAKE_SYSTEM_PROCESSOR_LC) set(COUNT 1)
(…)
——————
simd/CMakeLists.txt around line 5 is (fragment):
macro(simd_fail message) if(REQUIRE_SIMD) message(FATAL_ERROR "${message}.") else() message(WARNING "${message}. Performance will suffer.") set(WITH_SIMD 0 PARENT_SCOPE) endif() endmacro()
(…)
——————
simd/CMakeLists.txt around line 541 is (fragment):
(...) simd_fail("SIMD extensions not available for this CPU (${CMAKE_SYSTEM_PROCESSOR})") (...)
<hr />
So it seems that CMAKE_SYSTEM_PROCESSOR is empty (it sould be an ARM for Raspberry) - see first line of log: Running CMake: C:\Users\ *** \AppData\Local\VisualGDB\CMake\bin\cmake.exe ../../.. -G "Ninja" -DCMAKE_BUILD_TYPE=DEBUG -DTOOLCHAIN_ROOT=C:/PRG/SysGCC/RPi-GCC-v8.2.1 -DCMAKE_MAKE_PROGRAM="C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe" -DCMAKE_TOOLCHAIN_FILE=C:\Users\ *** \source\repos\RPI\libjpeg-turbo-2.1.4\./build/VisualGDB/Debug/toolchain.cmake
Now I make the following entry by my self: see screen shot SS-02
Commandline is changing, but it still the same result, as one can seen in screen shot SS03
Running CMake: C:\Users\ *** \AppData\Local\VisualGDB\CMake\bin\cmake.exe ../../.. -G "Ninja" -DCMAKE_BUILD_TYPE=DEBUG -DTOOLCHAIN_ROOT=C:/PRG/SysGCC/RPi-GCC-v8.2.1 -DCMAKE_MAKE_PROGRAM="C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe" -DCMAKE_TOOLCHAIN_FILE=C:\Users\ *** \source\repos\RPI\libjpeg-turbo-2.1.4\./build/VisualGDB/Debug/toolchain.cmake -DCMAKE_SYSTEM_PROCESSOR=arm6l
Even I make an explicite an additional Argument for CMake command, as shown in screen shot SS04 – Command line is changing but not the result (screen shot SS05):
Running CMake: C:\Users\ *** \AppData\Local\VisualGDB\CMake\bin\cmake.exe -DCMAKE_SYSTEM_PROCESSOR=arm6l ../../.. -G "Ninja" -DCMAKE_BUILD_TYPE=DEBUG -DTOOLCHAIN_ROOT=C:/PRG/SysGCC/RPi-GCC-v8.2.1 -DCMAKE_MAKE_PROGRAM="C:/Program Files (x86)/Sysprogs/VisualGDB/ninja.exe" -DCMAKE_TOOLCHAIN_FILE=C:\Users\ *** \source\repos\RPI\libjpeg-turbo-2.1.4\./build/VisualGDB/Debug/toolchain.cmake -DCMAKE_SYSTEM_PROCESSOR=arm6l
I dont expect, that this error is from CMake and it is not specific to 3rd party code (even it is 3rd party code), because CMake will not get an necessary basis argument?!
How and where can I find the menu entry that is recommandet in https://visualgdb.com/documentation/projects/cmake/#troubleshooting for dumping configuration commands in a batch file? I can’t find it in the VisualGDB Build window (as you can see in the screen shots)?I hope, that my description of the problem is now clear and understandable.
Many thanks for your help!
Attachments:
You must be logged in to view attached files.August 28, 2022 at 07:05 #33089Nomen.NescioParticipantUnfortunately I couldn’t attach the screenshot SS-05 anymore, so it is here.
Attachments:
You must be logged in to view attached files.August 28, 2022 at 08:37 #33091supportKeymasterHi,
The steps you provided involve importing a 3rd-party project. If you would like to get it working with VisualGDB, please make sure you can build it by running CMake/Ninja manually on the same machine using the same toolchain. If the project doesn’t build/work on your platform, it may need to be ported to it and VisualGDB cannot do it automatically.
Once you get the manual build to work, please share:
- The manual CMake command line that produces a successful build
- CMake command line from the VisualGDB build log
We can then help you adjust the VisualGDB settings to match the manual build command line that works.
- This reply was modified 2 years, 2 months ago by support.
-
AuthorPosts
- You must be logged in to reply to this topic.