Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing/mismatched versions of gdb/openocd for x86_64 (xtensa) #8021

Closed
1 task done
tobozo opened this issue Apr 2, 2023 · 1 comment
Closed
1 task done

Missing/mismatched versions of gdb/openocd for x86_64 (xtensa) #8021

tobozo opened this issue Apr 2, 2023 · 1 comment
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Status: Needs investigation We need to do some research before taking next steps on this issue Type: Regression Result of unforeseen consequences of a previous change

Comments

@tobozo
Copy link
Contributor

tobozo commented Apr 2, 2023

Board

esp32

Device Description

observed on xtensa based esp32 flashed from a Linux x86_64 machine but may apply to other OS/devices

Hardware Configuration

defaults

Version

v2.0.7

IDE Name

Arduino IDE (1.8.19)

Operating System

Arch Linux x86_64

Flash frequency

any

PSRAM enabled

yes

Upload speed

any

Description

Getting xtensa-esp32-elf-gdb: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory error when attempting to decode an exception.

According to this comment, esp32-arduino 2.0.7 should be bundled with a newer version of gdb tools.

I managed to decode the exception after using the xtensa gdb binaries from esp-gdb-v11.2_20220823.

Sketch

none

Debug Message

none

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@tobozo tobozo added the Status: Awaiting triage Issue is waiting for triage label Apr 2, 2023
@mrengineer7777 mrengineer7777 added IDE: Arduino IDE Issue relates to Arduino IDE Type: Regression Result of unforeseen consequences of a previous change Status: Needs investigation We need to do some research before taking next steps on this issue and removed Status: Awaiting triage Issue is waiting for triage labels Apr 9, 2023
@me-no-dev
Copy link
Member

fixed in both release/v2.x and esp-idf-v5.1-libs branches. Will be in 2.0.8. ExceptionDecoder was also updated to support that new GDB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IDE: Arduino IDE Issue relates to Arduino IDE Status: Needs investigation We need to do some research before taking next steps on this issue Type: Regression Result of unforeseen consequences of a previous change
Projects
None yet
Development

No branches or pull requests

3 participants