Imported Toolchain not Shown

Sysprogs forums Forums VisualGDB Imported Toolchain not Shown

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #27793
    j.jemine
    Participant

    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 ]

     

     

    • This topic was modified 4 years, 8 months ago by support. Reason: formatting
    • This topic was modified 4 years, 8 months ago by support.
    #27799
    support
    Keymaster

    Hi,

    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?

    #27802
    j.jemine
    Participant

    Sure

     

    #27803
    j.jemine
    Participant

    Here 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>

    • This reply was modified 4 years, 8 months ago by j.jemine.
    • This reply was modified 4 years, 8 months ago by j.jemine.
    #27806
    j.jemine
    Participant

    Update:

    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")

    ...

     

    • This reply was modified 4 years, 8 months ago by j.jemine.
    • This reply was modified 4 years, 8 months ago by j.jemine.
    #27829
    support
    Keymaster

    No 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.

    #27863
    j.jemine
    Participant

    Hi,

    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.

    #27867
    support
    Keymaster

    This 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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.