[ 8%] Building CXX object intern/libmv/CMakeFiles/bf_intern_libmv.dir/libmv/multiview/panography.cc.o cd /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b_build/intern/libmv && /usr/bin/x86_64-pc-linux-gnu-g++ -DCERES_STD_UNORDERED_MAP -DGFLAGS_DLL_DECL="" -DGFLAGS_DLL_DECLARE_FLAG="" -DGFLAGS_DLL_DEFINE_FLAG="" -DGOOGLE_GLOG_DLL_DECL="" -DLIBMV_GFLAGS_NAMESPACE=gflags -DLIBMV_NO_FAST_DETECTOR="" -DWITH_LIBMV_GUARDED_ALLOC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D__LITTLE_ENDIAN__ -D__MMX__ -D__SSE2__ -D__SSE__ -I/var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/libmv -I/var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/extern/gflags/src -I/var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/extern/glog/src -I/var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/extern/ceres/include -I/var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/extern/ceres/config -I/var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/guardedalloc -isystem /usr/include/eigen3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DOPENVDB_ABI_VERSION_NUMBER=4 -DNDEBUG -Wredundant-decls -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op -Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits -Werror=return-type -Werror=implicit-function-declaration -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -Wundef -Wformat-signedness -Wuninitialized -Wundef -Wmissing-declarations -Wimplicit-fallthrough=5 -O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb -funsigned-char -fuse-ld=gold -fopenmp -std=c++11 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -msse2 -o CMakeFiles/bf_intern_libmv.dir/libmv/multiview/panography.cc.o -c /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/libmv/libmv/multiview/panography.cc In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:19, from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp: In member function ‘void LbmFsgrSolver::mainLoop(int)’: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/utilities.h:84:67: error: ‘gDebugLevel’ not specified in enclosing ‘parallel’ 84 | #define errMsg(from,mStr) if(gDebugLevel>0){ MSGSTREAM; msg << mStr <<"\n"; messageOutputFunc(from, DM_ERROR, msg.str(), 0); } | ~~~~~~~~~~~^~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:128:2: note: in expansion of macro ‘errMsg’ 128 | errMsg("LbmFsgrSolver","Invalid domain size Nj="<<Nj<<" Nthrds="<<Nthrds); \ | ^~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:389:2: note: in expansion of macro ‘GRID_REGION_START’ 389 | GRID_REGION_START(); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:384:9: error: enclosing ‘parallel’ 384 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:19, from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:134:76: error: ‘iend’ not specified in enclosing ‘parallel’ 134 | debMsgStd("ParaLoop::OMP",DM_MSG,"Thread:"<<id<<" i:"<<istart<<"-"<<iend<<" j:"<<jstart<<"-"<<jend<<", k:"<<kstart<<"-"<<kend<<" ", 1); \ | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/utilities.h:77:96: note: in definition of macro ‘debMsgStd’ 77 | # define debMsgStd(from,id,mStr,level) if(gDebugLevel>=level) { MSGSTREAM; msg << mStr <<"\n"; messageOutputFunc(from, id, msg.str(), 0); } | ^~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:389:2: note: in expansion of macro ‘GRID_REGION_START’ 389 | GRID_REGION_START(); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:384:9: error: enclosing ‘parallel’ 384 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:150:20: error: ‘lev’ not specified in enclosing ‘parallel’ 150 | pFlagSrc = &RFLAG(lev, istart, jstart, k, SRCS(lev)); \ | ^~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:789:43: note: in definition of macro ‘_RFLAG’ 789 | #define _RFLAG(level,xx,yy,zz,set) mLevel[level].mprsFlags[set][ (LONGINT)LBMGI((level),(xx),(yy),(zz),(set)) ] | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:150:14: note: in expansion of macro ‘RFLAG’ 150 | pFlagSrc = &RFLAG(lev, istart, jstart, k, SRCS(lev)); \ | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:418:2: note: in expansion of macro ‘GRID_LOOP_START’ 418 | GRID_LOOP_START(); | ^~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:384:9: error: enclosing ‘parallel’ 384 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:876:52: error: ‘cutConst’ not specified in enclosing ‘parallel’ 876 | const int pibord = mLevel[mMaxRefine].lSizex/2-cutConst; | ^~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:384:9: error: enclosing ‘parallel’ 384 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:19, from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp: In member function ‘void LbmFsgrSolver::preinitGrids()’: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/utilities.h:84:67: error: ‘gDebugLevel’ not specified in enclosing ‘parallel’ 84 | #define errMsg(from,mStr) if(gDebugLevel>0){ MSGSTREAM; msg << mStr <<"\n"; messageOutputFunc(from, DM_ERROR, msg.str(), 0); } | ~~~~~~~~~~~^~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:128:2: note: in expansion of macro ‘errMsg’ 128 | errMsg("LbmFsgrSolver","Invalid domain size Nj="<<Nj<<" Nthrds="<<Nthrds); \ | ^~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1135:3: note: in expansion of macro ‘GRID_REGION_START’ 1135 | GRID_REGION_START(); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1129:9: error: enclosing ‘parallel’ 1129 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:19, from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:134:76: error: ‘iend’ not specified in enclosing ‘parallel’ 134 | debMsgStd("ParaLoop::OMP",DM_MSG,"Thread:"<<id<<" i:"<<istart<<"-"<<iend<<" j:"<<jstart<<"-"<<jend<<", k:"<<kstart<<"-"<<kend<<" ", 1); \ | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/utilities.h:77:96: note: in definition of macro ‘debMsgStd’ 77 | # define debMsgStd(from,id,mStr,level) if(gDebugLevel>=level) { MSGSTREAM; msg << mStr <<"\n"; messageOutputFunc(from, id, msg.str(), 0); } | ^~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1135:3: note: in expansion of macro ‘GRID_REGION_START’ 1135 | GRID_REGION_START(); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1129:9: error: enclosing ‘parallel’ 1129 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:150:20: error: ‘lev’ not specified in enclosing ‘parallel’ 150 | pFlagSrc = &RFLAG(lev, istart, jstart, k, SRCS(lev)); \ | ^~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:789:43: note: in definition of macro ‘_RFLAG’ 789 | #define _RFLAG(level,xx,yy,zz,set) mLevel[level].mprsFlags[set][ (LONGINT)LBMGI((level),(xx),(yy),(zz),(set)) ] | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:150:14: note: in expansion of macro ‘RFLAG’ 150 | pFlagSrc = &RFLAG(lev, istart, jstart, k, SRCS(lev)); \ | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1136:3: note: in expansion of macro ‘GRID_LOOP_START’ 1136 | GRID_LOOP_START(); | ^~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1129:9: error: enclosing ‘parallel’ 1129 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:19, from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp: In member function ‘void LbmFsgrSolver::standingFluidPreinit()’: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/utilities.h:84:67: error: ‘gDebugLevel’ not specified in enclosing ‘parallel’ 84 | #define errMsg(from,mStr) if(gDebugLevel>0){ MSGSTREAM; msg << mStr <<"\n"; messageOutputFunc(from, DM_ERROR, msg.str(), 0); } | ~~~~~~~~~~~^~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:128:2: note: in expansion of macro ‘errMsg’ 128 | errMsg("LbmFsgrSolver","Invalid domain size Nj="<<Nj<<" Nthrds="<<Nthrds); \ | ^~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1173:2: note: in expansion of macro ‘GRID_REGION_START’ 1173 | GRID_REGION_START(); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1167:9: error: enclosing ‘parallel’ 1167 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:19, from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:134:76: error: ‘iend’ not specified in enclosing ‘parallel’ 134 | debMsgStd("ParaLoop::OMP",DM_MSG,"Thread:"<<id<<" i:"<<istart<<"-"<<iend<<" j:"<<jstart<<"-"<<jend<<", k:"<<kstart<<"-"<<kend<<" ", 1); \ | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/utilities.h:77:96: note: in definition of macro ‘debMsgStd’ 77 | # define debMsgStd(from,id,mStr,level) if(gDebugLevel>=level) { MSGSTREAM; msg << mStr <<"\n"; messageOutputFunc(from, id, msg.str(), 0); } | ^~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1173:2: note: in expansion of macro ‘GRID_REGION_START’ 1173 | GRID_REGION_START(); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1167:9: error: enclosing ‘parallel’ 1167 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ In file included from /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:13: /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:150:20: error: ‘lev’ not specified in enclosing ‘parallel’ 150 | pFlagSrc = &RFLAG(lev, istart, jstart, k, SRCS(lev)); \ | ^~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_class.h:789:43: note: in definition of macro ‘_RFLAG’ 789 | #define _RFLAG(level,xx,yy,zz,set) mLevel[level].mprsFlags[set][ (LONGINT)LBMGI((level),(xx),(yy),(zz),(set)) ] | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/loop_tools.h:150:14: note: in expansion of macro ‘RFLAG’ 150 | pFlagSrc = &RFLAG(lev, istart, jstart, k, SRCS(lev)); \ | ^~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1183:2: note: in expansion of macro ‘GRID_LOOP_START’ 1183 | GRID_LOOP_START(); | ^~~~~~~~~~~~~~~ /var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b/intern/elbeem/intern/solver_main.cpp:1167:9: error: enclosing ‘parallel’ 1167 | #pragma omp parallel default(none) num_threads(mNumOMPThreads) \ | ^~~ make[2]: *** [intern/elbeem/CMakeFiles/bf_intern_elbeem.dir/build.make:323: intern/elbeem/CMakeFiles/bf_intern_elbeem.dir/intern/solver_main.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-gfx/blender-2.79b-r1/work/blender-2.79b_build' make[1]: *** [CMakeFiles/Makefile2:858: intern/elbeem/CMakeFiles/bf_intern_elbeem.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
Compiled fine April 23rd, now using GCC 9.1
See also 685138 and 685158 for similar GCC 9.1 issues
Duplicate of https://bugs.gentoo.org/685922 IMHO.
*** This bug has been marked as a duplicate of bug 685922 ***