-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
espcoredump.py & xtensa-esp32-elf-gdb not working in docker (IDFGH-3297) #5284
Comments
@vtunr Thanks for reporting, we will look into. |
I have just hit the same error from xtensa-esp32-elf-gdb running on a clean Kubunutu 20.04 with stable esp-idf. It appears to be trying to load python 2.7. This system has 3.8.2 installed by default. Really don't want to have to install 2.7 to be able to run GDB? |
@vtunr @PaulMichell We will switch to building GDB with Python 3 libraries in the next toolchain release. For now there are two options:
Sorry for the trouble. |
ETA? |
This turned out more complex than expected, as libraries for different Python 3.x versions are not binary compatible. So if we build GDB, say, with Python 3.7 libraries, it won't work for users who have 3.8 installed. For now, we have merged #5817 to add libpython2.7 to the docker image. This is also in the process of being backported to other release branches. |
Bigger toolchain is less worse than a broken one, no? |
Environment
Problem Description
My goal is to use the docker container to process coredump.
Running
espcoredump.py
lead toTrying to run xtensa-esp32-elf-gdb by itself is not working inside the container :
which is probably the cause of the
espcoredump.py
error.Steps to reproduce
Run :
The text was updated successfully, but these errors were encountered: