<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unable to build swrAVX@sha/rasterizer_core_threads.cpp"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105510">105510</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Unable to build swrAVX@sha/rasterizer_core_threads.cpp
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/swr
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>clayton.a.craft@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I have bisected this failure to the following commit:

commit de0d10db93d85de79c7b4451c4851ace2976f8f4
Author: Apple SWE <<a href="mailto:jeremyhu@apple.com">jeremyhu@apple.com</a>>
Date:   Tue Mar 13 18:24:26 2018 -0700

    Add processor topology calculation implementation for Darwin/OSX targets.


Full output from build failure:

23:00:35 FAILED:
src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_threads.cpp.o 
23:00:35 ccache g++  -Isrc/gallium/drivers/swr/swrAVX@sha
-Isrc/gallium/drivers/swr -I../src/gallium/drivers/swr
-Isrc/gallium/drivers/swr/rasterizer -I../src/gallium/drivers/swr/rasterizer
-I../src/gallium/drivers/swr/rasterizer/archrast
-Isrc/gallium/drivers/swr/rasterizer/jitter
-I../src/gallium/drivers/swr/rasterizer/jitter
-Isrc/gallium/drivers/swr/rasterizer/core
-I../src/gallium/drivers/swr/rasterizer/core
-Isrc/gallium/drivers/swr/rasterizer/codegen
-I../src/gallium/drivers/swr/rasterizer/codegen
-Isrc/gallium/drivers/swr/rasterizer/core/backends -I/usr/lib/llvm-4.0/include
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wnon-virtual-dtor -std=c++11 -O2 -g '-DVERSION="18.1.0-devel"'
-DPACKAGE_VERSION=VERSION
'-DPACKAGE_BUGREPORT="<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa">https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa</a>"'
-DGLX_USE_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO -DHAVE_X11_PLATFORM
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM
-DHAVE_DRM_PLATFORM -DHAVE_SURFACELESS_PLATFORM -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_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_VISIBILITY -DHAVE_FUNC_ATTRIBUTE_ALIAS
-DHAVE_FUNC_ATTRIBUTE_NORETURN -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS
-DUSE_X86_64_ASM -DMAJOR_IN_SYSMACROS -DHAVE_SYS_SYSCTL_H -DHAVE_LINUX_FUTEX_H
-DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_POSIX_MEMALIGN -DHAVE_TIMESPEC_GET
-DHAVE_MEMFD_CREATE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR
-DHAVE_LIBDRM -DHAVE_ZLIB -DHAVE_PTHREAD -DHAVE_LLVM=0x0400
-DMESA_LLVM_VERSION_PATCH=1 -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED
-DHAVE_DRI3 -Wall -fno-math-errno -fno-trapping-math -Wno-non-virtual-dtor
-fPIC -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -pthread -fvisibility=hidden -fno-strict-aliasing -mavx
-DKNOB_ARCH=KNOB_ARCH_AVX -MD -MQ
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_threads.cpp.o' -MF
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_threads.cpp.o.d' -o
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_threads.cpp.o' -c
../src/gallium/drivers/swr/rasterizer/core/threads.cpp
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:268:18: error:
‘sysctlbyname’ was not declared in this scope
23:00:35      int result = sysctlbyname("hw.packages", &value, &size, NULL, 0);
23:00:35                   ^~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:268:18: note:
suggested alternative: ‘ttyname’
23:00:35      int result = sysctlbyname("hw.packages", &value, &size, NULL, 0);
23:00:35                   ^~~~~~~~~~~~
23:00:35                   ttyname
23:00:35 In file included from
../src/gallium/drivers/swr/rasterizer/common/os.h:267:0,
23:00:35                  from
../src/gallium/drivers/swr/rasterizer/core/threads.cpp:44:
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:65:26:
error: expected unqualified-id before ‘do’
23:00:35  #define _SWR_MACRO_START do {
23:00:35                           ^
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:131:5: note:
in expansion of macro ‘_SWR_MACRO_START’
23:00:35      _SWR_MACRO_START \
23:00:35      ^~~~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:151:41:
note: in expansion of macro ‘_SWR_ASSERT’
23:00:35  #define SWR_ASSERT(e, ...)              _SWR_ASSERT(true, e,
##__VA_ARGS__)
23:00:35                                          ^~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:269:5: note: in
expansion of macro ‘SWR_ASSERT’
23:00:35      SWR_ASSERT(result == 0);
23:00:35      ^~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:68:7: error:
expected unqualified-id before ‘while’
23:00:35      } while(0)          \
23:00:35        ^
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:138:5: note:
in expansion of macro ‘_SWR_MACRO_END’
23:00:35      _SWR_MACRO_END
23:00:35      ^~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:151:41:
note: in expansion of macro ‘_SWR_ASSERT’
23:00:35  #define SWR_ASSERT(e, ...)              _SWR_ASSERT(true, e,
##__VA_ARGS__)
23:00:35                                          ^~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:269:5: note: in
expansion of macro ‘SWR_ASSERT’
23:00:35      SWR_ASSERT(result == 0);
23:00:35      ^~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:270:5: error:
‘numPhysicalIds’ does not name a type
23:00:35      numPhysicalIds = value;
23:00:35      ^~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:272:5: error:
‘result’ does not name a type
23:00:35      result = sysctlbyname("hw.logicalcpu", &value, &size, NULL, 0);
23:00:35      ^~~~~~
23:00:35 In file included from
../src/gallium/drivers/swr/rasterizer/common/os.h:267:0,
23:00:35                  from
../src/gallium/drivers/swr/rasterizer/core/threads.cpp:44:
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:65:26:
error: expected unqualified-id before ‘do’
23:00:35  #define _SWR_MACRO_START do {
23:00:35                           ^
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:131:5: note:
in expansion of macro ‘_SWR_MACRO_START’
23:00:35      _SWR_MACRO_START \
23:00:35      ^~~~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:151:41:
note: in expansion of macro ‘_SWR_ASSERT’
23:00:35  #define SWR_ASSERT(e, ...)              _SWR_ASSERT(true, e,
##__VA_ARGS__)
23:00:35                                          ^~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:273:5: note: in
expansion of macro ‘SWR_ASSERT’
23:00:35      SWR_ASSERT(result == 0);
23:00:35      ^~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:68:7: error:
expected unqualified-id before ‘while’
23:00:35      } while(0)          \
23:00:35        ^
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:138:5: note:
in expansion of macro ‘_SWR_MACRO_END’
23:00:35      _SWR_MACRO_END
23:00:35      ^~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:151:41:
note: in expansion of macro ‘_SWR_ASSERT’
23:00:35  #define SWR_ASSERT(e, ...)              _SWR_ASSERT(true, e,
##__VA_ARGS__)
23:00:35                                          ^~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:273:5: note: in
expansion of macro ‘SWR_ASSERT’
23:00:35      SWR_ASSERT(result == 0);
23:00:35      ^~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:274:5: error:
‘numProcessors’ does not name a type
23:00:35      numProcessors = value;
23:00:35      ^~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:276:5: error:
‘result’ does not name a type
23:00:35      result = sysctlbyname("hw.physicalcpu", &value, &size, NULL, 0);
23:00:35      ^~~~~~
23:00:35 In file included from
../src/gallium/drivers/swr/rasterizer/common/os.h:267:0,
23:00:35                  from
../src/gallium/drivers/swr/rasterizer/core/threads.cpp:44:
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:65:26:
error: expected unqualified-id before ‘do’
23:00:35  #define _SWR_MACRO_START do {
23:00:35                           ^
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:131:5: note:
in expansion of macro ‘_SWR_MACRO_START’
23:00:35      _SWR_MACRO_START \
23:00:35      ^~~~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:151:41:
note: in expansion of macro ‘_SWR_ASSERT’
23:00:35  #define SWR_ASSERT(e, ...)              _SWR_ASSERT(true, e,
##__VA_ARGS__)
23:00:35                                          ^~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:277:5: note: in
expansion of macro ‘SWR_ASSERT’
23:00:35      SWR_ASSERT(result == 0);
23:00:35      ^~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:68:7: error:
expected unqualified-id before ‘while’
23:00:35      } while(0)          \
23:00:35        ^
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:138:5: note:
in expansion of macro ‘_SWR_MACRO_END’
23:00:35      _SWR_MACRO_END
23:00:35      ^~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/common/swr_assert.h:151:41:
note: in expansion of macro ‘_SWR_ASSERT’
23:00:35  #define SWR_ASSERT(e, ...)              _SWR_ASSERT(true, e,
##__VA_ARGS__)
23:00:35                                          ^~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:277:5: note: in
expansion of macro ‘SWR_ASSERT’
23:00:35      SWR_ASSERT(result == 0);
23:00:35      ^~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:278:5: error:
‘numCores’ does not name a type
23:00:35      numCores = value;
23:00:35      ^~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:280:5: error:
‘out_nodes’ does not name a type
23:00:35      out_nodes.resize(numPhysicalIds);
23:00:35      ^~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:282:5: error:
expected unqualified-id before ‘for’
23:00:35      for (auto physId = 0; physId < numPhysicalIds; ++physId)
23:00:35      ^~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:282:27: error:
‘physId’ does not name a type
23:00:35      for (auto physId = 0; physId < numPhysicalIds; ++physId)
23:00:35                            ^~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:282:52: error:
expected unqualified-id before ‘++’ token
23:00:35      for (auto physId = 0; physId < numPhysicalIds; ++physId)
23:00:35                                                     ^~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:301:5: error:
‘out_numThreadsPerProcGroup’ does not name a type
23:00:35      out_numThreadsPerProcGroup = 0;
23:00:35      ^~~~~~~~~~~~~~~~~~~~~~~~~~
23:00:35 ../src/gallium/drivers/swr/rasterizer/core/threads.cpp:303:5: error:
expected unqualified-id before ‘for’
23:00:35      for (auto &node : out_nodes)
23:00:35      ^~~
23:00:36 [1861/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_memory_StoreTile.cpp.o'.
23:00:38 [1862/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_binner.cpp.o'.
23:00:39 [1863/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_pa_avx.cpp.o'.
23:00:39 [1864/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_BackendPixelRate2.cpp.o'.
23:00:39 [1865/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_clip.cpp.o'.
23:00:39 [1866/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_BackendPixelRate0.cpp.o'.
23:00:39 [1867/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_BackendPixelRate3.cpp.o'.
23:00:40 [1868/2766] Compiling C++ object
'src/glx/tests/glx-test@exe/indirect_api.cpp.o'.
23:00:40 [1869/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_BackendPixelRate1.cpp.o'.
23:00:41 [1870/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_memory_ClearTile.cpp.o'.
23:00:41 [1871/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_backend_singlesample.cpp.o'.
23:00:42 [1872/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_frontend.cpp.o'.
23:00:50 [1873/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_rasterizer0.cpp.o'.
23:00:51 [1874/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_rasterizer2.cpp.o'.
23:00:51 [1875/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_rasterizer1.cpp.o'.
23:00:53 [1876/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/meson-generated_.._rasterizer_core_backends_gen_rasterizer3.cpp.o'.
23:01:04 [1877/2766] Compiling C++ object
'src/gallium/drivers/swr/swrAVX@sha/rasterizer_core_backend_sample.cpp.o'.
23:01:04 ninja: build stopped: subcommand failed.
23:01:04 ERROR: command failed
23:01:04 ERROR: creating a failing test: mesa-meson-buildtest : Command
'['ninja', '-j', '18', '-C',</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>