diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 297a6384302..f5417617766 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,6 +6,39 @@ on: pull_request: jobs: + build_aarch64_softmmu_debug_linux: + runs-on: ubuntu-20.04 + container: + image: ubuntu:focal + steps: + - name: Install build dependencies + run: | + export DEBIAN_FRONTEND=noninteractive + apt-get update + apt-get install -y git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build build-essential + + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Build qemu + run: | + mkdir build + cd build + ../configure --enable-debug --target-list=aarch64-softmmu --disable-capstone --disable-slirp + make -j$(nproc) + + - name: Install qemu + run: | + cd build + make DESTDIR=$GITHUB_WORKSPACE/bin/ install + + - name: Publish binaries + uses: actions/upload-artifact@v2 + with: + name: aarch64_softmmu_linux_debug + path: ${{ github.workspace }}/bin/ + build_aarch64_softmmu_linux: runs-on: ubuntu-20.04 container: diff --git a/target/arm/helper.c b/target/arm/helper.c index 968d5b09c59..9c78d5fa8e0 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -13269,7 +13269,7 @@ static inline void assert_hflags_rebuild_correctly(CPUARMState *env) uint64_t env_flags_rebuilt = rebuild_hflags_internal(env); if (unlikely(env_flags_current != env_flags_rebuilt)) { - fprintf(stderr, "TCG hflags mismatch (current:0x%16llx rebuilt:0x%16llx)\n", + fprintf(stderr, "TCG hflags mismatch (current:0x" TARGET_FMT_plx " rebuilt:0x" TARGET_FMT_plx ")\n", env_flags_current, env_flags_rebuilt); abort(); }