[Bug target/114671] [RISC-V] -fvar-tracking -gas-locview-support -ggdb emits a non-constant .uleb128
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Oct 28 15:56:31 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114671
Jeffrey A. Law <law at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|120763 |
--- Comment #1 from Jeffrey A. Law <law at gcc dot gnu.org> ---
I should have added some comments on why this was moved to SUSPENDED.
Difference of label support requires special relocation support in the
assembler and linker, particularly in the presence of relaxing. While RISC-V
has some support in this space, it's limited.
There is currently no consumer for location views downstream (ie gdb) and thus
adding support for general difference of labels in the assembler/linker isn't
high on anyone's list.
So suspending until such point as location views are useful, at which point
we'll reopen and have to dig into this again, though I suspect it'll largely be
a binutils issue.
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120763
[Bug 120763] [meta-bug] Tracker for bugs to visit during weekly RISC-V meeting
More information about the Gcc-bugs
mailing list