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

riscv32-esp-elf-gdb returns non-zero exit code on macos-arm64 (IDFGH-7385) #8965

Closed
bear24rw opened this issue May 17, 2022 · 1 comment
Closed
Assignees
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@bear24rw
Copy link

Getting an error trying to source export.sh on the last master. I have tried totally deleting ~/.espressif and re-running ./install.sh but I get this same error.

Environment

  • IDF version (run git describe --tags to find it):
    // v5.0-dev-2959-g31b7694551
  • Operating System: macOS arm64

Problem Description

. ./export.sh
Setting IDF_PATH to '/Users/user/poc2/esp-idf'
Detecting the Python interpreter
Checking "python3" ...
Python 3.10.2
"python3" has been detected
Checking Python compatibility
Checking other ESP-IDF version.
Adding ESP-IDF tools to PATH...
WARNING: tool riscv32-esp-elf-gdb version 11.1_20220318 is installed, but returned non-zero exit code (134) with error message:
dyld[65056]: Library not loaded: /opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/Python
  Referenced from: /Users/user/.espressif/tools/riscv32-esp-elf-gdb/11.1_20220318/riscv32-esp-elf-gdb/bin/riscv32-esp-elf-gdb-3.10.VAR2Ivc
  Reason: tried: '/opt/homebrew/opt/python@3.10/Frameworks/Python.framework/Versions/3.10/Python' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/opt/homebrew/Cellar/python@3.10/3.10.2/Frameworks/Python.framework/Versions/3.10/Python' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file), '/System/Library/Frameworks/Python.framework/Versions/3.10/Python' (no such file)
/Users/user/.espressif/tools/riscv32-esp-elf-gdb/11.1_20220318/riscv32-esp-elf-gdb/bin/riscv32-esp-elf-gdb: line 45: 65056 Abort trap: 6           "${GDB_WRAPPER_TEMP_BINARY}" "$@"

ERROR: tool riscv32-esp-elf-gdb has no installed versions. Please run '/Users/max_thrun/projects/e91/poc2/esp-idf/install.sh' to install it.
@espressif-bot espressif-bot added the Status: Opened Issue is new label May 17, 2022
@github-actions github-actions bot changed the title riscv32-esp-elf-gdb returns non-zero exit code on macos-arm64 riscv32-esp-elf-gdb returns non-zero exit code on macos-arm64 (IDFGH-7385) May 17, 2022
@bear24rw
Copy link
Author

I just re-confirmed that v4.4.1 works fine.

@espressif-bot espressif-bot added Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Resolution: Done Issue is done internally and removed Status: Opened Issue is new Resolution: NA Issue resolution is unavailable labels May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants