Skip to content

[Nexthop][build] Link bgp executables against jemalloc, matching FBOSS - #12

Open
deepakgudiseva-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:bgp-oss-jemalloc
Open

deepakgudiseva-nexthop wants to merge 1 commit into
facebook:mainfrom
nexthop-ai:bgp-oss-jemalloc

Conversation

@deepakgudiseva-nexthop

@deepakgudiseva-nexthop deepakgudiseva-nexthop commented Oct 5, 2026 •

Copy link
Copy Markdown

Summary

Link every bgp executable against jemalloc with the same malloc_conf as FBOSS (facebook/fboss@2c55ac6d); libraries stay allocator-agnostic, and -DBGP_WITH_JEMALLOC=OFF keeps glibc malloc.

Test Plan

Built bgpd with this change: readelf -d bgpd lists libjemalloc.so.2 as NEEDED and malloc_conf is exported in .dynsym.

Signed-off-by: deepakgudiseva-nexthop <deepakgudiseva@nexthop.ai>
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant