Skip to content

warning messages in kvmtool: ELF binary /usr/bin/lkvm has relocations in .text [textrel] #2

@nylon7

Description

@nylon7

When we use this layer on FUSDK .

We will encounter a warning message about the QA issue.

We found that the default toolchain in FUSDK always enables PIE for GCC (--enable-default-pie), so -pie is enabled, and Scrt1.o is used instead crt1.o. This leads to the TEXTREL runtime relocation.

If we want we fix this QA issue we can add "-fPIC"

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