Open gmazurkiewicz opened 4 months ago
Looks like this is fixed by this commit https://github.com/buildroot/buildroot/commit/e5729d3008e4f958324fbbd9ea742badb3f41de4 I'll try to cherry pick and test it.
I've just confirmed that this is the proper fix of the issue.
The host gdb tool does not work due to missing opcodes and bfd libraries:
This happens only if the tool is executed from SDK generated by buildroot.
Steps to reproduce:
make snps_arc32_defconfig
make -j
make sdk
I made a quick investigation and this seems to be intended that these libs are not installed:
From file: buildroot/package/gdb/gdb.mk
So on one hand we choose the libs to be statically linked and disable installing libbfd and libopcodes, and on the other hand gdb links to these libs dynamically.
I changed the option
--disable-install-libbfd
to--enable-install-libbfd
and this fixes the problem, but I'm not sure if that's the correct way of fixing this.