-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Describe the bug
When building Reth on FreeBSD with --no-default-features, the resulting binary links only against libc.so.7 (the system jemalloc), but reth --version still shows Build Features: jemalloc.
This appears to be a false positive in the build metadata, not an actual linkage to the jemallocator crate.
Steps to reproduce
git clone https://github.com/paradigmxyz/reth
cd reth
cargo clean
RUSTFLAGS="-C target-cpu=native -C link-arg=-lgcc -C link-arg=-static-libgcc" cargo build --release reth --no-default-features
ldd target/release/reth | grep malloc # → nothing
ldd target/release/reth | grep libc # → libc.so.7
./target/release/reth --version
Node logs
Platform(s)
No response
Container Type
Not running in a container
What version/commit are you on?
1.8.2-dev
Commit SHA: a718752
What database version are you on?
whatever comes with v1.8.2!
Which chain / network are you on?
mainnet
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
none, default, full node
If you've built Reth from source, provide the full command you used
RUSTFLAGS="-C target-cpu=native -C link-arg=-lgcc -C link-arg=-static-libgcc" cargo build --release -p reth --no-default-features
Code of Conduct
- I agree to follow the Code of Conduct
Metadata
Metadata
Assignees
Labels
Type
Projects
Status