mvs-texturing icon indicating copy to clipboard operation
mvs-texturing copied to clipboard

error: ‘_mm_maskstore_ps’ was not declared in this scope

Open Harvie opened this issue 6 years ago • 15 comments

Trying to build from sources on latest ArchLinux using mve-git PKGBUILD from AUR. Gives me this error:

[ 93%] Building CXX object libs/tex/CMakeFiles/tex.dir/view_selection.cpp.o
In file included from /tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/header/vector_math.h:354:0,
                 from /tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/header/costs.h:23,
                 from /tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/full.h:15,
                 from /tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/libs/tex/view_selection.cpp:14:
/tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h: In function ‘void mapmap::v_masked_store(mapmap::_v_t<COSTTYPE, SIMDWIDTH>&, mapmap::_iv_t<COSTTYPE, SIMDWIDTH>&, mapmap::_s_t<COSTTYPE, SIMDWIDTH>*) [with COSTTYPE = float; unsigned int SIMDWIDTH = 4; mapmap::_v_t<COSTTYPE, SIMDWIDTH> = __vector(4) float; mapmap::_iv_t<COSTTYPE, SIMDWIDTH> = __vector(2) long long int; mapmap::_s_t<COSTTYPE, SIMDWIDTH> = float]’:
/tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:1049:9: error: ‘_mm_maskstore_ps’ was not declared in this scope
         _mm_maskstore_ps(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
/tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:1049:9: note: suggested alternative: ‘_mm_store_ps’
         _mm_maskstore_ps(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
         _mm_store_ps
/tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h: In function ‘void mapmap::v_masked_store(mapmap::_v_t<COSTTYPE, SIMDWIDTH>&, mapmap::_iv_t<COSTTYPE, SIMDWIDTH>&, mapmap::_s_t<COSTTYPE, SIMDWIDTH>*) [with COSTTYPE = double; unsigned int SIMDWIDTH = 2; mapmap::_v_t<COSTTYPE, SIMDWIDTH> = __vector(2) double; mapmap::_iv_t<COSTTYPE, SIMDWIDTH> = __vector(2) long long int; mapmap::_s_t<COSTTYPE, SIMDWIDTH> = double]’:
/tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:2855:9: error: ‘_mm_maskstore_pd’ was not declared in this scope
         _mm_maskstore_pd(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
/tmp/yaourt-tmp-harvie/aur-mve-git/src/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:2855:9: note: suggested alternative: ‘_mm_store_pd’
         _mm_maskstore_pd(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
         _mm_store_pd

renaming _mm_maskstore_* to _mm_store_* as suggested by gcc does not seem to help...

Harvie avatar Apr 01 '18 05:04 Harvie

Isn't this a problem with GCC installation? _mm_maskstore_ps is defined in:

grep -RI _mm_maskstore_ps /usr/lib/gcc/
/usr/lib/gcc/x86_64-pc-linux-gnu/5.5.0/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)

bartoszek avatar Apr 06 '18 07:04 bartoszek

Dunno, that seems ok for me:

$ grep -RI _mm_maskstore_ps /usr/lib/gcc/
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.1/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.1/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)

Harvie avatar Apr 06 '18 11:04 Harvie

Did you try building the package in clean chroot environment?

bartoszek avatar Apr 07 '18 10:04 bartoszek

Not sure if I should open another issue for this or not. However, I have the same error with GCC 7.3.0 on Ubuntu 18.04 on a fresh docker image.

grep -RI _mm_maskstore_ps /usr/lib/gcc/x86_64-linux-gnu/
/usr/lib/gcc/x86_64-linux-gnu/7/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)
/usr/lib/gcc/x86_64-linux-gnu/7.3.0/include/avxintrin.h:_mm_maskstore_ps (float *__P, __m128i __M, __m128 __A)

Any ideas how to dive deeper into this? Thanks.

bajo avatar Apr 09 '18 12:04 bajo

Hi @Harvie, @bajo, can you please post the output of head -n 24 /proc/cpuinfo and how gcc was invoked when it prints the error (i.e. run make VERBOSE=1)?

andre-schulz avatar Apr 09 '18 19:04 andre-schulz

Hi @andre-schulz Here is the output from the two commands running in a fresh docker ubuntu:18.04 container. Some thoughts on the cause on the issue are at the end of this long post.

root@f47a7f784ed8:/tmp/mvs-texturing/upstream/mvs-texturing/build# head -n 24 /proc/cpuinfo 
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 26
model name	: Intel(R) Xeon(R) CPU           X5550  @ 2.67GHz
stepping	: 5
microcode	: 0x11
cpu MHz		: 1600.000
cache size	: 8192 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 4
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2 popcnt lahf_lm ida dtherm tpr_shadow vnmi flexpriority ept vpid
bugs		:
bogomips	: 5333.04
clflush size	: 64
cache_alignment	: 64
root@f47a7f784ed8:/tmp/mvs-texturing/upstream/mvs-texturing/build# make VERBOSE=1   
/usr/bin/cmake -H/tmp/mvs-texturing/upstream/mvs-texturing -B/tmp/mvs-texturing/upstream/mvs-texturing/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /tmp/mvs-texturing/upstream/mvs-texturing/build/CMakeFiles /tmp/mvs-texturing/upstream/mvs-texturing/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
make -f elibs/CMakeFiles/ext_eigen.dir/build.make elibs/CMakeFiles/ext_eigen.dir/depend
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/mvs-texturing/upstream/mvs-texturing /tmp/mvs-texturing/upstream/mvs-texturing/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_eigen.dir/DependInfo.cmake --color=
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_eigen.dir/DependInfo.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_eigen.dir/depend.internal".
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_eigen.dir/depend.internal".
Scanning dependencies of target ext_eigen
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
make -f elibs/CMakeFiles/ext_eigen.dir/build.make elibs/CMakeFiles/ext_eigen.dir/build
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[  1%] Creating directories for 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-build
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/tmp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-mkdir
[  3%] Performing download step (download, verify and extract) for 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -P /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/download-ext_eigen.cmake
-- Downloading...
   dst='/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/3.3.2.tar.gz'
   timeout='none'
-- Using src='https://bitbucket.org/eigen/eigen/get/3.3.2.tar.gz'
-- [download 0% complete]
-- [download 1% complete]
-- [download 2% complete]
-- [download 3% complete]
-- [download 4% complete]
-- [download 5% complete]
-- [download 6% complete]
-- [download 7% complete]
-- [download 8% complete]
-- [download 9% complete]
-- [download 10% complete]
-- [download 11% complete]
-- [download 12% complete]
-- [download 13% complete]
-- [download 14% complete]
-- [download 15% complete]
-- [download 16% complete]
-- [download 17% complete]
-- [download 18% complete]
-- [download 19% complete]
-- [download 20% complete]
-- [download 21% complete]
-- [download 22% complete]
-- [download 23% complete]
-- [download 24% complete]
-- [download 25% complete]
-- [download 26% complete]
-- [download 27% complete]
-- [download 28% complete]
-- [download 29% complete]
-- [download 30% complete]
-- [download 31% complete]
-- [download 32% complete]
-- [download 33% complete]
-- [download 34% complete]
-- [download 35% complete]
-- [download 36% complete]
-- [download 37% complete]
-- [download 38% complete]
-- [download 39% complete]
-- [download 40% complete]
-- [download 41% complete]
-- [download 42% complete]
-- [download 43% complete]
-- [download 44% complete]
-- [download 45% complete]
-- [download 46% complete]
-- [download 47% complete]
-- [download 48% complete]
-- [download 49% complete]
-- [download 50% complete]
-- [download 51% complete]
-- [download 52% complete]
-- [download 53% complete]
-- [download 54% complete]
-- [download 55% complete]
-- [download 56% complete]
-- [download 57% complete]
-- [download 58% complete]
-- [download 59% complete]
-- [download 60% complete]
-- [download 61% complete]
-- [download 62% complete]
-- [download 63% complete]
-- [download 64% complete]
-- [download 65% complete]
-- [download 66% complete]
-- [download 67% complete]
-- [download 68% complete]
-- [download 69% complete]
-- [download 70% complete]
-- [download 71% complete]
-- [download 72% complete]
-- [download 73% complete]
-- [download 74% complete]
-- [download 75% complete]
-- [download 76% complete]
-- [download 77% complete]
-- [download 78% complete]
-- [download 79% complete]
-- [download 80% complete]
-- [download 81% complete]
-- [download 82% complete]
-- [download 83% complete]
-- [download 84% complete]
-- [download 85% complete]
-- [download 86% complete]
-- [download 87% complete]
-- [download 88% complete]
-- [download 89% complete]
-- [download 90% complete]
-- [download 91% complete]
-- [download 92% complete]
-- [download 93% complete]
-- [download 94% complete]
-- [download 95% complete]
-- [download 96% complete]
-- [download 97% complete]
-- [download 98% complete]
-- [download 99% complete]
-- [download 100% complete]
-- verifying file...
       file='/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/3.3.2.tar.gz'
-- Downloading... done
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -P /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/verify-ext_eigen.cmake
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -P /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/extract-ext_eigen.cmake
-- extracting...
     src='/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/3.3.2.tar.gz'
     dst='/tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-download
[  5%] No patch step for 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-patch
[  6%] No update step for 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-update
[  8%] No configure step for 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-configure
[ 10%] No build step for 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-build
[ 11%] No install step for 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-install
[ 13%] Completed 'ext_eigen'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_eigen-complete
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_eigen/src/ext_eigen-stamp/ext_eigen-done
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 13%] Built target ext_eigen
make -f elibs/CMakeFiles/ext_rayint.dir/build.make elibs/CMakeFiles/ext_rayint.dir/depend
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/mvs-texturing/upstream/mvs-texturing /tmp/mvs-texturing/upstream/mvs-texturing/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_rayint.dir/DependInfo.cmake --color=
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_rayint.dir/DependInfo.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_rayint.dir/depend.internal".
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_rayint.dir/depend.internal".
Scanning dependencies of target ext_rayint
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
make -f elibs/CMakeFiles/ext_rayint.dir/build.make elibs/CMakeFiles/ext_rayint.dir/build
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 15%] Creating directories for 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-build
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/tmp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-mkdir
[ 16%] Performing download step (git clone) for 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -P /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/tmp/ext_rayint-gitclone.cmake
Cloning into 'rayint'...
Switched to a new branch 'cuda'
Branch 'cuda' set up to track remote branch 'cuda' from 'origin'.
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-download
[ 18%] No patch step for 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-patch
[ 20%] No update step for 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-update
[ 22%] No configure step for 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-configure
[ 23%] No build step for 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-build
[ 25%] No install step for 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-install
[ 27%] Completed 'ext_rayint'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_rayint-complete
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_rayint/src/ext_rayint-stamp/ext_rayint-done
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 27%] Built target ext_rayint
make -f elibs/CMakeFiles/ext_mve.dir/build.make elibs/CMakeFiles/ext_mve.dir/depend
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/mvs-texturing/upstream/mvs-texturing /tmp/mvs-texturing/upstream/mvs-texturing/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mve.dir/DependInfo.cmake --color=
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mve.dir/DependInfo.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mve.dir/depend.internal".
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mve.dir/depend.internal".
Scanning dependencies of target ext_mve
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
make -f elibs/CMakeFiles/ext_mve.dir/build.make elibs/CMakeFiles/ext_mve.dir/build
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 28%] Creating directories for 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/tmp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-mkdir
[ 30%] Performing download step (git clone) for 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -P /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/tmp/ext_mve-gitclone.cmake
Cloning into 'mve'...
Already on 'master'
Your branch is up to date with 'origin/master'.
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-download
[ 32%] No patch step for 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-patch
[ 33%] No update step for 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-update
[ 35%] No configure step for 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-configure
[ 37%] Performing build step for 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && make -C libs/mve && make -C libs/util
make[3]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs/mve'
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -MM mesh_io_pbrt.cc image_tools.cc mesh_io_off.cc mesh_io_obj.cc mesh_io_smf.cc volume.cc mesh.cc marching.cc mesh_io.cc camera.cc image_exif.cc mesh_io_npts.cc mesh_info.cc image_io.cc scene.cc bundle.cc bundle_io.cc mesh_io_ply.cc view.cc depthmap.cc mesh_tools.cc >Makefile.dep
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_io_pbrt.o mesh_io_pbrt.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o image_tools.o image_tools.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_io_off.o mesh_io_off.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_io_smf.o mesh_io_smf.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o volume.o volume.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh.o mesh.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o marching.o marching.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_io.o mesh_io.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o camera.o camera.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o image_exif.o image_exif.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_io_npts.o mesh_io_npts.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_info.o mesh_info.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o image_io.o image_io.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o scene.o scene.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o bundle.o bundle.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_io_obj.o mesh_io_obj.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o bundle_io.o bundle_io.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_io_ply.o mesh_io_ply.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o view.o view.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o depthmap.o depthmap.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o mesh_tools.o mesh_tools.cc
ar rcs libmve.a mesh_io_pbrt.o image_tools.o mesh_io_off.o mesh_io_smf.o volume.o mesh.o marching.o mesh_io.o camera.o image_exif.o mesh_io_npts.o mesh_info.o image_io.o scene.o bundle.o mesh_io_obj.o bundle_io.o mesh_io_ply.o view.o depthmap.o mesh_tools.o
make[3]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs/mve'
make[3]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs/util'
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -MM arguments.cc system.cc file_system.cc ini_parser.cc >Makefile.dep
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o arguments.o arguments.cc
In file included from arguments.cc:18:0:
../../libs/util/arguments.h:126:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
         throw(util::Exception);
         ^~~~~
../../libs/util/arguments.h:129:9: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
         throw(util::Exception);
         ^~~~~
arguments.cc:69:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw(util::Exception)
     ^~~~~
arguments.cc:81:5: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
     throw(util::Exception)
     ^~~~~
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o system.o system.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o file_system.o file_system.cc
g++ -Wall -Wextra -Wundef -pedantic -msse2 -msse3 -msse4 -mpopcnt -funsafe-math-optimizations -fno-math-errno -std=c++11 -g -O3 -pthread -fPIC -I../../libs  -c -o ini_parser.o ini_parser.cc
ar rcs libmve_util.a arguments.o system.o file_system.o ini_parser.o
make[3]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs/util'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-build
[ 38%] No install step for 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-install
[ 40%] Completed 'ext_mve'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mve-complete
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/mve/src/ext_mve-stamp/ext_mve-done
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 40%] Built target ext_mve
make -f elibs/CMakeFiles/ext_mapmap.dir/build.make elibs/CMakeFiles/ext_mapmap.dir/depend
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/mvs-texturing/upstream/mvs-texturing /tmp/mvs-texturing/upstream/mvs-texturing/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mapmap.dir/DependInfo.cmake --color=
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mapmap.dir/DependInfo.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mapmap.dir/depend.internal".
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mapmap.dir/depend.internal".
Scanning dependencies of target ext_mapmap
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
make -f elibs/CMakeFiles/ext_mapmap.dir/build.make elibs/CMakeFiles/ext_mapmap.dir/build
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 42%] Creating directories for 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-build
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/tmp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-mkdir
[ 44%] Performing download step (git clone) for 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -P /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/tmp/ext_mapmap-gitclone.cmake
Cloning into 'mapmap'...
Already on 'master'
Your branch is up to date with 'origin/master'.
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-download
[ 45%] No patch step for 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-patch
[ 47%] No update step for 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-update
[ 49%] No configure step for 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-configure
[ 50%] No build step for 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-build
[ 52%] No install step for 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-build && /usr/bin/cmake -E echo_append
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-build && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-install
[ 54%] Completed 'ext_mapmap'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E make_directory /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/CMakeFiles/ext_mapmap-complete
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs && /usr/bin/cmake -E touch /tmp/mvs-texturing/upstream/mvs-texturing/build/elibs/ext_mapmap/src/ext_mapmap-stamp/ext_mapmap-done
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 54%] Built target ext_mapmap
make -f libs/tex/CMakeFiles/tex.dir/build.make libs/tex/CMakeFiles/tex.dir/depend
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
cd /tmp/mvs-texturing/upstream/mvs-texturing/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/mvs-texturing/upstream/mvs-texturing /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex /tmp/mvs-texturing/upstream/mvs-texturing/build /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex/CMakeFiles/tex.dir/DependInfo.cmake --color=
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex/CMakeFiles/tex.dir/DependInfo.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex/CMakeFiles/tex.dir/depend.internal".
Dependee "/tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex/CMakeFiles/tex.dir/depend.internal".
Scanning dependencies of target tex
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
make -f libs/tex/CMakeFiles/tex.dir/build.make libs/tex/CMakeFiles/tex.dir/build
make[2]: Entering directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
[ 55%] Building CXX object libs/tex/CMakeFiles/tex.dir/build_adjacency_graph.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/build_adjacency_graph.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/build_adjacency_graph.cpp
[ 57%] Building CXX object libs/tex/CMakeFiles/tex.dir/build_obj_model.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/build_obj_model.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/build_obj_model.cpp
[ 59%] Building CXX object libs/tex/CMakeFiles/tex.dir/calculate_data_costs.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/calculate_data_costs.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/calculate_data_costs.cpp
[ 61%] Building CXX object libs/tex/CMakeFiles/tex.dir/generate_debug_embeddings.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/generate_debug_embeddings.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/generate_debug_embeddings.cpp
[ 62%] Building CXX object libs/tex/CMakeFiles/tex.dir/generate_texture_atlases.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/generate_texture_atlases.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/generate_texture_atlases.cpp
[ 64%] Building CXX object libs/tex/CMakeFiles/tex.dir/generate_texture_patches.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/generate_texture_patches.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/generate_texture_patches.cpp
[ 66%] Building CXX object libs/tex/CMakeFiles/tex.dir/generate_texture_views.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/generate_texture_views.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/generate_texture_views.cpp
[ 67%] Building CXX object libs/tex/CMakeFiles/tex.dir/global_seam_leveling.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/global_seam_leveling.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/global_seam_leveling.cpp
[ 69%] Building CXX object libs/tex/CMakeFiles/tex.dir/histogram.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/histogram.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/histogram.cpp
[ 71%] Building CXX object libs/tex/CMakeFiles/tex.dir/local_seam_leveling.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/local_seam_leveling.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/local_seam_leveling.cpp
[ 72%] Building CXX object libs/tex/CMakeFiles/tex.dir/material_lib.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/material_lib.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/material_lib.cpp
[ 74%] Building CXX object libs/tex/CMakeFiles/tex.dir/obj_model.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/obj_model.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/obj_model.cpp
[ 76%] Building CXX object libs/tex/CMakeFiles/tex.dir/poisson_blending.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/poisson_blending.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/poisson_blending.cpp
[ 77%] Building CXX object libs/tex/CMakeFiles/tex.dir/prepare_mesh.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/prepare_mesh.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/prepare_mesh.cpp
[ 79%] Building CXX object libs/tex/CMakeFiles/tex.dir/rectangular_bin.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/rectangular_bin.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/rectangular_bin.cpp
[ 81%] Building CXX object libs/tex/CMakeFiles/tex.dir/seam_leveling.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/seam_leveling.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/seam_leveling.cpp
[ 83%] Building CXX object libs/tex/CMakeFiles/tex.dir/texture_atlas.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/texture_atlas.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/texture_atlas.cpp
[ 84%] Building CXX object libs/tex/CMakeFiles/tex.dir/texture_patch.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/texture_patch.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/texture_patch.cpp
[ 86%] Building CXX object libs/tex/CMakeFiles/tex.dir/texture_view.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/texture_view.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/texture_view.cpp
[ 88%] Building CXX object libs/tex/CMakeFiles/tex.dir/timer.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/timer.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/timer.cpp
[ 89%] Building CXX object libs/tex/CMakeFiles/tex.dir/tri.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/tri.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/tri.cpp
[ 91%] Building CXX object libs/tex/CMakeFiles/tex.dir/uni_graph.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/uni_graph.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/uni_graph.cpp
[ 93%] Building CXX object libs/tex/CMakeFiles/tex.dir/view_selection.cpp.o
cd /tmp/mvs-texturing/upstream/mvs-texturing/build/libs/tex && /usr/bin/c++  -DEIGEN_MPL2_ONLY -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/rayint/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mve/libs -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/eigen -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap -isystem /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap -I/tmp/mvs-texturing/upstream/mvs-texturing/libs  -fopenmp -march=native -Wall -Wextra -Wundef -pedantic -mfpmath=sse -funroll-loops -O2 -g -DNDEBUG   -std=gnu++11 -o CMakeFiles/tex.dir/view_selection.cpp.o -c /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/view_selection.cpp
In file included from /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/header/vector_math.h:354:0,
                 from /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/header/costs.h:23,
                 from /tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/full.h:15,
                 from /tmp/mvs-texturing/upstream/mvs-texturing/libs/tex/view_selection.cpp:14:
/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h: In function 'void mapmap::v_masked_store(mapmap::_v_t<COSTTYPE, SIMDWIDTH>&, mapmap::_iv_t<COSTTYPE, SIMDWIDTH>&, mapmap::_s_t<COSTTYPE, SIMDWIDTH>*) [with COSTTYPE = float; unsigned int SIMDWIDTH = 4; mapmap::_v_t<COSTTYPE, SIMDWIDTH> = __vector(4) float; mapmap::_iv_t<COSTTYPE, SIMDWIDTH> = __vector(2) long long int; mapmap::_s_t<COSTTYPE, SIMDWIDTH> = float]':
/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:1049:9: error: '_mm_maskstore_ps' was not declared in this scope
         _mm_maskstore_ps(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:1049:9: note: suggested alternative: '_mm_store_ps'
         _mm_maskstore_ps(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
         _mm_store_ps
/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h: In function 'void mapmap::v_masked_store(mapmap::_v_t<COSTTYPE, SIMDWIDTH>&, mapmap::_iv_t<COSTTYPE, SIMDWIDTH>&, mapmap::_s_t<COSTTYPE, SIMDWIDTH>*) [with COSTTYPE = double; unsigned int SIMDWIDTH = 2; mapmap::_v_t<COSTTYPE, SIMDWIDTH> = __vector(2) double; mapmap::_iv_t<COSTTYPE, SIMDWIDTH> = __vector(2) long long int; mapmap::_s_t<COSTTYPE, SIMDWIDTH> = double]':
/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:2855:9: error: '_mm_maskstore_pd' was not declared in this scope
         _mm_maskstore_pd(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
/tmp/mvs-texturing/upstream/mvs-texturing/elibs/mapmap/mapmap/source/vector_math.impl.h:2855:9: note: suggested alternative: '_mm_store_pd'
         _mm_maskstore_pd(ptr, mask, a);
         ^~~~~~~~~~~~~~~~
         _mm_store_pd
libs/tex/CMakeFiles/tex.dir/build.make:590: recipe for target 'libs/tex/CMakeFiles/tex.dir/view_selection.cpp.o' failed
make[2]: *** [libs/tex/CMakeFiles/tex.dir/view_selection.cpp.o] Error 1
make[2]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
CMakeFiles/Makefile2:278: recipe for target 'libs/tex/CMakeFiles/tex.dir/all' failed
make[1]: *** [libs/tex/CMakeFiles/tex.dir/all] Error 2
make[1]: Leaving directory '/tmp/mvs-texturing/upstream/mvs-texturing/build'
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

To me it seems the automatic detection of avx from mapmap withthe use of gcc -march=native is to blaim. On my machine I do not see any AVX flags in cpuinfo however, gcc -march=native -E -v - </dev/null 2>&1 | grep cc1 shows

 /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -E -quiet -v -imultiarch x86_64-linux-gnu - -march=nehalem -mmmx -mno-3dnow -msse -msse2 -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mno-movbe -mno-aes -mno-sha -mno-pclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-sgx -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd -mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave -mno-xsaveopt -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1 -mno-clflushopt -mno-xsavec -mno-xsaves -mno-avx512dq -mno-avx512bw -mno-avx512vl -mno-avx512ifma -mno-avx512vbmi -mno-avx5124fmaps -mno-avx5124vnniw -mno-clwb -mno-mwaitx -mno-clzero -mno-pku -mno-rdpid --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=nehalem -fstack-protector-strong -Wformat -Wformat-security

bajo avatar Apr 10 '18 10:04 bajo

So, from what I found it boils down to this issue on my machine. I have an old Intel Xeon X5550 from the Nehalem family. GCC -march=native tries to use AVX extensions not present on this cpu. However setting -march=nehalem as suggested in https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html does also fail.

For me the issue is solved by setting -march=native to -march=core2 in CMakeLists.txt. Is there any reliable method to detect such a situation and set this automatically? I thought -march=native would be the correct way to do this, but it seems my cpu is quite unusual and old.

bajo avatar Apr 10 '18 13:04 bajo

@andre-schulz

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 37
model name	: Intel(R) Core(TM) i5 CPU       M 520  @ 2.40GHz
stepping	: 5
microcode	: 0x4
cpu MHz		: 1199.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt aes lahf_lm retpoline kaiser tpr_shadow vnmi flexpriority ept vpid dtherm ida arat
bugs		: cpu_meltdown spectre_v1 spectre_v2
bogomips	: 4787.59
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

/etc/makepkg.conf:

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j4"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

Harvie avatar Apr 10 '18 14:04 Harvie

I have an old Intel Xeon X5550 from the Nehalem family. GCC -march=native tries to use AVX extensions not present on this cpu.

Quite the opposite, it tries to not use AVX instructions. In the output of

gcc -march=native -E -v - </dev/null 2>&1 | grep cc1

that you posted, it says -mno-avx.

Looking at the mapmap source code, it seems like it requires AVX instruction set. There is no fallback code for architectures that do not support it.

taketwo avatar Apr 10 '18 20:04 taketwo

@taketwo OK, that makes sense. But shouldn't it then fail to compile when using -march=generic as well?

bajo avatar Apr 11 '18 12:04 bajo

I would expect it to fail.

taketwo avatar Apr 11 '18 12:04 taketwo

Looking at the mapmap source code, it seems like it requires AVX instruction set. There is no fallback code for architectures that do not support it.

Unfortunately (but fortunately for @bajo and @Harvie), that's incorrect. mapmap falls back to SSE 4.2 if AVX is not available. And if SSE 4.2 is not available it will fallback to a scalar implementation (e.g. see mapmap's vector_math.impl.h). The problem seems to be that the SSE 4.2 implementation of v_masked_store() accidentally uses an AVX instruction (_mm_maskstore_ps()) for stores to aligned addresses.

@bajo, @Harvie, as a workaround you could try compiling with -march=native -mno-sse4.2 which should cause mapmap to use the scalar implementation.

andre-schulz avatar Apr 11 '18 20:04 andre-schulz

Thanks for the heads up. My bad, I found an occurrence of the following pattern:

#ifndef HAS___AVX2__
  // avx2 code
#else
  // avx code
#endif

and immediately assumed there is no non-avx fallback.

taketwo avatar Apr 11 '18 21:04 taketwo

np, @taketwo. :)

andre-schulz avatar Apr 15 '18 16:04 andre-schulz

This issue has been fixed upstream in https://github.com/dthuerck/mapmap_cpu/commit/78342c6bbc0c1bc160361242fcaeabda14095af6 It should now be possible to compile the SSE 4.2 code path on CPUs which support SSE 4.2 but not AVX.

andre-schulz avatar May 07 '18 21:05 andre-schulz