Sysprogs forums › Forums › VisualGDB › Imported Toolchain not Shown
- This topic has 7 replies, 2 voices, and was last updated 4 years, 7 months ago by support.
-
AuthorPosts
-
March 31, 2020 at 10:03 #27793j.jemineParticipant
I don’t know if it’s related, but when I select my cross-compiling “sparc-rtems4.8-gdb” executable, the “Toolchain” field is left empty.
I don’t have a C++ compiler, so I just symlinked sparc-rtems4.8-g++ to sparc-rtems4.8-gcc.
Here is the log
Loading machine index from C:\Users\jj\.vagrant.d\data\machine-index\index... Loading Linux toolchain list for (Windows 10 Linux subsystem) Creating toolchain controller: initial selection com.sysprogs.toolchain.default-gcc , suppress event SelectToolchainByKey(com.sysprogs.toolchain.default-gcc ) /opt/sparc-rtems4.8/bin/sparc-rtems4.8-gcc -v Using built-in specs. Target: sparc-rtems4.8 Configured with: ../gcc-4.2.1/configure --target=sparc-rtems4.8 --with-gnu-as --with-as=/home/jj/rtems/bin/binutils-2.18/bin/sparc-rtems4.8-as --with-gnu-ld --with-ld=/home/jj/rtems/bin/binutils-2.18/bin/sparc-rtems4.8-ld --with-newlib --verbose --enable-threads --enable-languages=c --prefix=/home/jj/rtems/bin/gcc-4.2.1 Thread model: rtems gcc version 4.2.1 /opt/sparc-rtems4.8/bin/sparc-rtems4.8-g++ -v Using built-in specs. Target: sparc-rtems4.8 Configured with: ../gcc-4.2.1/configure --target=sparc-rtems4.8 --with-gnu-as --with-as=/home/jj/rtems/bin/binutils-2.18/bin/sparc-rtems4.8-as --with-gnu-ld --with-ld=/home/jj/rtems/bin/binutils-2.18/bin/sparc-rtems4.8-ld --with-newlib --verbose --enable-threads --enable-languages=c --prefix=/home/jj/rtems/bin/gcc-4.2.1 Thread model: rtems gcc version 4.2.1 /opt/sparc-rtems4.8/bin/sparc-rtems4.8-gdb -v GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=x86_64-unknown-linux-gnu --target=sparc-rtems4.8". make -v GNU Make 4.1 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.8-4.2.1_7.10_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.8, 4.2.1/7.10/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.8-4.2.1_7.10_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.81-4.2.1_7.10_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.81, 4.2.1/7.10/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.81-4.2.1_7.10_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.imported.environment-setup-armv7at2hf-neon-fslc-linux-gnueabi-6.2.0_7.11.1_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.environment-setup-armv7at2hf-neon-fslc-linux-gnueabi, 6.2.0/7.11.1/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.imported.environment-setup-armv7at2hf-neon-fslc-linux-gnueabi-6.2.0_7.11.1_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost... C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\0744b356-b923-4258-b6ff-cfbc71847a05-4.4.6_6.8.0.20090916-cvs_r0\ToolchainLink.txt => C:\Tools\rtems-4.10-mingw Loading toolchain definition from C:\Tools\rtems-4.10-mingw\toolchain.xml... Loaded a Embedded toolchain (0744b356-b923-4258-b6ff-cfbc71847a05, 4.4.6/6.8.0.20090916-cvs/r0) from C:\Tools\rtems-4.10-mingw Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.8, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8-4.2.1_6.6_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.8, 4.2.1/6.6/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8-4.2.1_6.6_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Skipping LXSS toolchain in C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml created by the previous product version Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Skipping LXSS toolchain in C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml created by the previous product version Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.206\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\172.16.7.21\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\192.168.0.119\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.8-4.2.1_7.10_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.8, 4.2.1/7.10/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.8-4.2.1_7.10_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.81-4.2.1_7.10_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.81, 4.2.1/7.10/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.imported.sparc-rtems4.81-4.2.1_7.10_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\dtecv-rtems\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.imported.environment-setup-armv7at2hf-neon-fslc-linux-gnueabi-6.2.0_7.11.1_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.environment-setup-armv7at2hf-neon-fslc-linux-gnueabi, 6.2.0/7.11.1/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.imported.environment-setup-armv7at2hf-neon-fslc-linux-gnueabi-6.2.0_7.11.1_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywin-virtualbox\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\flywinbuildmachine\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost... C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\0744b356-b923-4258-b6ff-cfbc71847a05-4.4.6_6.8.0.20090916-cvs_r0\ToolchainLink.txt => C:\Tools\rtems-4.10-mingw Loading toolchain definition from C:\Tools\rtems-4.10-mingw\toolchain.xml... Loaded a Embedded toolchain (0744b356-b923-4258-b6ff-cfbc71847a05, 4.4.6/6.8.0.20090916-cvs/r0) from C:\Tools\rtems-4.10-mingw Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.8, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8-4.2.1_6.6_r0\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.imported.sparc-rtems4.8, 4.2.1/6.6/r0) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.imported.sparc-rtems4.8-4.2.1_6.6_r0 Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Skipping LXSS toolchain in C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml created by the previous product version Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Skipping LXSS toolchain in C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml created by the previous product version Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-alpine\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\localhost-lxss-legacy\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u14-devnn-2.dclab.deltatec.net\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\u16-offcao-07\com.sysprogs.toolchain.default-llvm- Creating toolchain list from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj... Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-gcc-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-gcc, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-gcc- Loading custom toolchain from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-llvm-\CustomToolchain.xml... Loaded a Linux toolchain (com.sysprogs.toolchain.default-llvm, ) from C:\Users\jj\AppData\Local\VisualGDB\ToolchainProfiles\ubu-jj\com.sysprogs.toolchain.default-llvm- Loading Linux toolchain list for (Windows 10 Linux subsystem) SelectToolchainByKey(com.sysprogs.imported.sparc-rtems4.8 4.2.1/6.6/r0) Could not select toolchain for com.sysprogs.imported.sparc-rtems4.8 4.2.1/6.6/r0 out of the following list: [com.sysprogs.toolchain.default-gcc , com.sysprogs.toolchain.default-llvm ]
March 31, 2020 at 16:36 #27799supportKeymasterHi,
Based on the log, it looks like the toolchain got imported as an embedded, not Linux toolchain. Could you please share the screenshots of how exactly you import it (including all relevant wizard pages), so that we could double-check what is going on?
April 1, 2020 at 08:33 #27802j.jemineParticipantSure
April 1, 2020 at 09:01 #27803j.jemineParticipantHere is the CustomToolchain.xml created :
<?xml version="1.0"?>
<CustomToolchain xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Toolchain>
<UnixSystem>true</UnixSystem>
<RequireCtrlBreak>false</RequireCtrlBreak>
<ArgumentEscapingMode>Normal</ArgumentEscapingMode>
<Name>sparc-rtems4.8</Name>
<UniqueID>com.sysprogs.imported.sparc-rtems4.8</UniqueID>
<Location>/opt/sparc-rtems4.8/bin/sparc-rtems4.8-</Location>
<GCC>/opt/sparc-rtems4.8/bin/sparc-rtems4.8-gcc</GCC>
<GXX>/opt/sparc-rtems4.8/bin/sparc-rtems4.8-g++</GXX>
<GDB>/opt/sparc-rtems4.8/bin/sparc-rtems4.8-gdb</GDB>
<AR>/opt/sparc-rtems4.8/bin/sparc-rtems4.8-ar</AR>
<OBJCOPY>/opt/sparc-rtems4.8/bin/sparc-rtems4.8-objcopy</OBJCOPY>
<Make>make</Make>
<ShellMode>Direct</ShellMode>
</Toolchain>
<Type>Linux</Type>
<Target>sparc-rtems4.8</Target>
<Version>
<GCC>4.2.1</GCC>
<GDB>6.6</GDB>
<Revision>0</Revision>
</Version>
<IsShared>false</IsShared>
</CustomToolchain>April 1, 2020 at 09:16 #27806j.jemineParticipantUpdate:
If I select “Legacy” instead of “Use default distribution (Legacy)” for the WSL distribution box, the toolchain seems correctly created and appears in the combo box. But I then have a “Please select a remote toolchain” error message.
If I switch the combo boxes to another option and back to my toolchain, the error message disappear and I can click next.
However, I then have this error:
VisualGDB version: 5.5.4.3559
Tool arguments:
/tmp/VisualGDB_ToolchainTestProgram: 1: /tmp/VisualGDB_ToolchainTestProgram: Syntax error: word unexpected (expecting “)”)It seems to be caused by the fact that my toolchain doesn’t have C++ :
Using built-in specs.
Target: sparc-rtems4.8
Configured with: ../gcc-4.2.1/configure –target=sparc-rtems4.8 –with-gnu-as –with-as=/home/jj/rtems/bin/binutils-2.18/bin/sparc-rtems4.8-as –with-gnu-ld –with-ld=/home/jj/rtems/bin/binutils-2.18/bin/sparc-rtems4.8-ld –with-newlib –verbose –enable-threads –enable-languages=c –prefix=/home/jj/rtems/bin/gcc-4.2.1
Thread model: rtems
gcc version 4.2.1
sparc-rtems4.8-gcc: language c++ not recognized
sparc-rtems4.8-gcc: language c++ not recognized
sparc-rtems4.8-gcc: -: linker input file unused because linking not done
/tmp/VisualGDB_ToolchainTestProgram.c:1:95: warning: no newline at end of file
/home/jj/rtems/bin/binutils-2.18/bin/sparc-rtems4.8-ld: warning: cannot find entry symbol _start; not setting start address
/tmp/VisualGDB_ToolchainTestProgram: 1: /tmp/VisualGDB_ToolchainTestProgram: Syntax error: word unexpected (expecting “)”)If I ignore the error, I seem to have a working project, but it uses the system toolchain instead of mine:
…\VisualGDB\Debug\CMakeFiles\3.15.2\CMakeCCompiler.cmake :
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "5.4.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-5")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-5")
set(CMAKE_LINKER "/usr/bin/ld")
...
April 4, 2020 at 04:11 #27829supportKeymasterNo problem, please try this build: VisualGDB-5.5.4.3567.msi It will remember the imported toolchain correctly.
The toolchain test failure is by design, as VisualGDB tries to run the program produced by the toolchain locally. For cross-toolchains, please select “Build under Linux over network”, pick the LXSS distro there and set the deployment target, so that VisualGDB can verify that it can run the result of a test build. Or simply ignore the error and proceed with the current setup, since it shouldn’t interfere with anything else.
April 10, 2020 at 09:02 #27863j.jemineParticipantHi,
Sorry for the delay, I was unable to work for a few days.
I now have this problem that I didn’t seem to have before everytime I click the “Ok” or “Apply” button in the VisualGDB project settings dialog.
April 10, 2020 at 17:12 #27867supportKeymasterThis looks like the some issue between the VisualGDB’s project node and the Visual Studio Solution Manager. Please try closing the Solution, deleting the .vs subdirectory and opening it again.
If it doesn’t help, please check if the problem happens with a newly created project as well.
-
AuthorPosts
- You must be logged in to reply to this topic.