Repository navigation
Open
Description
OS: FreeBSD 14.2
Tag: Elements-23.2.4
Arch: x86_64
The bitcoind v23.2 bench_bitcoin runs fine.
% ./src/bench/bench_bitcoin
| ns/op | op/s | err% | total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
| 33,918,912.00 | 29.48 | 0.4% | 0.32 | `AddrManAdd`
| 41,379,012.00 | 24.17 | 0.2% | 0.46 | `AddrManAddThenGood`
| 143,318.71 | 6,977.46 | 0.2% | 0.01 | `AddrManGetAddr`
| 148.36 | 6,740,300.72 | 0.5% | 0.01 | `AddrManSelect`
| 349,355.33 | 2,862.42 | 0.2% | 0.01 | `AssembleBlock`
| ns/byte | byte/s | err% | total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
| 68.69 | 14,557,263.45 | 0.7% | 0.01 | `Base58CheckEncode`
| 15.00 | 66,656,073.03 | 0.3% | 0.01 | `Base58Decode`
| 50.84 | 19,670,034.41 | 0.3% | 0.01 | `Base58Encode`
| 7.09 | 141,086,434.00 | 0.1% | 0.01 | `Bech32Decode`
| 15.34 | 65,201,841.52 | 0.2% | 0.01 | `Bech32Encode`
| ns/op | op/s | err% | total | benchmark
|--------------------:|--------------------:|--------:|----------:|:----------
| 134.03 | 7,461,269.48 | 0.8% | 0.01 | `BenchLockedPool`
| 28.87 | 34,637,621.14 | 0.0% | 0.01 | `BenchTimeDeprecated`
| 32.33 | 30,929,578.06 | 0.1% | 0.01 | `BenchTimeMillis`
| 32.31 | 30,953,487.11 | 0.2% | 0.01 | `BenchTimeMillisSys`
| 2.30 | 433,852,393.89 | 0.0% | 0.01 | `BenchTimeMock`
| 53,562,096.00 | 18.67 | 0.2% | 0.59 | `BlockToJsonVerbose`
| 33,862,387.00 | 29.53 | 0.3% | 0.38 | `BlockToJsonVerboseWrite`
| 677,365.50 | 1,476.31 | 0.1% | 0.01 | `BnBExhaustion`
Illegal instruction (core dumped)
Metadata
Metadata
Assignees
Labels
No labels
Activity
delta1 commentedon Dec 19, 2024
does this also occur in 22.1.1 ?
grubles commentedon Dec 19, 2024
22.1.1 doesn't seem to want to build:
apoelstra commentedon Dec 19, 2024
You need to use boost 1.75 for 22.x. In Nix you can do this with
boost = nixpkgs.boost175;. On Arch IIRC I would spin up an old Debian VM :P.grubles commentedon Dec 19, 2024
Got it to build with
--disable-wallet. Looks like it may be crashing at the same spot?@apoelstra well my intention is to see how elementsd runs on FreeBSD. But yeah 14.2 seems to have boost 1.85 which I guess is too new for 22.x.
apoelstra commentedon Dec 19, 2024
If "how it runs on X" means "how it runs with the default version of all dependencies provided by X" then it pretty-much doesn't run anywhere :).
grubles commentedon Dec 19, 2024
I hear you. FWIW that's the only
boost-libspackage available for FBSD 14.x, unless it's possible to finesse ports to build an older one. I'll try to see if I can get 1.75 on this machine.apoelstra commentedon Dec 19, 2024
Actually let me double-check on this. It looks like elements 0.21 worked for me with boost 1.81 (and does not work with 1.75).
grubles commentedon Dec 20, 2024
Ok got a backtrace with 23.2.4 but no idea if it's helpful:
delta1 commentedon Dec 20, 2024
what about building with the vendored deps in depends ?
grubles commentedon Dec 20, 2024
Doesn't look like the 22.1.1 depends supports FreeBSD, though it appears support was added more recently.
apoelstra commentedon Dec 20, 2024
re dependencies, I was able to build elements 22.1.1 with clang and
But as I said above, I believe boost 1.81 would've worked fine (and maybe even later versions). miniupnpc 2.2.8 would not have worked. And your compilation error looked like it was related to
db.Not sure what to do about the arch being explicitly unsupported tho.
grubles commentedon Dec 20, 2024
The
dbrelated build error seems to be a separate issue? With both elements-23.2.4 and 22.1.1bench_bitcoinseems to crash at the same point.Here is an lldb backtrace for 22.1.1.
Squashed 'src/secp256k1/' changes from b911b3cbd5..6152622613
grubles commentedon Apr 6, 2025
Maybe related but I also hit this running on ppc64le linux and elements @ 811d835.
Squashed 'src/secp256k1/' changes from 199d27cea3..efe85c70a2
Squashed 'src/secp256k1/' changes from b911b3cbd5..a2b001cc20
Squashed 'src/secp256k1/' changes from b911b3cbd5..a2b001cc20