https://bugs.gentoo.org/937525 https://bugs.gentoo.org/937164 https://github.com/llvm/llvm-project/pull/101766 From 5b69d0cf697f0d78406a5a7ed18eaa4f57a0580a Mon Sep 17 00:00:00 2001 From: Sam James Date: Fri, 2 Aug 2024 23:38:55 +0100 Subject: [PATCH] [AMDGPU] Include `` in AMDGPUMCTargetDesc createAMDGPUELFObjectWriter uses `uint8_t` without including `` which fails to build w/ GCC 15 after a change in libstdc++ [0]. [0] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84a74e3076ee2 --- src/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h b/src/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h index 3ef00f75735b0d..879dbe1b279b18 100644 --- a/src/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h +++ b/src/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h @@ -15,6 +15,7 @@ #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUMCTARGETDESC_H +#include #include namespace llvm {