Re: [edk2-devel] Can RELEASE target disable -Werror CC_FLAG?

2023-08-25 Thread
Is there an update on the status of the PR? Is there any additional information or feedback needed before it can be merged? This is the PR: https://github.com/tianocore/edk2/pull/4734 -原始郵件- 發件人:"汪流" 發送時間:2023-08-21 15:04:54 (星期一) 收件人: "Andrew (EFI) Fish" 抄送:

Re: [edk2-devel] Can RELEASE target disable -Werror CC_FLAG?

2023-08-21 Thread
星期四) 收件人: devel@edk2.groups.io, wang...@iscas.ac.cn 抄送: "Kinney, Michael D" 主題: Re: [edk2-devel] Can RELEASE target disable -Werror CC_FLAG? Can you add -Wno-maybe-uninitialized to compiler flags to work around the error? On Aug 16, 2023, at 11:31 PM, 汪流 wrote: This is the failed bui

[edk2-devel] [PATCH] BaseTools/Conf/tools_def.template: Fix uninitialized variable error

2023-08-20 Thread
GCC5_RISCV_ALL_CC_FLAGS_WARNING_DISABLE add -Wno-maybe-uninitialized to fix build error. Signed-off-by: wangliu-iscas --- BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template

Re: [edk2-devel] Can RELEASE target disable -Werror CC_FLAG?

2023-08-16 Thread
for power on before. If your compiler supports LTO you are not required to set MDEPKG_NDEBUG on RELEASE builds, and you can used a PCD to configure your debug level, per build type. Maybe we should just have the error checks in all paths? Thanks, Andrew Fish On Aug

Re: [edk2-devel] Can RELEASE target disable -Werror CC_FLAG?

2023-08-16 Thread
required to set MDEPKG_NDEBUG on RELEASE builds, and you can used a PCD to configure your debug level, per build type. Maybe we should just have the error checks in all paths? Thanks, Andrew Fish On Aug 10, 2023, at 6:44 AM, 汪流 wrote: I want to build a rpm package for edk2-stable20230

[edk2-devel] Can RELEASE target disable -Werror CC_FLAG?

2023-08-10 Thread
I want to build a rpm package for edk2-stable202305 on riscv64, however I get some uninitialized variable error, I have found that the reason is -Werror flag. My build target was release. I think the flag should used in the debug ,not in release. My build command: build -t GCC5 -n $NCPUS -b RELE