Just documenting another adventure while trying to debug tcpdump - Tcpdump segfault
I have downloaded https://archive.traverse.com.au/pub/traverse/ls1088firmware/openwrt/branches/22_03/585453076/image/openwrt-sdk-armvirt-64_gcc-11.2.0_musl.Linux-x86_64.tar.xz, extracted it in a Debian virtual machine and run
scripts/feeds update -a
Updating feed 'base' from 'https://gitlab.com/traversetech/ls1088firmware/openwrt.git;22-03' ...
Cloning into './feeds/base'...
warning: Could not find remote branch 22-03 to clone.
fatal: Remote branch 22-03 not found in upstream origin
The first line of feeds.conf.default in https://archive.traverse.com.au/pub/traverse/ls1088firmware/openwrt/branches/22_03/585453076/image/openwrt-sdk-armvirt-64_gcc-11.2.0_musl.Linux-x86_64.tar.xz should be src-git base https://gitlab.com/traversetech/ls1088firmware/openwrt.git;22_03
After fixing this I could run scripts/feeds update -a && scripts/feeds install -a
and run make menuconfig
to turn on package builds with debug symbols and disable stripping.
Unfortunately the SDK tarball seems to lack the ability to build a host cross gdb, but I’ll just run gdb on the Ten64 itself.
make package/tcpdump/compile
make package/gdb/compile
make package/gdbserver/compile #in case I do get cross gdb working