public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Rebecca Cran" <rebecca@bsdio.com>
To: Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Thomas Abraham <thomas.abraham@arm.com>,
	Sami Mujawar <sami.mujawar@arm.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'"
Date: Wed, 10 May 2023 10:23:05 -0600	[thread overview]
Message-ID: <45c61530-3cf4-f1bf-4ff1-b7bf242dbddb@bsdio.com> (raw)

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


             reply	other threads:[~2023-05-10 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 16:23 Rebecca Cran [this message]
2023-05-10 16:27 ` JunoPkg ARM build breakage: "Error: bad instruction `aarch64_bti(c)'" Ard Biesheuvel
2023-05-10 16:52   ` Rebecca Cran
2023-05-10 16:54     ` Ard Biesheuvel
2023-05-10 17:06       ` Leif Lindholm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45c61530-3cf4-f1bf-4ff1-b7bf242dbddb@bsdio.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox