* using log directory 'd:/Rcompile/CRANpkg/local/3.6/N2R.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'N2R/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'N2R' version '0.1.1' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'N2R' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/3.6/N2R.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'N2R' ... ** package 'N2R' successfully unpacked and MD5 sums checked ** using staged installation ** libs *** arch - i386 make[1]: Entering directory `/cygdrive/d/temp/RtmpGEQL5b/R.INSTALL1b0d4794e406d/N2R/src-i386' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppSpdlog/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I"../inst/include" -I"./n2/include" -fopenmp -O2 -Wall -mtune=core2 -c RcppExports.cpp -o RcppExports.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppSpdlog/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I"../inst/include" -I"./n2/include" -fopenmp -O2 -Wall -mtune=core2 -c check_openmp.cpp -o check_openmp.o d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppSpdlog/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -I"../inst/include" -I"./n2/include" -fopenmp -O2 -Wall -mtune=core2 -c n2knn.cpp -o n2knn.o n2knn.cpp: In function 'Eigen::SparseMatrix n2Knn(const NumericMatrix&, int64_t, int64_t, bool, std::string, int64_t, int64_t, float, bool)': n2knn.cpp:73:15: warning: unused variable 'l' [-Wunused-variable] int64_t l=i*k+j; ^ n2knn.cpp: In function 'Eigen::SparseMatrix n2CrossKnn(const NumericMatrix&, const NumericMatrix&, int64_t, int64_t, bool, std::string, int64_t, int64_t, float, bool)': n2knn.cpp:128:15: warning: unused variable 'l' [-Wunused-variable] int64_t l=i*k+j; ^ (cd n2 && CFLAGS="-O3 -Wall -std=gnu99 -mtune=core2" CXXFLAGS="-O2 -Wall -mtune=core2" MAKE="make -f \"D:/RCompile/recent/R-3.6.3/etc/i386/Makeconf\" -f Makefile" make -f "D:/RCompile/recent/R-3.6.3/etc/i386/Makeconf" -f Makefile lib) || exit 1; make[2]: Entering directory `/cygdrive/d/temp/RtmpGEQL5b/R.INSTALL1b0d4794e406d/N2R/src-i386/n2' d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppSpdlog/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O3 -std=c++11 -pthread -fPIC -I"./include" -fopenmp -I"./include" -O2 -Wall -mtune=core2 -c base.cc -o base.o base.cc:1:0: warning: -fPIC ignored for target (all code is position independent) // Copyright 2017 Kakao Corp. ^ d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppSpdlog/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O3 -std=c++11 -pthread -fPIC -I"./include" -fopenmp -I"./include" -O2 -Wall -mtune=core2 -c hnsw.cc -o hnsw.o hnsw.cc:1:0: warning: -fPIC ignored for target (all code is position independent) // Copyright 2017 Kakao Corp. ^ d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppSpdlog/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O3 -std=c++11 -pthread -fPIC -I"./include" -fopenmp -I"./include" -O2 -Wall -mtune=core2 -c hnsw_node.cc -o hnsw_node.o hnsw_node.cc:1:0: warning: -fPIC ignored for target (all code is position independent) // Copyright 2017 Kakao Corp. ^ d:/Compiler/gcc-4.9.3/mingw_32/bin/g++ -std=gnu++11 -I"D:/RCompile/recent/R-3.6.3/include" -DNDEBUG -I"d:/RCompile/CRANpkg/lib/3.6/Rcpp/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppSpdlog/include" -I"d:/RCompile/CRANpkg/lib/3.6/RcppEigen/include" -I"d:/Compiler/gcc-4.9.3/local330/include" -O3 -std=c++11 -pthread -fPIC -I"./include" -fopenmp -I"./include" -O2 -Wall -mtune=core2 -c distance.cc -o distance.o distance.cc:1:0: warning: -fPIC ignored for target (all code is position independent) // Copyright 2017 Kakao Corp. ^ distance.cc: In member function 'virtual float n2::L2Distance::Evaluate(const float*, const float*, size_t, float*) const': distance.cc:37:32: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] __m128 sum = _mm_set1_ps(0); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:889:1: error: inlining failed in call to always_inline '__m128 _mm_set1_ps(float)': target specific option mismatch _mm_set1_ps (float __F) ^ distance.cc:37:32: error: called from here __m128 sum = _mm_set1_ps(0); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:40:36: error: called from here v1 = _mm_loadu_ps(pVect1); pVect1 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:41:36: error: called from here v2 = _mm_loadu_ps(pVect2); pVect2 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:187:1: error: inlining failed in call to always_inline '__m128 _mm_sub_ps(__m128, __m128)': target specific option mismatch _mm_sub_ps (__m128 __A, __m128 __B) ^ distance.cc:42:34: error: called from here diff = _mm_sub_ps(v1, v2); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline '__m128 _mm_mul_ps(__m128, __m128)': target specific option mismatch _mm_mul_ps (__m128 __A, __m128 __B) ^ distance.cc:43:54: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '__m128 _mm_add_ps(__m128, __m128)': target specific option mismatch _mm_add_ps (__m128 __A, __m128 __B) ^ distance.cc:43:55: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:45:36: error: called from here v1 = _mm_loadu_ps(pVect1); pVect1 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:46:36: error: called from here v2 = _mm_loadu_ps(pVect2); pVect2 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:187:1: error: inlining failed in call to always_inline '__m128 _mm_sub_ps(__m128, __m128)': target specific option mismatch _mm_sub_ps (__m128 __A, __m128 __B) ^ distance.cc:47:34: error: called from here diff = _mm_sub_ps(v1, v2); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline '__m128 _mm_mul_ps(__m128, __m128)': target specific option mismatch _mm_mul_ps (__m128 __A, __m128 __B) ^ distance.cc:48:54: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '__m128 _mm_add_ps(__m128, __m128)': target specific option mismatch _mm_add_ps (__m128 __A, __m128 __B) ^ distance.cc:48:55: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:50:36: error: called from here v1 = _mm_loadu_ps(pVect1); pVect1 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:51:36: error: called from here v2 = _mm_loadu_ps(pVect2); pVect2 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:187:1: error: inlining failed in call to always_inline '__m128 _mm_sub_ps(__m128, __m128)': target specific option mismatch _mm_sub_ps (__m128 __A, __m128 __B) ^ distance.cc:52:34: error: called from here diff = _mm_sub_ps(v1, v2); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline '__m128 _mm_mul_ps(__m128, __m128)': target specific option mismatch _mm_mul_ps (__m128 __A, __m128 __B) ^ distance.cc:53:54: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '__m128 _mm_add_ps(__m128, __m128)': target specific option mismatch _mm_add_ps (__m128 __A, __m128 __B) ^ distance.cc:53:55: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:55:36: error: called from here v1 = _mm_loadu_ps(pVect1); pVect1 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:56:36: error: called from here v2 = _mm_loadu_ps(pVect2); pVect2 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:187:1: error: inlining failed in call to always_inline '__m128 _mm_sub_ps(__m128, __m128)': target specific option mismatch _mm_sub_ps (__m128 __A, __m128 __B) ^ distance.cc:57:34: error: called from here diff = _mm_sub_ps(v1, v2); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline '__m128 _mm_mul_ps(__m128, __m128)': target specific option mismatch _mm_mul_ps (__m128 __A, __m128 __B) ^ distance.cc:58:54: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '__m128 _mm_add_ps(__m128, __m128)': target specific option mismatch _mm_add_ps (__m128 __A, __m128 __B) ^ distance.cc:58:55: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:63:36: error: called from here v1 = _mm_loadu_ps(pVect1); pVect1 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline '__m128 _mm_loadu_ps(const float*)': target specific option mismatch _mm_loadu_ps (float const *__P) ^ distance.cc:64:36: error: called from here v2 = _mm_loadu_ps(pVect2); pVect2 += 4; ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:187:1: error: inlining failed in call to always_inline '__m128 _mm_sub_ps(__m128, __m128)': target specific option mismatch _mm_sub_ps (__m128 __A, __m128 __B) ^ distance.cc:65:34: error: called from here diff = _mm_sub_ps(v1, v2); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline '__m128 _mm_mul_ps(__m128, __m128)': target specific option mismatch _mm_mul_ps (__m128 __A, __m128 __B) ^ distance.cc:66:54: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline '__m128 _mm_add_ps(__m128, __m128)': target specific option mismatch _mm_add_ps (__m128 __A, __m128 __B) ^ distance.cc:66:55: error: called from here sum = _mm_add_ps(sum, _mm_mul_ps(diff, diff)); ^ In file included from distance.cc:18:0: D:/Compiler/gcc-4.9.3/mingw_32/lib/gcc/i686-w64-mingw32/4.9.3/include/xmmintrin.h:971:1: error: inlining failed in call to always_inline 'void _mm_store_ps(float*, __m128)': target specific option mismatch _mm_store_ps (float *__P, __m128 __A) ^ distance.cc:69:30: error: called from here _mm_store_ps(TmpRes, sum); ^ make[2]: *** [distance.o] Error 1 make[2]: Leaving directory `/cygdrive/d/temp/RtmpGEQL5b/R.INSTALL1b0d4794e406d/N2R/src-i386/n2' make[1]: *** [sublibraries] Error 1 make[1]: Leaving directory `/cygdrive/d/temp/RtmpGEQL5b/R.INSTALL1b0d4794e406d/N2R/src-i386' ERROR: compilation failed for package 'N2R' * removing 'd:/Rcompile/CRANpkg/lib/3.6/N2R'