Hello again…this may sound silly b/c it seems things work, are a WIP, or a “I think it can work, it did once” idea.
Either/or/neither/both/none, toolchains are starting to fade a bit. It seems either the respective toolchain from ARM directly is harder to manage, from my standpoint, or linaro is shying away slowly. Either way, they are still available.
Linaro has toolchains and so does ARM. Oh and if you just want whatever both Debian Distros provide to Cross-Compile the source to the BBBlue from a amd64-bit, Digikey has a nice repo online of ideas for building with and within beagleboard.org ideas.
Their methods have changed a bit but they work. Mostly, and this is from experience dealing w/ many other toolchains and uboot and and and, things have to pan out.
Pan out in this context means to have all working repos. built and have them all get along.
This is always an issue b/c sometimes it works. Other times, it does not work.
Have you tried installing the arm-linux-gnueabihf Debian versioning yet for Bullseye or Buster?
If so, that link on Tech Forum from digikey will prove valuable, i.e. as it is having a CC=pwd/path/to/toolchain/bin/arm-linux-gnueabihf- .
Seth
P.S. That CC command shows the development environment that the GNU compiler is what. In some cases it may be N_n-3.4.2 or another versioning. Anyway, I try not to quit things and this is why I am fervent in replying so often in this ordeal of building for flying apparatuses. BBBlue!