[PATCH] Makefile: fix build with binutils 2.38

Xiang W wxjstz at 126.com
Sat Jan 29 07:42:06 PST 2022


在 2022-01-29星期六的 14:05 +0100,Aurelien Jarno写道:
> On 2022-01-29 20:52, Xiang W wrote:
> > 在 2022-01-28星期五的 18:33 +0100,Aurelien Jarno写道:
> > > From version 2.38, binutils default to ISA spec version 20191213.
> > > This
> > > means that the csr read/write (csrr*/csrw*) instructions and
> > > fence.i
> > > instruction has separated from the `I` extension, become two
> > > standalone
> > > extensions: Zicsr and Zifencei. As the kernel uses those
> > > instruction,
> > > this causes the following build failure:
> > The latest version of GNU binutils is 2.37. 2.38 should not be
> > released
> > yet, are there any new patch references for these changes?
> > 
> 
> Correct, however there is already a 2.38 branch and the release should
> happen in the next weeks.
> 
> The default ISA spec change is due to this commit:
> https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=aed44286efa8ae8717a77d94b51ac3614e2ca6dc
> 
thanks a lot.





More information about the opensbi mailing list