lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230823-captive-abdomen-befd942a4a73@wendy>
Date:   Wed, 23 Aug 2023 12:51:13 +0100
From:   Conor Dooley <conor.dooley@...rochip.com>
To:     <patchwork-bot+linux-riscv@...nel.org>
CC:     Mingzheng Xing <xingmingzheng@...as.ac.cn>,
        <linux-riscv@...ts.infradead.org>, <conor@...nel.org>,
        <paul.walmsley@...ive.com>, <palmer@...belt.com>,
        <aou@...s.berkeley.edu>, <nathan@...nel.org>,
        <ndesaulniers@...gle.com>, <trix@...hat.com>, <bmeng@...ylab.org>,
        <guoren@...nel.org>, <linux-kernel@...r.kernel.org>,
        <llvm@...ts.linux.dev>, <stable@...r.kernel.org>
Subject: Re: [PATCH v5] riscv: Handle zicsr/zifencei issue between gcc and
 binutils

On Thu, Aug 17, 2023 at 03:20:24PM +0000, patchwork-bot+linux-riscv@...nel.org wrote:
> Hello:
> 
> This patch was applied to riscv/linux.git (fixes)
> by Palmer Dabbelt <palmer@...osinc.com>:
> 
> On Thu, 10 Aug 2023 00:56:48 +0800 you wrote:
> > Binutils-2.38 and GCC-12.1.0 bumped[0][1] the default ISA spec to the newer
> > 20191213 version which moves some instructions from the I extension to the
> > Zicsr and Zifencei extensions. So if one of the binutils and GCC exceeds
> > that version, we should explicitly specifying Zicsr and Zifencei via -march
> > to cope with the new changes. but this only occurs when binutils >= 2.36
> > and GCC >= 11.1.0. It's a different story when binutils < 2.36.
> > 
> > [...]
> 
> Here is the summary with links:
>   - [v5] riscv: Handle zicsr/zifencei issue between gcc and binutils
>     https://git.kernel.org/riscv/c/ca09f772ccca

*sigh* so this breaks the build for gcc-11 & binutils 2.37 w/
	Assembler messages:
	Error: cannot find default versions of the ISA extension `zicsr'
	Error: cannot find default versions of the ISA extension `zifencei'

I'll have a poke later.

Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ