grep -E '[cC]{2}[ "].*' ../edk2.log | grep -Ev " (-E|(-x assembler (-with-cpp)?)) " | grep -v -- "-fdump-tree-bswap" shows that all invocation of cc or gcc for compiling had a -fdump-tree-bswap in it. This confuses me because the only "found at" I could find in the bswap dumps are for:
./Build/Shell/RELEASE_ARMGCC/AARCH64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SwapBytes16.c.090t.bswap:16 bit bswap implementation found at: _7 = _4 | _6; ./Build/ArmVirtualizationQemu-AARCH64/RELEASE_ARMGCC/AARCH64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SwapBytes16.c.090t.bswap:16 bit bswap implementation found at: _7 = _4 | _6; ./Build/Fat/RELEASE_ARMGCC/AARCH64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SwapBytes16.c.090t.bswap:16 bit bswap implementation found at: _7 = _4 | _6; All these conversion are fine and should have triggered with GCC 4.9 as well. Can you add -fdump-tree-bswap to CFLAGS in: BaseTools/Conf/tools_def.template BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile BaseTools/Source/C/VfrCompile/Pccts/antlr/makefile.cygwin BaseTools/Source/C/VfrCompile/Pccts/dlg/makefile BaseTools/Source/C/VfrCompile/Pccts/dlg/makefile.cygwin BaseTools/Source/C/Makefiles/header.makefile and tell me the result of: find -name \*.bswap -exec grep -H "found at" {} \; ? -- 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