Skip to content

build(cmake): fix dead code elimination for common static libs - #76

Merged
DmitriyRodin merged 1 commit into
masterfrom
fix/RAN-049-dead-code-elimination-for-static-libs
Jul 8, 2026
Merged

build(cmake): fix dead code elimination for common static libs#76
DmitriyRodin merged 1 commit into
masterfrom
fix/RAN-049-dead-code-elimination-for-static-libs

Conversation

@DmitriyRodin

Copy link
Copy Markdown
Owner
  • force the linker to include all symbols from common_lib and common_proto_lib by wrapping them with -Wl,--whole-archive
  • this prevents the compiler from discarding essential unreferenced code during the optimization phase for both gnb_app and ue_app executables

Close #75

- force the linker to include all symbols from
  common_lib and common_proto_lib by wrapping
  them with -Wl,--whole-archive
- this prevents the compiler from discarding essential
  unreferenced code during the optimization phase
  for both gnb_app and ue_app executables

Close #75
@DmitriyRodin
DmitriyRodin merged commit f8aae20 into master Jul 8, 2026
4 checks passed
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

Successfully merging this pull request may close these issues.

BUG: UE and gNB segfault in distributed mode

1 participant