[Bug]: Build parsing non target architecture PcdsFeatureFlag configuration #10605
Labels
package:armvirtpkg
priority:medium
Moderate impact. Should be prioritized over lower priority issues.
type:bug
Something isn't working
Is there an existing issue for this?
Bug Type
Code first?
What packages are impacted?
ArmVirtPkg
Which targets are impacted by this bug?
No response
Current Behavior
Edk2 build parsing the non-target architecture pcds in dsc file .
what i did :
inside the ArmVirtQemu.dsc file
Build command :
build -p ArmVirtPkg/ArmVirtQemu.dsc -b DEBUG -a AARCH64 -t GCC5
Error log :
Expected Behavior
AARCH64 build should not parse the IA32 configuration
Steps To Reproduce
Environment :
Source :
1 . Code copied using git : https://github.com/tianocore/edk2.git
[PcdsFeatureFlag.IA32] !error ERROR parsing IA32
4 . ran
$ . edksetup.sh $ make -C BaseTools $ export GCC5_AARCH64_PREFIX=aarch64-linux-gnu- $ build -p ArmVirtPkg/ArmVirtQemu.dsc -b DEBUG -a AARCH64 -t GCC5
Error Log :
`Build environment: Linux-5.15.0-127-generic-x86_64-with-glibc2.29
Build start time: 15:00:06, Jan.10 2025
WORKSPACE = /home/ubuntu/Desktop/Anandh/testing/Edk2_test/edk2
EDK_TOOLS_PATH = /home/ubuntu/Desktop/Anandh/testing/Edk2_test/edk2/BaseTools
CONF_PATH = /home/ubuntu/Desktop/Anandh/testing/Edk2_test/edk2/Conf
PYTHON_COMMAND = python3
build.py...
/home/ubuntu/Desktop/Anandh/testing/Edk2_test/edk2/ArmVirtPkg/ArmVirtQemu.dsc(59): error FFFD: ERROR parsing IA32
Build end time: 15:00:06, Jan.10 2025
Build total time: 00:00:00`
Build Environment
Version Information
Urgency
Medium
Are you going to fix this?
Someone else needs to fix it
Do you need maintainer feedback?
No maintainer feedback needed
Anything else?
No response
The text was updated successfully, but these errors were encountered: