Description of problem: Blender failed to build on Rawhide due to PPC64LE architecture Version-Release number of selected component (if applicable): Rawhide How reproducible: Always Steps to Reproduce: 1. Use koji to build Blender on rawhide 2. 3. Actual results: Failure on PPC64LE Expected results: Build should be successfull Additional info: https://bugzilla.redhat.com/show_bug.cgi?id=1051573 PPC64LETracker
Looks similar with https://bugs.freedesktop.org/show_bug.cgi?id=68504 https://lists.freedesktop.org/archives/mesa-dev/2013-August/043890.html explained on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241 -std=gnu++11 does not work, perhaps we have to do "#undef bool" somewhere.
Posted here: https://lists.blender.org/pipermail/bf-committers/2016-November/047844.html Currently adding -mno-altivec on CXXFLAGS and patching against extern/glog/src/stacktrace_powerpc-inl.h makes compilation succeed. Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=16415607 Luya, if you are okay, I can commit this change (for now).
(In reply to Mamoru TASAKA from comment #2) > Posted here: > https://lists.blender.org/pipermail/bf-committers/2016-November/047844.html > > Currently adding -mno-altivec on CXXFLAGS and patching against > extern/glog/src/stacktrace_powerpc-inl.h makes compilation succeed. > > Scratch build: > https://koji.fedoraproject.org/koji/taskinfo?taskID=16415607 > > Luya, if you are okay, I can commit this change (for now). Go ahead, Mamoru.
For now, fixed by http://pkgs.fedoraproject.org/cgit/rpms/blender.git/commit/?id=79a7c9d1e736fbe250abc15662904daa9ef55c16 Build successfully finished. http://koji.fedoraproject.org/koji/buildinfo?buildID=817258