Skip to content

clang strange error when compiling for CHERI #13

@josephKaberuka365

Description

@josephKaberuka365

export CC=~/cheri/output/morello-sdk/bin/clang
export CFLAGS="--config cheribsd-morello-purecap.cfg"

When trying cross-compilation with $CC $CFLAGS PrintCapabilityValue.c

Cross-compilation failed and can't generate a.out executable file

clang-13: error: configuration file 'cheribsd-morello-purecap-cfg.cfg' cannot be found
clang-13: was searched for in the directory: /home/joseph/cheri/output/morello-sdk/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions