Open pkeyela opened 3 weeks ago
Thank this might be of help issue 1339
FYI, I found indications online that these were spurious warnings due to compiler bugs in GCC. I made a handful of modifications to various CMakeLists.txt files like this:
set_source_files_properties(FOO.cc PROPERTIES COMPILE_FLAGS "-Wno-array-bounds")
or
set_source_files_properties(FOO.cc PROPERTIES COMPILE_FLAGS "-Wno-array-bounds -Wno-stringop-overflow")
or even
set_source_files_properties(FOO.cc PROPERTIES COMPILE_FLAGS "-Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread")
And I was able to get it to build (and run). I can provide a full 'git diff' if that helps. But I think the real fix requires an updated GCC (I think the bug is still open there).
Issue Description
I'm building the srsRAN-4G from source but it repeatedly throws this error. I'm using a VM with Ubuntu 24 as OS, 4 CPU cores and 8GB as RAM. I thought increasing the ressources of the VM would help, but it didn't. I would be very grateful for any help out. On the same machine I built and installed srsRAN_Project whithout any issue.![002](https://github.com/srsran/srsRAN_4G/assets/28902584/ad6e1cf5-357a-4839-9f4e-ed06ff4b0628)