public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Sami Mujawar" <sami.mujawar@arm.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"ishii.shuuichir@fujitsu.com" <ishii.shuuichir@fujitsu.com>
Cc: Sunny Wang <Sunny.Wang@arm.com>, nd <nd@arm.com>
Subject: Re: [edk2-devel] Compilation error in ArmVExpress-FVP-AArch64.dsc
Date: Tue, 7 Sep 2021 15:28:56 +0000	[thread overview]
Message-ID: <0A3929FD-C70B-4155-A3F1-9B0FA2495396@arm.com> (raw)
In-Reply-To: <6LCx.1630915180542377517.ID2l@groups.io>

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

Hi Shuuichir,

Apparently, a recent patch for Basetools has introduced a regression with Python 2.7 builds (see https://edk2.groups.io/g/devel/topic/edk2_devel/85426586).
Can you try using Python 3.7 instead, please?

Please let me know if switching to Python 3.7 does not fix this issue for you.

Regards,

Sami Mujawar

From: <devel@edk2.groups.io> on behalf of "ishii.shuuichir via groups.io" <ishii.shuuichir=fujitsu.com@groups.io>
Reply to: "devel@edk2.groups.io" <devel@edk2.groups.io>, "ishii.shuuichir@fujitsu.com" <ishii.shuuichir@fujitsu.com>
Date: Tuesday, 7 September 2021 at 16:15
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: [edk2-devel] Compilation error in ArmVExpress-FVP-AArch64.dsc

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: 13943 bytes --]

  reply	other threads:[~2021-09-07 15:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06  7:59 Compilation error in ArmVExpress-FVP-AArch64.dsc ishii.shuuichir
2021-09-07 15:28 ` Sami Mujawar [this message]
2021-09-07 16:27   ` [edk2-devel] " 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

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=0A3929FD-C70B-4155-A3F1-9B0FA2495396@arm.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