Re: [PATCH] riscv: fix build with binutils 2.38

From: Palmer Dabbelt
Date: Fri Apr 01 2022 - 13:55:07 EST


On Fri, 01 Apr 2022 10:14:03 PDT (-0700), Linus Torvalds wrote:
On Thu, Mar 31, 2022 at 11:53 PM Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> wrote:

| WARNING: invalid argument to '-march': 'zicsr_zifencei'

Gaah, it works but still warns because I cut-and-pasted those
zicsr/zifencei options from some random source that had them
capitalized and I didn't look closely enough at the reports.

Anyway, hopefully somebody can bother to fix up that. Possibly by
changing the strncmp to a strnicmp - but I don't know what the rules
for lower-case vs capitals are for the other options. I'm still busy
with the kernel merge window, so this gets archived on my side..

I'm gluing sparse to my build tests now, so I'll sort it out (that'll also make sure a failure doesn't leak again). Might not be today, but shouldn't take too long.