[Bug 4045] New: PCD VPD errors passed on rebuild


bugzilla-daemon@...
 

https://bugzilla.tianocore.org/show_bug.cgi?id=4045

Bug ID: 4045
Summary: PCD VPD errors passed on rebuild
Product: EDK2
Version: Current
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Lowest
Component: Code
Assignee: unassigned@...
Reporter: aladyshev22@...
CC: edk2+bugs+int+994+563148131503455288@groups.io

Currently PCD VPD errors are passed on rebuild.


Example:

Create 2 PCDs that are overlapped in VPD:
```
[PcdsDynamicVpd]
gMyPkgTokenSpaceGuid.PcdDynamicInt32|7|0x44444444

[PcdsDynamicExVpd]
gMyPkgTokenSpaceGuid.PcdDynamicExInt32|8|0x55555555
```

This will cause build failure:
```
BPDG.py...
: error 5001: The offset of gMyPkgTokenSpaceGuid.PcdDynamicInt32 at line: 19
is overlapped with gMyPkgTokenSpaceGuid.PcdDynamicExInt32 at line: 18 in file
/.../edk2/Build/OvmfX64/RELEASE_GCC5/FV/8C3D856A-9BE6-468E-850A-24F7A8D38E08.txt
```

But if you try to build again, the build would pass successfully.

--
You are receiving this mail because:
You are on the CC list for the bug.