From: 汪流 <wangliu@iscas.ac.cn>
To: devel@edk2.groups.io
Subject: [edk2-devel] Can RELEASE target disable -Werror CC_FLAG?
Date: Thu, 10 Aug 2023 18:44:14 +0800 (GMT+08:00) [thread overview]
Message-ID: <6070b08a.ddbe.189df0c0736.Coremail.wangliu@iscas.ac.cn> (raw)
[-- Attachment #1: Type: text/plain, Size: 1158 bytes --]
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 RELEASE -a RISCV64 -p OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc -D SECURE_BOOT_ENABLE=TRUE -D TPM_ENABLE=TRUE -D TPM_CONFIG_ENABLE=TRUE
This is my packet log:
https://build.tarsier-infra.com/package/live_build_log/home:ouuleilei:branches:home:ouuleilei:branches:openEuler:Mainline/edk2-test/openEuler_Mainline_standard_riscv64_gcc/riscv64
https://build.tarsier-infra.com/build/home:ouuleilei:branches:home:ouuleilei:branches:openEuler:Mainline/openEuler_Mainline_standard_riscv64_gcc/riscv64/edk2-test/_log
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#107691): https://edk2.groups.io/g/devel/message/107691
Mute This Topic: https://groups.io/mt/100663199/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 1798 bytes --]
next reply other threads:[~2023-08-10 13:34 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 10:44 汪流 [this message]
2023-08-10 13:50 ` [edk2-devel] Can RELEASE target disable -Werror CC_FLAG? Andrew Fish via groups.io
2023-08-16 7:46 ` 汪流
2023-08-16 17:02 ` Michael D Kinney
2023-08-16 17:41 ` Andrew Fish via groups.io
2023-08-16 17:50 ` Michael D Kinney
2023-08-17 6:30 ` 汪流
2023-08-17 11:45 ` Andrew Fish via groups.io
2023-08-17 20:00 ` Michael D Kinney
2023-08-17 20:17 ` Pedro Falcato
2023-08-17 20:50 ` Michael D Kinney
2023-08-21 7:04 ` 汪流
[not found] ` <177D54194984ABD0.15959@groups.io>
2023-08-25 10:25 ` 汪流
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6070b08a.ddbe.189df0c0736.Coremail.wangliu@iscas.ac.cn \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox