public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error
@ 2022-12-01 12:41 Nickle Wang
  2022-12-01 15:30 ` [edk2-devel] " Michael D Kinney
  0 siblings, 1 reply; 5+ messages in thread
From: Nickle Wang @ 2022-12-01 12:41 UTC (permalink / raw)
  To: devel; +Cc: Jian J Wang, Liming Gao, Michael D Kinney, Nick Ramirez

Fix GCC build error on AARCH64 system.

Signed-off-by: Nickle Wang <nicklew@nvidia.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Nick Ramirez <nramirez@nvidia.com>
---
 .../Universal/RegularExpressionDxe/OnigurumaUefiPort.h     | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h
index 3dc207da3e..248109b0c9 100644
--- a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h
+++ b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h
@@ -4,6 +4,7 @@
 
   (C) Copyright 2014-2021 Hewlett Packard Enterprise Development LP<BR>
   Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
+  Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
 
   SPDX-License-Identifier: BSD-2-Clause-Patent
 **/
@@ -36,11 +37,9 @@ typedef INTN    intptr_t;
 #define offsetof  OFFSET_OF
 #endif
 
-#ifdef MDE_CPU_IA32
+#if defined (MDE_CPU_IA32) || defined (MDE_CPU_ARM) || defined (MDE_CPU_EBC)
 #define SIZEOF_VOIDP  4
-#endif
-
-#ifdef MDE_CPU_X64
+#else
 #define SIZEOF_VOIDP  8
 #endif
 
-- 
2.38.1.windows.1


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

* Re: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error
  2022-12-01 12:41 [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error Nickle Wang
@ 2022-12-01 15:30 ` Michael D Kinney
  2023-04-13  4:44   ` Nickle Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Michael D Kinney @ 2022-12-01 15:30 UTC (permalink / raw)
  To: devel@edk2.groups.io, nicklew@nvidia.com, Kinney, Michael D
  Cc: Wang, Jian J, Gao, Liming, Nick Ramirez

Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Nickle Wang via groups.io
> Sent: Thursday, December 1, 2022 4:42 AM
> To: devel@edk2.groups.io
> Cc: Wang, Jian J <jian.j.wang@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Kinney, Michael D
> <michael.d.kinney@intel.com>; Nick Ramirez <nramirez@nvidia.com>
> Subject: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error
> 
> Fix GCC build error on AARCH64 system.
> 
> Signed-off-by: Nickle Wang <nicklew@nvidia.com>
> Cc: Jian J Wang <jian.j.wang@intel.com>
> Cc: Liming Gao <gaoliming@byosoft.com.cn>
> Cc: Michael D Kinney <michael.d.kinney@intel.com>
> Cc: Nick Ramirez <nramirez@nvidia.com>
> ---
>  .../Universal/RegularExpressionDxe/OnigurumaUefiPort.h     | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h
> b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h
> index 3dc207da3e..248109b0c9 100644
> --- a/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h
> +++ b/MdeModulePkg/Universal/RegularExpressionDxe/OnigurumaUefiPort.h
> @@ -4,6 +4,7 @@
> 
>    (C) Copyright 2014-2021 Hewlett Packard Enterprise Development LP<BR>
>    Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
> +  Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
> 
>    SPDX-License-Identifier: BSD-2-Clause-Patent
>  **/
> @@ -36,11 +37,9 @@ typedef INTN    intptr_t;
>  #define offsetof  OFFSET_OF
>  #endif
> 
> -#ifdef MDE_CPU_IA32
> +#if defined (MDE_CPU_IA32) || defined (MDE_CPU_ARM) || defined (MDE_CPU_EBC)
>  #define SIZEOF_VOIDP  4
> -#endif
> -
> -#ifdef MDE_CPU_X64
> +#else
>  #define SIZEOF_VOIDP  8
>  #endif
> 
> --
> 2.38.1.windows.1
> 
> 
> 
> 
> 


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

* Re: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error
  2022-12-01 15:30 ` [edk2-devel] " Michael D Kinney
@ 2023-04-13  4:44   ` Nickle Wang
  2023-04-13 18:23     ` Michael D Kinney
  0 siblings, 1 reply; 5+ messages in thread
From: Nickle Wang @ 2023-04-13  4:44 UTC (permalink / raw)
  To: Michael D Kinney, devel

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

Hi Mike,

It looks like this fix is not merged. Could you please help to merge this fix? There is CI build error which is related to this.

Thanks,
Nickle

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

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

* Re: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error
  2023-04-13  4:44   ` Nickle Wang
@ 2023-04-13 18:23     ` Michael D Kinney
  2023-04-13 23:21       ` Nickle Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Michael D Kinney @ 2023-04-13 18:23 UTC (permalink / raw)
  To: devel@edk2.groups.io, nicklew@nvidia.com; +Cc: Kinney, Michael D

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

Merged

PR: https://github.com/tianocore/edk2/pull/4270

Commit: https://github.com/tianocore/edk2/commit/55b67b6950e648338adfe8ec54aeb26ed89d2c97

Mike

From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Nickle Wang via groups.io
Sent: Wednesday, April 12, 2023 9:44 PM
To: Kinney, Michael D <michael.d.kinney@intel.com>; devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error

Hi Mike,


It looks like this fix is not merged. Could you please help to merge this fix? There is CI build error which is related to this.

Thanks,
Nickle


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

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

* Re: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error
  2023-04-13 18:23     ` Michael D Kinney
@ 2023-04-13 23:21       ` Nickle Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Nickle Wang @ 2023-04-13 23:21 UTC (permalink / raw)
  To: Kinney, Michael D, devel@edk2.groups.io

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

Hi Mike,

Thanks for your help!

Regards,
Nickle

From: Kinney, Michael D <michael.d.kinney@intel.com>
Sent: Friday, April 14, 2023 2:23 AM
To: devel@edk2.groups.io; Nickle Wang <nicklew@nvidia.com>
Cc: Kinney, Michael D <michael.d.kinney@intel.com>
Subject: RE: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error

External email: Use caution opening links or attachments

Merged

PR: https://github.com/tianocore/edk2/pull/4270

Commit: https://github.com/tianocore/edk2/commit/55b67b6950e648338adfe8ec54aeb26ed89d2c97

Mike

From: devel@edk2.groups.io<mailto:devel@edk2.groups.io> <devel@edk2.groups.io<mailto:devel@edk2.groups.io>> On Behalf Of Nickle Wang via groups.io
Sent: Wednesday, April 12, 2023 9:44 PM
To: Kinney, Michael D <michael.d.kinney@intel.com<mailto:michael.d.kinney@intel.com>>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Subject: Re: [edk2-devel] [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error

Hi Mike,


It looks like this fix is not merged. Could you please help to merge this fix? There is CI build error which is related to this.

Thanks,
Nickle


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

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

end of thread, other threads:[~2023-04-13 23:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01 12:41 [PATCH V3] MdeModulePkg/RegularExpressionDxe: Fix GCC build error Nickle Wang
2022-12-01 15:30 ` [edk2-devel] " Michael D Kinney
2023-04-13  4:44   ` Nickle Wang
2023-04-13 18:23     ` Michael D Kinney
2023-04-13 23:21       ` Nickle Wang

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