Hello all, I am hitting this strange issue when executing the UEFI firmware for QEMU mach-virt/AArch64. This only occurs when building the firmware with GCC5 in RELEASE mode, but the failure mode suggests that this may not be relevant.
Running a aarch64-softmmu QEMU built from today's master, I get $ qemu-system-aarch64 -M virt -nographic -cpu cortex-a53 -bios QEMU_EFI.fd add-symbol-file /home/ard/build/edk2/Build/ArmVirtQemu-AARCH64/RELEASE_GCC5/AARCH64/ArmPlatformPkg/PrePeiCore/PrePeiCoreUniCore/DEBUG/ArmPlatformPrePeiCore.dll 0x1800 add-symbol-file /home/ard/build/edk2/Build/ArmVirtQemu-AARCH64/RELEASE_GCC5/AARCH64/MdeModulePkg/Core/Pei/PeiMain/DEBUG/PeiCore.dll 0x7980 Register PPI Notify: DCD0BE23-9586-40F4-B643-06522CED4EDE Install PPI: 8C8CE578-8A3D-4F1C-9935-896185C32DD3 Install PPI: 5473C07A-3DCB-4DCA-BD6F-1E9689E7349A The 0th FV start address is 0x00000001000, size is 0x001FF000, handle is 0x1000 Register PPI Notify: 49EDB1C1-BF21-4761-BB12-EB0031AABB39 Register PPI Notify: EA7CA24B-DED5-4DAD-A389-BF827E8F9B38 Install PPI: B9E0ABFE-5979-4914-977F-6DEE78C278A6 Install PPI: DBE23AA9-A345-4B97-85B6-B226F1617389 add-symbol-file /home/ard/build/edk2/Build/ArmVirtQemu-AARCH64/RELEASE_GCC5/AARCH64/MdeModulePkg/Universal/PCD/Pei/Pcd/DEBUG/PcdPeim.dll 0x16B80 Loading PEIM at 0x00000016AA0 EntryPoint=0x0000001789C PcdPeim.efi Install PPI: 06E81C58-4AD7-44BC-8390-F10265F72480 Install PPI: 01F34D25-4DE2-23AD-3FF3-36353FF323F1 Install PPI: 4D8B155B-C059-4C8F-8926-06FD4331DB8A Install PPI: A60C6B59-E459-425D-9C69-0BCC9CB27D81 Bad ram pointer 0x54 Aborted (core dumped) UEFI build is here http://people.linaro.org/~ard.biesheuvel/QEMU_EFI.fd.xz Thanks, Ard.