Public bug reported: When I rebuild edk2_0~20150106.5c2d456b-1build1 in wily or sid, KVM- accelerated arm64 VMs hang before displaying any console output. I bisected this down to a change in gcc (see below).
Note that this does not impact fully emulated instances. That is, if I drop '-enable-kvm' and change '-cpu host' to '-cpu cortex-a57', it boots fine. Here's the gcc changeset that introduced the issue: >From 470d5bb5a2aba04db8d9d9dce0c5a3d5efe85882 Mon Sep 17 00:00:00 2001 From: thopre01 <thopre01@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri, 23 May 2014 03:33:28 +0000 Subject: [PATCH] 2014-05-23 Thomas Preud'homme <thomas.preudho...@arm.com> PR tree-optimization/54733 gcc/ * tree-ssa-math-opts.c (nop_stats): New "bswap_stats" structure. (CMPNOP): Define. (find_bswap_or_nop_load): New. (find_bswap_1): Renamed to ... (find_bswap_or_nop_1): This. Also add support for memory source. (find_bswap): Renamed to ... (find_bswap_or_nop): This. Also add support for memory source and detection of bitwise operations equivalent to load in host endianness. (execute_optimize_bswap): Likewise. Also move its leading comment back in place and split statement transformation into ... (bswap_replace): This. gcc/testsuite * gcc.dg/optimize-bswapdi-3.c: New test to check extension of bswap optimization to support memory sources and bitwise operations equivalent to load in host endianness. * gcc.dg/optimize-bswaphi-1.c: Likewise. * gcc.dg/optimize-bswapsi-2.c: Likewise. * gcc.c-torture/execute/bswap-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210843 138bc75d-0d04-0410-961f-82ee72b054a4 ** Affects: edk2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1489560 Title: qemu-efi: hangs in kvm mode when built w/ gcc-5 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1489560/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs