On Tue, Sep 1, 2015 at 1:56 AM, Thomas Preud'homme <thomas.preudho...@arm.com> wrote: > 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" {} \; > ?
dannf@mustang:~/edk2-0~20150106.5c2d456b$ gcc --version gcc (Ubuntu 5.2.1-15ubuntu2) 4.10.0 20140523 (experimental) Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. dannf@mustang:~/edk2-0~20150106.5c2d456b$ find -name \*.bswap -exec grep -H "found at" {} \; ./Build/ArmVirtualizationQemu-AARCH64/RELEASE_GCC49/AARCH64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SwapBytes16.c.091t.bswap:16 bit bswap implementation found at: _7 = _4 | _6; ./Build/Shell/RELEASE_GCC49/AARCH64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SwapBytes16.c.091t.bswap:16 bit bswap implementation found at: _7 = _4 | _6; ./Build/Fat/RELEASE_GCC49/AARCH64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/SwapBytes16.c.091t.bswap:16 bit bswap implementation found at: _7 = _4 | _6; -- 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