Skip to content

Build error #379

@dbermond

Description

@dbermond

Getting a build error in the git master branch (currently at commit 54701d6):

In file included from /build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/reflection.cpp:21:
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../ConstantsEnums.h:35:22: error: unknown type name 'uint32_t'
    constexpr static uint32_t RAYTRACING_MAX_DECLARABLE_TRACE_RECURSION_DEPTH = 31;
                     ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../ConstantsEnums.h:36:22: error: unknown type name 'uint32_t'
    constexpr static uint32_t RAYTRACING_MAX_ATTRIBUTE_SIZE_IN_BYTES = 32;
                     ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../ConstantsEnums.h:37:22: error: unknown type name 'uint32_t'
    constexpr static uint32_t RAYTRACING_SHADER_RECORD_BYTE_ALIGNMENT = 32;
                     ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../ConstantsEnums.h:38:22: error: unknown type name 'uint32_t'
    constexpr static uint32_t RAYTRACING_SHADER_TABLE_BYTE_ALIGNMENT = 64;
                     ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../ConstantsEnums.h:40:22: error: unknown type name 'uint32_t'
    constexpr static uint32_t SHADER_IDENTIFIER_SIZE_IN_BYTES = 32;
                     ^
In file included from /build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/reflection.cpp:22:
In file included from /build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../RTStackFormat.h:17:
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:97:3: error: unknown type name 'uint64_t'
  uint64_t GetRayStackBufferAddress() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:98:3: error: unknown type name 'uint64_t'
  uint64_t GetCallStackHandlerPtr() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:99:3: error: unknown type name 'uint32_t'
  uint32_t GetStackSizePerRay() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:100:3: error: unknown type name 'uint32_t'
  uint32_t GetNumDSSRTStacks() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:101:3: error: unknown type name 'uint32_t'
  uint32_t GetMaxBVHLevels() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:102:3: error: unknown type name 'uint64_t'
  uint64_t GetHitGroupTable() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:103:3: error: unknown type name 'uint64_t'
  uint64_t GetMissShaderTable() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:104:3: error: unknown type name 'uint64_t'
  uint64_t GetCallableShaderTable() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:105:3: error: unknown type name 'uint32_t'
  uint32_t GetHitGroupStride() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:106:3: error: unknown type name 'uint32_t'
  uint32_t GetMissStride() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:107:3: error: unknown type name 'uint32_t'
  uint32_t GetCallableStride() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:108:3: error: unknown type name 'uint32_t'
  uint32_t GetDispatchWidth() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:109:3: error: unknown type name 'uint32_t'
  uint32_t GetDispatchHeight() const;
  ^
/build/intel-graphics-compiler-git/src/intel-graphics-compiler/IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/../API/RayDispatchGlobalData.h:110:3: error: unknown type name 'uint32_t'
  uint32_t GetDispatchDepth() const;
  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[IGC\BiFModuleCache] - Buidling from source start
[IGC\BiFModule] - Generating opencl_cth.h
20 errors generated.
make[2]: *** [IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/CMakeFiles/RTStackReflectionIRBG.dir/build.make:94: IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/reflection.bc] Error 1
make[1]: *** [CMakeFiles/Makefile2:50597: IGC/AdaptorCommon/RayTracing/RTStackReflectionIRBG/CMakeFiles/RTStackReflectionIRBG.dir/all] Error 2

Versions and 2.20.3 and 2.22.2 builds fine (by patching out -Werror from IGC and also adding the GCC 15 fix to LLVM 16.0.6 sources), but the current git master have this error.

System Information:

  • OS: Arch Linux (rolling release)
  • CMake: 4.2.0
  • Compiler: GCC 15.2.1
  • glibc: 2.42

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions