From: "Oliver Steffen" <osteffen@redhat.com>
To: devel@edk2.groups.io
Cc: abner.chang@hpe.com
Subject: gcc 12, RiscV64 fence.i instruction missing
Date: Thu, 2 Jun 2022 15:50:34 +0200 [thread overview]
Message-ID: <20220602135034.xdauyepsbbjrpu3k@osteffen-laptop> (raw)
Hi,
has anyone tied building EDK2 (e.g. MdePkg) for RiscV64 with gcc 12?
I get:
/edk2/Build/Mde/DEBUG_GCC5/RISCV64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/RiscV64/FlushCache.iiii:16: Error: unrecognized opcode `fence.i'
I found this gcc bug:
Bug 104853 - [RISC-V] -march=rv64g not including extension Zifencei
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104853
I was working on getting gcc 12 into the CI.
Thanks,
Oliver
next reply other threads:[~2022-06-02 13:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-02 13:50 Oliver Steffen [this message]
2022-06-02 14:34 ` [edk2-devel] gcc 12, RiscV64 fence.i instruction missing Daniel Schaefer
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=20220602135034.xdauyepsbbjrpu3k@osteffen-laptop \
--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