Skip to content

Commit 2cab37a

Browse files
committed
fix(valgrind): install libc6-dbg during valgrind setup
GitHub runners do not ship libc debug symbols by default, which leads to unresolved symbols in exec CLI simulation benchmarks. Install libc6-dbg via apt on supported systems after installing valgrind. Fixes COD-2770
1 parent 9793aaf commit 2cab37a

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/executor/valgrind/setup.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,13 @@ pub async fn install_valgrind(
199199
Ok(vec!["valgrind".to_string()])
200200
},
201201
)
202-
.await
202+
.await?;
203+
204+
// Install libc debug symbols, as Github runners by default do not
205+
// include them. Only install for supported systems.
206+
apt::install(system_info, &["libc6-dbg"])?;
207+
208+
Ok(())
203209
}
204210

205211
#[cfg(test)]

0 commit comments

Comments
 (0)