Skip to content

clang-12: Unsupported relocation type: R_386_PLT32  #1210

@arndb

Description

@arndb

The latest clang-12 fails to build some 32-bit x86 kernels:

Unsupported relocation type: R_386_PLT32 (4)
make[5]: *** [/git/arm-soc/arch/x86/boot/compressed/Makefile:120: arch/x86/boot/compressed/vmlinux.relocs] Error 1

This was no problem with a slightly older clang-12 snapshot, or with the latest clang-11.

Metadata

Metadata

Assignees

Labels

[ARCH] x86This bug impacts ARCH=i386[BUG] linuxA bug that should be fixed in the mainline kernel.[FIXED][LINUX] 5.12This bug was fixed in Linux 5.12

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions