summary refs log tree commit diff stats
path: root/results/classifier/deepseek-r1:32b/output/syscall/2309
blob: 41394ee534f605d396eb7d8cadea97d8dafcba57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
qemu-aarch64 hangs running cargo test after libc6 upgrade to 2.36-9+deb12u6
Description of problem:
qemu-aarch64 seems to hang with 100% cpu usage without any indication.
with -p 12345 for gdb debugging, gdb could not interrupt the remote with ctrl-c.
Steps to reproduce:
1. Ensure the test env has 2.36-9+deb12u6
2. Install the latest rust toolchain.
3. mkdir test_test && cargo init
4. ensure src/main.rs has
```
fn main() {
    println!("Hello, world!");
}

#[test]
fn test() {
    println!("hAAA!");
}
```
5. create .cargo/config.toml 
```
[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
runner = "qemu-aarch64 -L /usr/aarch64-linux-gnu"
rustflags = ["-C", "target-cpu=neoverse-n1"]
```
6. cargo test --target aarch64-unknown-linux-gnu
Additional information:
The issue does not seem to occur with libc6:2.36-9+deb12u4

The same binary runs fine on a real arm64 target with the upgraded libc6 version 2.36-9+deb12u6.