Skip to content

ld.lld: warning: ... is being placed in '.data..decrypted' #1360

@nickdesaulniers

Description

@nickdesaulniers
$ curl -L https://groups.google.com/group/clang-built-linux/attach/97ec78aff51fb/.config.gz\?part\=0.1 | gunzip > .config
$ make LLVM=1 LLVM_IAS=1 -j72 olddefconfig
$ make LLVM=1 LLVM_IAS=1 -j72 -s
...
ld.lld: warning: arch/x86/built-in.a(kernel/cpu/vmware.o):(.data..decrypted) is being placed in '.data..decrypted'
ld.lld: warning: arch/x86/built-in.a(kernel/kvm.o):(.data..decrypted) is being placed in '.data..decrypted'
ld.lld: warning: arch/x86/built-in.a(kernel/cpu/vmware.o):(.data..decrypted) is being placed in '.data..decrypted'
ld.lld: warning: arch/x86/built-in.a(kernel/kvm.o):(.data..decrypted) is being placed in '.data..decrypted'
ld.lld: warning: arch/x86/built-in.a(kernel/cpu/vmware.o):(.data..decrypted) is being placed in '.data..decrypted'
ld.lld: warning: arch/x86/built-in.a(kernel/kvm.o):(.data..decrypted) is being placed in '.data..decrypted'

looks like some orphan sections we need to place explicitly via linker script.

Metadata

Metadata

Assignees

Labels

Orphan sectionAn linker orphan section warning[ARCH] x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.[FIXED][LINUX] 5.13This bug was fixed in Linux 5.13[TOOL] lldThe issue is relevant to LLD linker

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions