public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* gcc 12, RiscV64 fence.i instruction missing
@ 2022-06-02 13:50 Oliver Steffen
  2022-06-02 14:34 ` [edk2-devel] " Daniel Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Steffen @ 2022-06-02 13:50 UTC (permalink / raw)
  To: devel; +Cc: abner.chang

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


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

* Re: [edk2-devel] gcc 12, RiscV64 fence.i instruction missing
  2022-06-02 13:50 gcc 12, RiscV64 fence.i instruction missing Oliver Steffen
@ 2022-06-02 14:34 ` Daniel Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Schaefer @ 2022-06-02 14:34 UTC (permalink / raw)
  To: devel@edk2.groups.io, osteffen@redhat.com
  Cc: Chang, Abner (HPS SW/FW Technologist)

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

Hi Steffen,

No, I don't think we've tried GCC12 yet.
Hm, I don't quite understand the bug report but it sounds like something that'll be fixed by GCC?

Thanks,
Daniel
________________________________
From: devel@edk2.groups.io <devel@edk2.groups.io> on behalf of Oliver Steffen <osteffen@redhat.com>
Sent: Thursday, June 2, 2022 21:50
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: Chang, Abner (HPS SW/FW Technologist) <abner.chang@hpe.com>
Subject: [edk2-devel] gcc 12, RiscV64 fence.i instruction missing

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







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

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

end of thread, other threads:[~2022-06-02 14:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-02 13:50 gcc 12, RiscV64 fence.i instruction missing Oliver Steffen
2022-06-02 14:34 ` [edk2-devel] " Daniel Schaefer

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