From: Aurelien Jarno Date: Sat, 29 Jan 2022 14:05:59 +0100 Subject: [PATCH] Makefile: fix build with binutils 2.38 In-Reply-To: References: <20220128173346.1863727-1-aurelien@aurel32.net> Message-ID: List-Id: To: opensbi@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien at aurel32.net http://www.aurel32.net