analogdevicesinc / plutosdr-fw

PlutoSDR Firmware
Other
318 stars 192 forks source link

GLIBC Version with default v0.35 build #78

Closed Zosoworld closed 1 year ago

Zosoworld commented 1 year ago

Hello! I am trying to recompile the v0.35 firmware to include some tools such as gdb and perf, but I have found that the software that I have compiled using the stock v0.35 sysroot fails to execute in my modified version due to GLIBC being 2.25 instead of the 2.28 that is found in the stock v0.35. Is there a config file that I am missing? Where is this difference from the precompiled firmware and the modified version coming? I have tried using multiple linaro toolchains to compile, as well as the Vitis and gcc toolchains.

Best regards!

Zosoworld commented 1 year ago

After some reading through past issues, I have revised my toolchains and found that after properly using the SDK 2019.1 toolchain, compiled firmware results in GLIBC 2.28. While doing tests, it seems as if I did not properly clean the different submodules' build products, and I had a mix of several versions of everything, as evidenced by me starting from a clean state, and not being able to compile u-boot with the newer toolchain due to armv5 being deprecated in gcc-9.