From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by mx.groups.io with SMTP id smtpd.web10.22310.1683735790756603310 for ; Wed, 10 May 2023 09:23:10 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm1 header.b=CgV5y73t; spf=pass (domain: bsdio.com, ip: 64.147.123.24, mailfrom: rebecca@bsdio.com) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 207753200201; Wed, 10 May 2023 12:23:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 10 May 2023 12:23:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm1; t=1683735787; x=1683822187; bh=FO GnjNx/3WWxDVCRtZBqZr7TMMzf2RKzTMlBha/sNL4=; b=CgV5y73tVUHreA7mAL L/ZZQBbTBeZ6MzDyO/L1zeQrvRXu8qmCmbwb3tiwP+n5kYcxuC9afGCyczc8Dtk9 kffbZdNnjcLNjfrxR8c6tIcpc614Pu+65wCkOeRphxAl/v70PLMR6Slt0oRb5yGG a5o+fQs7KRJt0VfJ0m5aAsHts6n6sUw36w3puWIfEH2tj2ihGd7OQruGCv0RDIGA QDh+WaDDwp0jQ1gVLugwwmFF6JBl2mqLEfdzTGAkRpsCiZgpzKkXqCPmMmjWflC8 whIgdttb3gv4OCawoebOu/9geHB+j2gmvdy89kKA1dzoK8u+6PLUUg1AceVUpnVl dF6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1683735787; x=1683822187; bh=FOGnjNx/3WWxD VCRtZBqZr7TMMzf2RKzTMlBha/sNL4=; b=fqLIqEaFZD8fCzD+B55c1cw6pxp1R ug7S2gz5etxiGpNigajdUzRyt+kDUZL4O3M8j3uI3/VmpSaONVvagNXu0TOI6XYU Xnk9MpqsD2mWAun2DdfNtRXCU3MLTtQcJ6Ip5Z5az/TI4l5z9kf7adz87PEu5TwX Cj/wfFXG98QCjGA9u4f4HO52NytyhW4kYsfk44+Hin0sNxI2SjnVMcp0+FiI3W36 n7oA5kIJs7/K0+vWnnyuWeKXVdg2Feu8M2AIk0Tjcl7KSPU1jepYftcXxQVV8Ls8 FoJ2HnTRAbEHU1CF++SDBQj8GV7zuSxX/ddtEZTSk/GxzfrXXsUSOpWyw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeegiedgjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfvffhufgtgfesthejredttdefjeenucfhrhhomheptfgvsggvtggt rgcuvehrrghnuceorhgvsggvtggtrgessghsughiohdrtghomheqnecuggftrfgrthhtvg hrnhepudffjeeutdfhueeiveekjeevgfegtdeiteeugeeggfffieehgfetffehkeehheev necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsg gvtggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 10 May 2023 12:23:06 -0400 (EDT) Message-ID: <45c61530-3cf4-f1bf-4ff1-b7bf242dbddb@bsdio.com> Date: Wed, 10 May 2023 10:23:05 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 To: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , "devel@edk2.groups.io" From: "Rebecca Cran" Subject: JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'" Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I ran my script that tries to build all Arm platforms in edk2-platforms (with the exception of known broken ones) with the GCC5/GCC toolchain, and noticed a new breakage since I last ran it a few months ago. Building JunoPkg for ARM doesn't work. I also noticed it passes both -march=armv7-a and -march=armv8-a. "arm-none-eabi-gcc" -march=armv7-a -mfloat-abi=soft -march=armv8-a -c -x assembler -imacros AutoGen.h -mlittle-endian -o /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf/OUTPUT/Arm/Pivot.obj -I/home/bcran/src/uefi/edk2-platforms/Platform/ARM/Library/ArmShellCmdRunAxf/Arm -I/home/bcran/src/uefi/edk2-platforms/Platform/ARM/Library/ArmShellCmdRunAxf -I/home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf/DEBUG -I/home/bcran/src/uefi/edk2/ArmPkg -I/home/bcran/src/uefi/edk2/ArmPkg/Include -I/home/bcran/src/uefi/edk2/MdeModulePkg -I/home/bcran/src/uefi/edk2/MdeModulePkg/Test/Mock/Include -I/home/bcran/src/uefi/edk2/MdeModulePkg/Include -I/home/bcran/src/uefi/edk2/MdePkg -I/home/bcran/src/uefi/edk2/MdePkg/Include -I/home/bcran/src/uefi/edk2/MdePkg/Test/UnitTest/Include -I/home/bcran/src/uefi/edk2/MdePkg/Test/Mock/Include -I/home/bcran/src/uefi/edk2/MdePkg/Include/Arm -I/home/bcran/src/uefi/edk2-platforms/Platform/ARM -I/home/bcran/src/uefi/edk2-platforms/Platform/ARM/Include -I/home/bcran/src/uefi/edk2/ShellPkg -I/home/bcran/src/uefi/edk2/ShellPkg/Include /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf/OUTPUT/Arm/Pivot.iiii Trim --trim-long --source-code -o /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe/OUTPUT/Arm/CopyMem.iiii /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe/OUTPUT/Arm/CopyMem.ii Trim --trim-long --source-code -o /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib/OUTPUT/Arm/ctzsi2.iiii /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib/OUTPUT/Arm/ctzsi2.ii /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf/OUTPUT/Arm/Pivot.iiii: Assembler messages: /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf/OUTPUT/Arm/Pivot.iiii:17: Error: bad instruction `aarch64_bti(c)' make: *** [GNUmakefile:363: /home/bcran/src/uefi/Build/ArmJuno/RELEASE_GCC5/ARM/Platform/ARM/Library/ArmShellCmdRunAxf/ArmShellCmdRunAxf/OUTPUT/Arm/Pivot.obj] Error 1 -- Rebecca Cran