Landing: 4bdedfd9bdf9

Project / Subsystem

gcc / risc-v

Date

2026-08-24

Author

Kito Cheng

Commit

4bdedfd9bdf9a6c79ecee844459a7f284b33baf6

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
risc-v
patch_id
—
commit_hash
4bdedfd9bdf9a6c79ecee844459a7f284b33baf6
source_type
github
headline
RISC-V: Fix build error in driver-riscv.cc
tldr
Corrects a build issue in RISC-V driver code by using the updated hardware probe extension name.
author
Kito Cheng
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • risc-v
  • • build
  • • bugfix
discussion_id_link
—
bugzilla_pr
—
date
2026-08-24T00:00:00.000Z

A recent cleanup in the RISC-V configuration code inadvertently removed the RISCV_HWPROBE_IMA_V macro. However, its usage persisted in driver-riscv.cc within the riscv_arch_from_hwprobe function. This commit resolves the build failure by changing the function to use the correct, remaining macro name, RISCV_HWPROBE_EXT_V.