Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

srsRAN_4G fails to build #1346

Open
pkeyela opened this issue Jun 4, 2024 · 2 comments
Open

srsRAN_4G fails to build #1346

pkeyela opened this issue Jun 4, 2024 · 2 comments

Comments

@pkeyela
Copy link

pkeyela commented Jun 4, 2024

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

@icecool1987
Copy link

Thank this might be of help issue 1339

@rob-the-dude
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants