Skip to content

Upgrade vendored dependencies#582

Merged
pgoodman merged 6 commits into
mainfrom
fix/vendor-upgrades
Apr 15, 2026
Merged

Upgrade vendored dependencies#582
pgoodman merged 6 commits into
mainfrom
fix/vendor-upgrades

Conversation

@pgoodman

@pgoodman pgoodman commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade RocksDB 9.6.1 → 11.0.4 and enable -DPORTABLE=ON
  • Upgrade Cap'n Proto 1.1.0 → 1.4.0
  • Upgrade zstd 1.5.6 → 1.5.7
  • Upgrade abseil 20250127.0 → 20260107.1
  • Upgrade glog 0.6.0+62 → 0.7.1
  • Upgrade gflags 2.2.2+47 → 2.3.0
  • Upgrade re2 2024-07-02 → 2025-11-05
  • Upgrade reproc 14.2.5 → 14.2.7
  • Upgrade concurrentqueue 1.0.4 → 1.0.5

The PORTABLE flag disables CPU-specific optimizations in RocksDB, which may help with a SIGILL observed on Linux in HistogramBucketMapper.

Test plan

  • Build on Linux
  • Build on macOS
  • Run indexer on a test project
  • Run interpreter tests

🤖 Generated with Claude Code

pgoodman and others added 4 commits April 15, 2026 10:24
The SIGILL crash in HistogramBucketMapper on Linux was caused by
RocksDB auto-detecting and using SSE4.2/AVX instructions at build
time. When the binary runs on a CPU without those features, it
crashes with SIGILL. Adding -DPORTABLE=ON disables CPU-specific
optimizations.

Also upgrades from 9.6.1 to 11.0.4. The API surface used by
multiplier (DB::Open, Get, Put, Options) is stable across versions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Minor patch release with bug fixes and compression improvements.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Three major versions of improvements. Generated headers will be
regenerated by capnp_generate_cpp at build time.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
abseil:         20250127.0 → 20260107.1
glog:           0.6.0+62   → 0.7.1
gflags:         2.2.2+47   → 2.3.0
re2:            2024-07-02  → 2025-11-05
reproc:         14.2.5      → 14.2.7
concurrentqueue: 1.0.4      → 1.0.5

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pgoodman pgoodman changed the title Upgrade vendored dependencies, fix RocksDB SIGILL Upgrade vendored dependencies Apr 15, 2026
pgoodman and others added 2 commits April 15, 2026 10:37
RocksDB 11.x changed DB::Open's third parameter from DB** to
unique_ptr<DB>*. Update IdStore to match.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add missing <unistd.h> include in Main.cpp (getpid/read no longer
  transitively included after glog 0.7.1 upgrade)
- Remove const from IdStoreImpl::rocks_db to allow make_shared
  construction with unique_ptr move

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pgoodman pgoodman merged commit 6ed2e1e into main Apr 15, 2026
2 checks passed
@pgoodman pgoodman deleted the fix/vendor-upgrades branch April 15, 2026 16:14
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.

2 participants