Open v2xsami opened 6 years ago
I got the same error, but was able to make some headway by adding the -s flag.
I do wish the example in the readme (without -s) worked properly though, as I'm not sure what I'm missing this way.
Tried it, and also the same error: addr2line not found. The path is correct and the file is present, so, why this error?
The -s option is giving a bit more info, but not the info I'm looking for. Please fix it.
Tried it, and also the same error: addr2line not found. The path is correct and the file is present, so, why this error?
The -s option is giving a bit more info, but not the info I'm looking for. Please fix it. "bin/xtensa-" + PLATFORMS[args.platform] + "-elf-addr2line") ==> "bin/xtensa-" + PLATFORMS[args.platform] + "-elf-addr2line.exe")
seems the author only tested on Linux
Wow, I don't know what makes me sadder.
-t
argument.README.md
file.If you are facing the same issue, the solution is simple! The CLI expect you to pass the tool folder
.
The tool fails miserably and prints the following error:
ERROR: addr2line not found (/home/user/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-addr2line) ERROR: Parser not complete
In the post above, he is passing the addr2line
file, a.k.a :
/home/user/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-addr2line)
Change the Path to the toolchain
folder and it will work:
/home/user/.platformio/packages/toolchain-xtensa
there you go, fixed. 2 years later.
This may also fail if the path to your toolchain is not
~/.platformio/packages/toolchain-xtensa-esp32
but
~/.platformio/packages/toolchain-xtensa-esp32s3
Because there the path to the file is
.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32s3-elf-addr2line
Note the additional s3
in the file name.
FileNotFoundError: [Errno 2] No such file or directory: '~/.platformio/packages/toolchain-xtensa-esp32s3/bin/xtensa-esp32-elf-addr2line'
I'm very sorry for the lack of support - but this tool was mailny built to serve my needs of the time. Sadly I have noch much spare time for tinkering these days due to job and family.
If you have helpful changes, please consider open a PR and I will do my best to review and integrate. I'm also happy to refer to a new location in the README if someone wants to pick-up (fork) this and maintain it.
Thank you janLo for implementing and publishing this tool! Also for clarifying the current plans for development.
The tool fails miserably and prints the following error:
ERROR: addr2line not found (/home/user/.platformio/packages/toolchain-xtensa/bin/xtensa-lx106-elf-addr2line) ERROR: Parser not complete