public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Compilation error in ArmVExpress-FVP-AArch64.dsc
@ 2021-09-06  7:59 ishii.shuuichir
  2021-09-07 15:28 ` [edk2-devel] " Sami Mujawar
  0 siblings, 1 reply; 8+ messages in thread
From: ishii.shuuichir @ 2021-09-06  7:59 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 5709 bytes --]

Hi, everyone.

https://developer.arm.com/documentation/102571/0100/Set-up-the-development-environment
https://developer.arm.com/documentation/102571/0100/Build-firmware-on-a-Linux-host

When I followed the above steps to compile the FVP firmware for aarch64,  got the following error.

■Error log
~snip.~
"/path/to/gcc-arm-9.2-2019.12-x86_64-aarch64-none-elf/bin/aarch64-none-elf-gcc" -MMD -MF /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe/OUTPUT/AutoGen.obj.deps   -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common -ffunction-sections -fdata-sections -DSTRING_ARRAY_NAME=SataControllerStrings -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common -mlittle-endian -fno-short-enums -fverbose-asm -funsigned-char -ffunction-sections -fdata-sections -Wno-address -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-pic -fno-pie -ffixed-x18 -mcmodel=small -flto -Wno-unused-but-set-variable -Wno-unused-const-variable -DDISABLE_NEW_DEPRECATED_INTERFACES -DMDEPKG_NDEBUG -DMDEPKG_NDEBUG -c -o /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe/OUTPUT/./AutoGen.obj -I/path/to/tianocore/edk2/MdeModulePkg/Bus/Pci/SataControllerDxe -I/path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe/DEBUG -I/path/to/tianocore/edk2/MdePkg -I/path/to/tianocore/edk2/MdePkg/Include -I/path/to/tianocore/edk2/MdePkg/Test/UnitTest/Include -I/path/to/tianocore/edk2/MdePkg/Include/AArch64 -I/path/to/tianocore/edk2/../edk2-platforms/Platform/ARM/VExpressPkg/Include/Platform/RTSM /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/MdeModulePkg/Bus/Pci/SataControllerDxe/SataControllerDxe/DEBUG/AutoGen.c
cp -f /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/edk2-platforms/Platform/ARM/VExpressPkg/Drivers/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe/OUTPUT/ArmVExpressFastBootDxe.efi /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/edk2-platforms/Platform/ARM/VExpressPkg/Drivers/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe/DEBUG
cp -f /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/ArmPkg/Drivers/ArmGic/ArmGicDxe/OUTPUT/ArmGicDxe.efi /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/ArmGicDxe.efi
cp -f /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe/OUTPUT/PciHostBridgeDxe.efi /path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/PciHostBridgeDxe.efi
make: *** No rule to make target '/path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe/OUTPUT/ConfigurationManagerDxe.map', needed by '/path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/FV/Ffs/29F45677-1920-4454-94A6-CF119C9491DBConfigurationManagerDxe/29F45677-1920-4454-94A6-CF119C9491DB.map'.  Stop.

build.py...
: error 7000: Failed to execute command
make tbuild [/path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/edk2-platforms/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe]

build.py...
: error 7000: Failed to execute command
make tbuild [/path/to/tianocore/edk2/Build/ArmVExpress-FVP-AArch64/RELEASE_GCC5/AARCH64/edk2-platforms/Platform/ARM/VExpressPkg/Drivers/ArmVExpressDxe/ArmFvpDxe]

build.py...
: error F002: Failed to build module
/path/to/tianocore/edk2-platforms/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe/ConfigurationManagerDxe.inf [AARCH64, GCC5, RELEASE]

- Failed -
Build end time: 10:29:41, Sep.06 2021
Build total time: 00:00:25

■compile command log
$  build -a AARCH64 -t GCC5 -p Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc -b RELEASE
Build environment: Linux-4.18.0-305.el8.x86_64-x86_64-with-redhat-8.4-Ootpa
Build start time: 10:29:16, Sep.06 2021

WORKSPACE        = /path/to/tianocore/edk2
PACKAGES_PATH    = /path/to/tianocore/edk2:/path/to/tianocore/edk2-platforms
EDK_TOOLS_PATH   = /path/to/tianocore/edk2/BaseTools
CONF_PATH        = /path/to/tianocore/edk2/Conf
PYTHON_COMMAND   = /usr/bin/python2.7

Architecture(s)  = AARCH64
Build target     = RELEASE

Processing meta-data .Toolchain        = GCC5

Active Platform          = /path/to/tianocore/edk2-platforms/Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc
......... done!
~snip.~

The git sources we are using are as follows.
■edk2 git source
using tag: edk2-stable202105

■edk2-platforms git source
commit 901d3c52ed23f8c341424d46b89d27051043ba07 (HEAD -> master, origin/master, origin/HEAD)
Author: Pete Batard <pete@akeo.ie>
Date:   Wed Sep 1 17:46:10 2021 +0100

Platform/RaspberryPi/RPi4: Add _DSM ACPI method for 32-bit MMIO xHCI access

■acpica git source
using branch: ffceba1df23f8dbbc64a1023314ec179b4f5331e
commit ffceba1df23f8dbbc64a1023314ec179b4f5331e (HEAD -> master, tag: R06_04_21, origin/master, origin/HEAD)
Author: Robert Moore <Robert.Moore@intel.com>
Date:   Fri Jun 4 08:01:07 2021 -0700

Update version to 20210604
Version 20210604.

If anyone knows how to solve this problem, or I'm posting in the wrong place, please let me know.

Best regards,
Shuuichrou Ishii

[-- Attachment #2: Type: text/html, Size: 6921 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-09-09  0:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-06  7:59 Compilation error in ArmVExpress-FVP-AArch64.dsc ishii.shuuichir
2021-09-07 15:28 ` [edk2-devel] " Sami Mujawar
2021-09-07 16:27   ` PierreGondois
2021-09-09  0:05     ` ishii.shuuichir
2021-09-09  0:26     ` ishii.shuuichir
2021-09-08 23:52   ` ishii.shuuichir
2021-09-08 23:56     ` ishii.shuuichir
2021-09-09  0:25   ` ishii.shuuichir

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox