Skip to content

missing symbol for section .text, .init.text, .ref.text #669

@tpimh

Description

@tpimh

I'm trying to compile x86_64 kernel using AS=clang (integrated-as in being used). A lot of warnings like these are produced:

warning: objtool: missing symbol for section .text
warning: objtool: missing symbol for section .init.text
warning: objtool: missing symbol for section .ref.text

The kernel compiles successfully, but doesn't boot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [ARCH] x86_64This bug impacts ARCH=x86_64[BUG] llvmA bug that should be fixed in upstream LLVM[FIXED][LINUX] 5.7This bug was fixed in Linux 5.7[TOOL] integrated-asThe issue is relevant to LLVM integrated assembler[TOOL] objtoolwarning is produced by the kernel's objtool

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions