From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from helium.openadk.org (helium.openadk.org [89.238.66.15]) by sourceware.org (Postfix) with ESMTPS id 3C7683857803 for ; Wed, 23 Feb 2022 13:48:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3C7683857803 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=openadk.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=openadk.org Received: by helium.openadk.org (Postfix, from userid 1000) id 62B7B31E085A; Wed, 23 Feb 2022 14:48:06 +0100 (CET) Date: Wed, 23 Feb 2022 14:48:06 +0100 From: Waldemar Brodkorb To: Jan Beulich Cc: Waldemar Brodkorb , binutils@sourceware.org, Nick Clifton Subject: Re: GNU Binutils 2.38 has been released Message-ID: References: <87h798182x.fsf@redhat.com> <4116a3b6-4694-d549-1904-873fb46f10ef@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4116a3b6-4694-d549-1904-873fb46f10ef@suse.com> X-Operating-System: Linux 5.10.0-10-amd64 x86_64 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2022 13:48:11 -0000 Hi Jan, Jan Beulich wrote, > On 14.02.2022 11:58, Waldemar Brodkorb wrote: > > I am having problems with following commit > > aed44286efa8ae8717a77d94b51ac3614e2ca6dc. > > > > When trying to build the Linux kernel I get a lot of: > > ./arch/riscv/include/asm/irqflags.h:34: Error: unrecognized opcode > > `csrrc s2,0x100,2' > > ./arch/riscv/include/asm/irqflags.h:52: Error: unrecognized opcode > > `csrs 0x100,s2' > > > > The kernel is compiled with gcc 11.2 and -mabi=lp64 -march=rv64ima. > > Isn't "ima" too little? I don't think that includes CSR accesses, that's > its own extension (Zicsr). Before this commit it was enough to build the Linux kernel. What letter needs to be added to get Zicsr extensions, though? best regards Waldemar