Reviewed-by: Nate DeSimone <[email protected]>

> -----Original Message-----
> From: Duggapu, Chinni B <[email protected]>
> Sent: Monday, April 22, 2024 9:03 PM
> To: [email protected]
> Cc: Chiu, Chasel <[email protected]>; Desimone, Nathaniel L
> <[email protected]>; Duggapu, Chinni B
> <[email protected]>; S, Ashraf Ali <[email protected]>; Kuo,
> Ted <[email protected]>
> Subject: [PATCH] IntelFsp2Pkg/PatchFv.py: FIX for GCC 32BIT build error
> 
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4762
> 
> Map file generating 8 byte address offset is not matched with the pattern
> defined in patchFv tool resulting build error.
> 
> Cc: Chasel Chiu <[email protected]>
> Cc: Nate DeSimone <[email protected]>
> Cc: Duggapu Chinni B <[email protected]>
> Cc: Ashraf Ali S <[email protected]>
> Cc: Ted Kuo <[email protected]>
> 
> Signed-off-by: Duggapu Chinni B <[email protected]>
> ---
>  IntelFsp2Pkg/Tools/PatchFv.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/IntelFsp2Pkg/Tools/PatchFv.py b/IntelFsp2Pkg/Tools/PatchFv.py
> index bd9aa71e3c..d35aa1dc9f 100644
> --- a/IntelFsp2Pkg/Tools/PatchFv.py
> +++ b/IntelFsp2Pkg/Tools/PatchFv.py
> @@ -432,7 +432,7 @@ class Symbols:
>          if reportLine.strip().find("Archive member included") != -1:
>              #GCC
>              #                0x0000000000001d55                IoRead8
> -            patchMapFileMatchString = 
> r"\s+(0x[0-9a-fA-F]{16})\s+([^\s][^0x][_a-zA-Z0-9\-]+)\s"
> +            patchMapFileMatchString = 
> r"\s+(0x[0-9a-fA-F]{8,16})\s+([^\s][^0x][_a-zA-Z0-9\-]+)\s"
>              matchKeyGroupIndex = 2
>              matchSymbolGroupIndex  = 1
>              prefix = '_'
> -- 
> 2.44.0.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#118547): https://edk2.groups.io/g/devel/message/118547
Mute This Topic: https://groups.io/mt/105684430/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to