Denys Vlasenko | 6acf586 | 2012-03-18 23:27:23 +0100 | [diff] [blame] | 1 | How to test strace build using Aboriginal Linux's system images. |
| 2 | |
| 3 | * Put a autoconf'ed strace source tree into hdc.dir/strace dir. |
| 4 | For example, this should work: |
| 5 | git clone git://strace.git.sourceforge.net/gitroot/strace/strace && |
Dmitry V. Levin | 3e69bdf | 2014-04-25 22:52:06 +0000 | [diff] [blame] | 6 | cd strace && ./bootstrap |
Denys Vlasenko | 6acf586 | 2012-03-18 23:27:23 +0100 | [diff] [blame] | 7 | |
| 8 | * Run ./make-hdc-img.sh: it will generate ext2 image file, |
| 9 | hdc.img, from hdc.dir/* data. This requires root for loop mount. |
| 10 | |
| 11 | * Download and unpack, or build from source and unpack |
| 12 | one or more system-image-ARCH directories into this directory |
| 13 | (the one which contains this README). |
| 14 | |
| 15 | * Run: ./parallel-build-hdc-img.sh system-image-DIR1 system-image-DIR2... |
| 16 | (background it if you don't want to see "Waiting to finish" thing). |
| 17 | This runs a strace build in several qemu virtual machines in parallel. |
| 18 | |
| 19 | * Observe system-image-*.log file(s) with growing log of strace build. |
| 20 | |
| 21 | There is no automated detection of errors for now: you need to examine |
| 22 | logs yourself. |
| 23 | |
Dmitry V. Levin | 868a666 | 2015-01-15 17:01:32 +0000 | [diff] [blame] | 24 | For me, the following system images worked (tests passed/skipped/failed): |
Dmitry V. Levin | 07d70f0 | 2015-03-05 19:36:52 +0000 | [diff] [blame] | 25 | system-image-armv4l - 14/14/1 (failed: stat32-v.test - wrong stat decoding, sun_path.test - libc error) |
Dmitry V. Levin | 868a666 | 2015-01-15 17:01:32 +0000 | [diff] [blame] | 26 | system-image-armv4tl - 15/14/0 |
| 27 | system-image-armv5l - 15/14/0 |
| 28 | system-image-armv6l - 15/14/0 |
| 29 | system-image-i486 - 14/14/1 (failed: count.test - grep segfault) |
| 30 | system-image-i586 - 14/14/1 (failed: count.test - grep segfault) |
| 31 | system-image-i686 - 14/14/1 (failed: count.test - grep segfault) |
| 32 | system-image-mips - 15/14/0 |
| 33 | system-image-mipsel - 15/14/0 |
Dmitry V. Levin | 07d70f0 | 2015-03-05 19:36:52 +0000 | [diff] [blame] | 34 | system-image-powerpc - 13/14/2 (failed: ipc_sem.test - ipc_sem segfault) |
| 35 | system-image-sparc - 13/14/2 (failed: ipc_sem.test - ipc_sem segfault) |
Dmitry V. Levin | 868a666 | 2015-01-15 17:01:32 +0000 | [diff] [blame] | 36 | system-image-x86_64 - 14/15/0 |
Denys Vlasenko | 6acf586 | 2012-03-18 23:27:23 +0100 | [diff] [blame] | 37 | |
| 38 | And these did not: |
Dmitry V. Levin | 868a666 | 2015-01-15 17:01:32 +0000 | [diff] [blame] | 39 | system-image-m68k - qemu-system-m68k: -M q800: Unsupported machine type |
| 40 | system-image-mips64 - init dies before reaching /mnt/init |
Denys Vlasenko | 6acf586 | 2012-03-18 23:27:23 +0100 | [diff] [blame] | 41 | system-image-sh4 - hdc does not mount (no support for 2 disks) |