Skip to content

llvm-objcopy: error: unknown argument '--change-section-address' #871

Closed
@nathanchance

Description

@nathanchance

After #779 was resolved for x86_64, I get the following error on 5.6-rc1 with CONFIG_DEBUG_INFO_BTF:

llvm-objcopy: error: unknown argument '--change-section-address'
llvm-objcopy: error: '.btf.vmlinux.bin': No such file or directory
Failed to generate BTF for vmlinux
Try to disable CONFIG_DEBUG_INFO_BTF

This was added in df786c9. Without that commit, the build finishes successfully.

cc @rupprecht

Metadata

Metadata

Assignees

No one assigned

    Labels

    Reported upstreamThis bug was filed on LLVM’s issue tracker, Phabricator, or the kernel mailing list.[BUG] llvmA bug that should be fixed in upstream LLVM[FIXED][LINUX] 5.7This bug was fixed in Linux 5.7[TOOL] llvm-objcopyThe issue is relevant to LLVM objcopy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions