VirtualBox

Opened 5 years ago

#18778 new defect

STM32CubeIDE GDB start-up fails in VirtualBox with Ubuntu guests

Reported by: mnu Owned by:
Component: VMM Version: VirtualBox 6.0.6
Keywords: STM32CubeIDE GDB startup failure Cc:
Guest type: Linux Host type: Linux

Description

I have tested all supported Ubuntu versions listed in UM2563 when installed as a VirtualBox guest and STM32CubeIDE is installed in the guest operating system (Ubuntu 14.04, 16.04, 18.04). Also Linux Mint Mate 19.1 and 19 are tested with similar results as VirtualBox guests.

VirtualBox versions is:

VirtualBox 6.0 VirtualBox Graphical User Interface Version 6.0.6 r130049 (Qt5.9.5) Copyright © 2019 Oracle Corporation and/or its affiliates. All rights reserved.

VirtualBoxGuestAdditions VBox_GAs_6.0.6 is installed. Oracle VM VirtualBox Extension Pack 6.0.8r130620 is installed in Oracle VM VirtualBox Manager.

THE ISSUE IS: ============

Only an unmodified code generated as a STM32Project. All have the same behaviour where installation and compilation succeed but GDB start-up fails with the message:

Could not determine GDB version using command: /opt/st/stm32cubeide_1.0.2/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.linux64_1.0.0.201904181610/tools/bin/arm-none-eabi-gdb --version

This is consistent in all Ubuntu versions and same with IDE versions 1.0.1 and 1.0.2.

When running the same command in a terminal session the response is as follows:

xxxxx@ubuntu1604base:~$ /opt/st/stm32cubeide_1.0.2/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.linux64_1.0.0.201904181610/tools/bin/arm-none-eabi-gdb --versionGNU gdb (GNU Tools for STM32 7-2018-q2-update.20190328-1800) 8.1.0.20180315-git Copyright (C) 2018 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. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-linux-gnu --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word".

When installed without virtualisation (in Linux Mint 19.1 Mate only) everything works as expected (no errors).

Change History (0)

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette