Skip to content

relocation R_RISCV_CHERIOT_COMPARTMENT_HI out of range #125

@adam-3bian

Description

@adam-3bian

When trying to build the code on https://github.com/adam-3bian/issue125, I get the following error:

error: ld.lld: error: build/cheriot/cheriot/release/entry_point.compartment:(function init(): .text+0x154): relocation R_RISCV_CHERIOT_COMPARTMENT_HI out of range: 9007199254740988 is not in [-524288, 524287]; references 'lowriscLogo105x80'
>>> referenced by __cpp_lcd_st7735.c.c
>>> defined in build/cheriot/cheriot/release/entry_point.compartment

I've included the obj dump:
objdump.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions