NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/54571: external/mit/xorg/lib/dri: brw_fs_combine_contants.pico fails with clang+llvm base



>Number:         54571
>Category:       xsrc
>Synopsis:       external/mit/xorg/lib/dri: brw_fs_combine_contants.pico fails with clang+llvm base
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 25 13:25:01 +0000 2019
>Originator:     ng0
>Release:        current
>Organization:
>Environment:
NetBSD uptimegirl 9.99.11 NetBSD 9.99.11 (GENERIC) amd64

>Description:
dependall ===> external/mit/xorg/lib/dri                                                                                                                                              [65/1978]
#   compile  dri/brw_fs_combine_constants.pico                                                                                                                                                
/usr/src/../tools/bin/x86_64--netbsd-clang++ -frandom-seed=e679b9f7 -O2 -fvisibility=hidden -fno-strict-aliasing -fno-builtin-memcmp -Werror -Wno-error=initializer-overrides -Wno-error=switch
 -Wno-error=tautological-constant-out-of-range-compare -Wno-error=enum-conversion -fPIE -fno-strict-aliasing -Wno-error=stack-protector -fno-rtti   --sysroot=/usr/src/../obj/destdir.amd64 -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/egl/main  -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri  -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/mesa/drivers/dri/common  -I/usr/src/../obj/destdir.amd64/usr/X11R7/include/libdrm  -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/util -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/mesa -I/usr/src/
../xsrc/external/mit/MesaLib/dist/include -I/usr/src/../xsrc/external/mit/MesaLib/dist/src -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/mesa -I/usr/src/../xsrc/external/mit/MesaLib/dist/s
rc/mapi -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/gallium/include -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/mapi/glapi -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/mes
a -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/mesa/main -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common -DPACKAGE_NAME=\"Mesa\"  -DPACKAGE_TARNAME=\"mesa\"  -
DPACKAGE_VERSION=\"19.1.17\"  -DPACKAGE_STRING=\"Mesa\ 19.1.17\"  -DVERSION=\"19.1.17\"  -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\";  -DPACKAGE_URL=\"\"
-DPACKAGE=\"mesa\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1  -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1  -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1  -DHAVE___BUILTIN_BSWAP3
2=1 -DHAVE___BUILTIN_BSWAP64=1  -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1  -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1  -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1  -DHAVE___BU
ILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1  -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1  -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1  -DHAVE_FUNC_ATTRI
BUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1  -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1  -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1  -DHAVE_F
UNC_ATTRIBUTE_WARN_UNUSED_RESULT=1  -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1  -DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DHAVE_ENDIAN_H=1 -DHAVE_DLADDR=1  -DHAVE_CLOCK_GETTIME=1 -DHA
VE_PTHREAD_PRIO_INHERIT=1  -DHAVE_PTHREAD=1  -D__STDC_CONSTANT_MACROS  -D__STDC_FORMAT_MACROS  -D__STDC_LIMIT_MACROS  -DUSE_GCC_ATOMIC_BUILTINS  -DNDEBUG  -DHAVE_SYS_SYSCTL_H  -DHAVE_DLFCN_H
 -DHAVE_STRTOF  -DHAVE_MKOSTEMP  -DHAVE_TIMESPEC_GET  -DHAVE_STRTOD_L  -DHAVE_DL_ITERATE_PHDR  -DHAVE_POSIX_MEMALIGN  -DHAVE_ZLIB  -DHAVE_LIBDRM -DGLX_USE_DRM  -DGLX_INDIRECT_RENDERING  -DGLX
_DIRECT_RENDERING  -DGLX_USE_TLS  -DHAVE_X11_PLATFORM  -DHAVE_DRM_PLATFORM  -DENABLE_SHADER_CACHE  -DHAVE_MINCORE -DHAVE_LLVM=0x0700 -DUSE_SSE41  -DUSE_X86_64_ASM -DHAVE_LIBDRM -DGLX_USE_DRM
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DMESA_EGL_NO_X11_HEADERS -DYYTEXT_POINTER=1 -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler  -I/usr/src/../xsrc/externa
l/mit/MesaLib/dist/../src/compiler  -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/nir  -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/compiler/nir  -I/usr/src/../xsrc/externa
l/mit/MesaLib/dist/src/compiler/glsl  -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/compiler/glsl  -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp  -I/usr/src/../xs
rc/external/mit/MesaLib/dist/../src/compiler/glsl/glcpp  -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/spirv  -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/src/../obj/destdir.a
md64/usr/X11R7/include -D__AMD64__ -c   -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965  -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/intel  -I/usr/src/../xsrc/exte
rnal/mit/MesaLib/dist/src/intel/compiler  -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/intel  -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/nir  -I/usr/src/../xsrc/external
/mit/MesaLib/dist/../src/compiler/nir -fPIC   -g /usr/src/../xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp -o brw_fs_combine_constants.pico
/usr/src/../xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp:235:54: error: absolute value function 'abs' given an argument of type 'const int64_t'
      (aka 'const long') but has parameter of type 'int' which may cause truncation of value [-Werror,-Wabsolute-value]
      int64_t val = !can_do_source_mods ? src->d64 : abs(src->d64);
                                                     ^
/usr/src/../xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp:235:54: note: use function 'std::abs' instead
      int64_t val = !can_do_source_mods ? src->d64 : abs(src->d64);
                                                     ^~~
                                                     std::abs
/usr/src/../xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp:235:54: note: include the header <cstdlib> or explicitly provide a declaration for 'std::abs'
1 error generated.

*** Failed target:  brw_fs_combine_constants.pico
*** Failed command: /usr/src/../tools/bin/x86_64--netbsd-clang++ -frandom-seed=e679b9f7 -O2 -fvisibility=hidden -fno-strict-aliasing -fno-builtin-memcmp -Werror -Wno-error=initializer-overrid
es -Wno-error=switch -Wno-error=tautological-constant-out-of-range-compare -Wno-error=enum-conversion -fPIE -fno-strict-aliasing -Wno-error=stack-protector -fno-rtti --sysroot=/usr/src/../obj
/destdir.amd64 -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/egl/main -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/egl/drivers/dri -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/m
esa/drivers/dri/common -I/usr/src/../obj/destdir.amd64/usr/X11R7/include/libdrm -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/util -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/me
sa -I/usr/src/../xsrc/external/mit/MesaLib/dist/include -I/usr/src/../xsrc/external/mit/MesaLib/dist/src -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/mesa -I/usr/src/../xsrc/external/mit/
MesaLib/dist/src/mapi -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/gallium/include -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/mapi/glapi -I/usr/src/../xsrc/external/mit/MesaLib/d
ist/../src/mesa -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/mesa/main -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/common -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAM
E=\"mesa\" -DPACKAGE_VERSION=\"19.1.17\" -DPACKAGE_STRING=\"Mesa\ 19.1.17\" -DVERSION=\"19.1.17\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"; -DPACKAGE_UR
L=\"\" -DPACKAGE=\"mesa\" -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE___BUILTIN_BS
WAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BU
ILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUT
E_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_AT
TRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DHAVE_FUNC_ATTRIBUTE_NORETURN=1 -DHAVE_ENDIAN_H=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREA
D_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DHAVE_SYS_SYSCTL_H -DHAVE_DLFCN_H -DHAVE_STRTOF -DH
AVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE
_TLS -DHAVE_X11_PLATFORM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_LLVM=0x0700 -DUSE_SSE41 -DUSE_X86_64_ASM -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DI
RECT_RENDERING -DHAVE_ALIAS -DMESA_EGL_NO_X11_HEADERS -DYYTEXT_POINTER=1 -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/compiler
 -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/nir -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/compiler/nir -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/glsl
-I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/compiler/glsl -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/glsl/glcpp -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/comp
iler/glsl/glcpp -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/spirv -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -I/usr/src/../obj/destdir.amd64/usr/X11R7/include -D__AMD64__ -c -I/u
sr/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965 -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/intel -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/intel/compiler -I/us
r/src/../xsrc/external/mit/MesaLib/dist/../src/intel -I/usr/src/../xsrc/external/mit/MesaLib/dist/src/compiler/nir -I/usr/src/../xsrc/external/mit/MesaLib/dist/../src/compiler/nir -fPIC -g /u
sr/src/../xsrc/external/mit/MesaLib/dist/src/intel/compiler/brw_fs_combine_constants.cpp -o brw_fs_combine_constants.pico
*** Error code 1

Stop.
nbmake[6]: stopped in /usr/src/external/mit/xorg/lib/dri

*** Failed target:  dependall
*** Failed command: cd "/usr/src/external/mit/xorg/lib/dri"; /usr/src/../tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake[5]: stopped in /usr/src/external/mit/xorg/lib/dri

*** Failed target:  dependall-dri
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/mit/xorg/lib/"; real="/usr/src/external/mit
/xorg/lib" ;; *) this="external/mit/xorg/lib/${dir}/"; real="/usr/src/external/mit/xorg/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
 /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget dri dependall
*** Error code 1

Stop.
nbmake[4]: stopped in /usr/src/external/mit/xorg/lib

*** Failed target:  build_install
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/mit/xorg/lib/"; real="/usr/src/external/mit
/xorg/lib" ;; *) this="external/mit/xorg/lib/${dir}/"; real="/usr/src/external/mit/xorg/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
 /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-dri dependall-gallium dependall-fontconfig dependall-libSM
*** Error code 1

Stop.
nbmake[3]: stopped in /usr/src/external/mit/xorg/lib

*** Failed target:  do-x11
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/
src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget exte
rnal/mit/xorg/lib build_install
*** Error code 1

Stop.
nbmake[2]: stopped in /usr/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/
src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do
-x11
*** Error code 1

Stop.
nbmake[1]: stopped in /usr/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/
src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . bu
ild NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index