Skip to content

AMDGPU general protection fault with LTO #1374

@aruhier

Description

@aruhier

Hello,
I'm using linux-xanmod 5.12, and tried clang with thinlto. It boots but when the amdgpu driver loads, I get a general protection fault. Same with full LTO. However it runs fine without LTO.

Xanmod is using a multigen LRU, but disabling it gives the same error (so I can try with a vanilla kernel, but I don't think that's the issue here).

Logs: 5.12.3-2.log
Config: kernel-config-5.12.3-x86_64.txt

CPU: Ryzen 5950x
GPU: AMD 6800xt
LLVM: 12
Distribution: Gentoo, using genkernel 4.2.1.

Metadata

Metadata

Assignees

Labels

[ARCH] x86_64This bug impacts ARCH=x86_64[BUG] linuxA bug that should be fixed in the mainline kernel.[FEATURE] LTORelated to building the kernel with LLVM Link Time Optimization[FIXED][LINUX] 5.13This bug was fixed in Linux 5.13

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions