[Mesa-dev] gen_llvm_ir_macros.py: error: argument --output/-o: can't open 'rasterizer/jitter/builder_gen.h': [Errno 2] No such file or directory: 'rasterizer/jitter/builder_gen.h'
Igor Gnatenko
i.gnatenko.brain at gmail.com
Sun Mar 20 13:22:13 UTC 2016
Somewhere in internet I found patch (http://pastebin.com/Pj3RXZCD) but
I didn't test it.
Making all in drivers/swr
make[3]: Entering directory
'/builddir/build/BUILD/mesa-ea2bff1/src/gallium/drivers/swr'
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++
-DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\"
-DPACKAGE_VERSION=\"11.3.0-devel\" -DPACKAGE_STRING=\"Mesa\
11.3.0-devel\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"11.3.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-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 -DLT_OBJDIR=\".libs/\"
-DHAVE___BUILTIN_BSWAP32=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___BUILTIN_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_ATTRIBUTE_MALLOC=1
-DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_DLADDR=1
-DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I. -I./include
-I../../../../src -I../../../../include
-I../../../../src/gallium/include -I../../../../src/gallium/auxiliary
-I../../../../src/gallium/drivers -I../../../../src/gallium/winsys
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE
-DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM
-DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP
-DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DHAVE_LIBDRM
-DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3
-DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0308
-DMESA_LLVM_VERSION_PATCH=0 -fvisibility=hidden -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic -frtti -fexceptions -Wall -fno-strict-aliasing
-fno-builtin-memcmp -c -o swr_loader.lo swr_loader.cpp
libtool: compile: g++ -DPACKAGE_NAME=\"Mesa\"
-DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"11.3.0-devel\"
"-DPACKAGE_STRING=\"Mesa 11.3.0-devel\""
"-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\""
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"11.3.0-devel\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-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 -DLT_OBJDIR=\".libs/\"
-DHAVE___BUILTIN_BSWAP32=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___BUILTIN_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_ATTRIBUTE_MALLOC=1
-DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1
-DHAVE_FUNC_ATTRIBUTE_UNUSED=1
-DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_DLADDR=1
-DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I. -I./include
-I../../../../src -I../../../../include
-I../../../../src/gallium/include -I../../../../src/gallium/auxiliary
-I../../../../src/gallium/drivers -I../../../../src/gallium/winsys
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE
-DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM
-DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP
-DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DHAVE_LIBDRM
-DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3
-DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0308
-DMESA_LLVM_VERSION_PATCH=0 -fvisibility=hidden -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic -frtti -fexceptions -Wall -fno-strict-aliasing
-fno-builtin-memcmp -c swr_loader.cpp -fPIC -DPIC -o
.libs/swr_loader.o
/bin/sh ../../../../libtool --tag=CXX --mode=link g++ -I./include
-I../../../../src -I../../../../include
-I../../../../src/gallium/include -I../../../../src/gallium/auxiliary
-I../../../../src/gallium/drivers -I../../../../src/gallium/winsys
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE
-DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM
-DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP
-DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DMESA_SELINUX -DHAVE_LIBDRM
-DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3
-DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0308
-DMESA_LLVM_VERSION_PATCH=0 -fvisibility=hidden -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic -frtti -fexceptions -Wall -fno-strict-aliasing
-fno-builtin-memcmp -Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -static-libstdc++ -o
libmesaswr.la swr_loader.lo
libtool: link: ar cru .libs/libmesaswr.a .libs/swr_loader.o
libtool: link: ranlib .libs/libmesaswr.a
libtool: link: ( cd ".libs" && rm -f "libmesaswr.la" && ln -s
"../libmesaswr.la" "libmesaswr.la" )
make[3]: Leaving directory
'/builddir/build/BUILD/mesa-ea2bff1/src/gallium/drivers/swr'
Making all in drivers/swr/avx
make[3]: Entering directory
'/builddir/build/BUILD/mesa-ea2bff1/src/gallium/drivers/swr/avx'
python2.7 \
./../rasterizer/scripts/gen_knobs.py \
rasterizer/scripts
python2.7 \
./../rasterizer/scripts/gen_knobs.py \
rasterizer/scripts
python2.7 \
./../rasterizer/jitter/scripts/gen_llvm_types.py \
--input ./../rasterizer/core/state.h \
--output rasterizer/jitter/state_llvm.h
python2.7 \
./../rasterizer/jitter/scripts/gen_llvm_ir_macros.py \
--input /usr/include/llvm/IR/IRBuilder.h \
--output rasterizer/jitter/builder_gen.h \
--gen_h
usage: gen_llvm_types.py [-h] --input INPUT --output OUTPUT [--scalar]
usage: gen_llvm_ir_macros.py [-h] [--input INPUT] --output OUTPUT [--gen_h]
[--gen_cpp] [--gen_x86_h] [--gen_x86_cpp]
gen_llvm_ir_macros.py: error: argument --output/-o: can't open
'rasterizer/jitter/builder_gen.h': [Errno 2] No such file or
directory: 'rasterizer/jitter/builder_gen.h'
gen_llvm_types.py: error: argument --output/-o: can't open
'rasterizer/jitter/state_llvm.h': [Errno 2] No such file or directory:
'rasterizer/jitter/state_llvm.h'
Makefile:1270: recipe for target 'rasterizer/jitter/builder_gen.h' failed
make[3]: *** [rasterizer/jitter/builder_gen.h] Error 2
make[3]: *** Waiting for unfinished jobs....
Makefile:1264: recipe for target 'rasterizer/jitter/state_llvm.h' failed
make[3]: *** [rasterizer/jitter/state_llvm.h] Error 2
ERROR: Could not create output directory: rasterizer/scripts
Makefile:1259: recipe for target 'rasterizer/scripts/gen_knobs.h' failed
make[3]: *** [rasterizer/scripts/gen_knobs.h] Error 1
make[3]: Leaving directory
'/builddir/build/BUILD/mesa-ea2bff1/src/gallium/drivers/swr/avx'
Makefile:596: recipe for target 'all-recursive' failed
make[2]: Leaving directory '/builddir/build/BUILD/mesa-ea2bff1/src/gallium'
make[2]: *** [all-recursive] Error 1
Makefile:688: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/builddir/build/BUILD/mesa-ea2bff1/src'
make[1]: *** [all-recursive] Error 1
Makefile:638: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
--
-Igor Gnatenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160320/50eff01d/attachment.html>
More information about the mesa-dev
mailing list