Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,082
    • Issues 3,082
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 998
    • Merge requests 998
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • MesaMesa
  • mesamesa
  • Issues
  • #6825
Closed
Open
Issue created Jul 08, 2022 by t bettler@tbettlerContributor

debug build compilation failed: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee

similar to #4353 (closed)

debug build fails with

FAILED: src/compiler/nir/libnir.a.p/nir_opt_move.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/compiler/nir/libnir.a.p -Isrc/compiler/nir -I../mesa-22.1.3/src/compiler/nir -Iinclude -I../mesa-22.1.3/include -Isrc -I../mesa-22.1.3/src -Isrc/mapi -I../mesa-22.1.3/src/mapi -Isrc/mesa -I../mesa-22.1.3/src/mesa -I../mesa-22.1.3/src/gallium/include -Isrc/gallium/auxiliary -I../mesa-22.1.3/src/gallium/auxiliary -Isrc/compiler -I../mesa-22.1.3/src/compiler -Isrc/compiler/spirv -I../mesa-22.1.3/src/compiler/spirv -fvisibility=hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O0 -g -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="22.1.3"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DHAVE_R300 -DHAVE_R600 -DHAVE_RADEONSI -DHAVE_SWRAST -DHAVE_ZINK -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_XCB_PLATFORM -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_VA_SURFACE_ATTRIB_DRM_FORMAT_MODIFIERS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DDEBUG -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -DHAVE_UINT128 -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_SYS_SHM_H -DHAVE_CET_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DHAVE_LIBUDEV -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="14.0.4"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DUSE_LIBGLVND=1 -DMESA_EXECMEM -DWL_HIDE_DEPRECATED -DHAVE_OPENMP -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DVK_USE_PLATFORM_WAYLAND_KHR -DVK_USE_PLATFORM_XCB_KHR -DVK_USE_PLATFORM_XLIB_KHR -DVK_USE_PLATFORM_XLIB_XRANDR_EXT -DVK_USE_PLATFORM_DISPLAY_KHR -mtls-dialect=gnu2 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -ffunction-sections -fdata-sections -O1 -fPIC -Werror=pointer-arith -Wno-override-init '-DDYNAMIC_LIBCLC_PATH="/usr/share/clc/"' -MD -MQ src/compiler/nir/libnir.a.p/nir_opt_move.c.o -MF src/compiler/nir/libnir.a.p/nir_opt_move.c.o.d -o src/compiler/nir/libnir.a.p/nir_opt_move.c.o -c ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h: In function ‘nir_opt_move’:
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:47:9: note: called from here
   47 |    if (!cb(src, state))
      |         ^~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:50:14: note: called from here
   50 |       return cb(src->reg.indirect, state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:65:14: note: called from here
   65 |       return state->cb(dest->reg.indirect, state->state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:65:14: note: called from here
   65 |       return state->cb(dest->reg.indirect, state->state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:65:14: note: called from here
   65 |       return state->cb(dest->reg.indirect, state->state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:65:14: note: called from here
   65 |       return state->cb(dest->reg.indirect, state->state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:65:14: note: called from here
   65 |       return state->cb(dest->reg.indirect, state->state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:55:1: error: inlining failed in call to ‘always_inline’ ‘src_is_ssa’: indirect function call with a yet undetermined callee
   55 | src_is_ssa(nir_src *src, void *state)
      | ^~~~~~~~~~
In file included from ../mesa-22.1.3/src/compiler/nir/nir.h:5566,
                 from ../mesa-22.1.3/src/compiler/nir/nir_opt_move.c:25:
../mesa-22.1.3/src/compiler/nir/nir_inline_helpers.h:65:14: note: called from here
   65 |       return state->cb(dest->reg.indirect, state->state);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking