Bug 1393157

Summary: Blender failure on PPC64LE
Product: [Fedora] Fedora Reporter: Luya Tshimbalanga <luya>
Component: blenderAssignee: Luya Tshimbalanga <luya_tfz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dennis, design-devel, hobbes1069, jochen, kevin, kwizart, luya_tfz, mtasaka, promac
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: blender-2.78a-3.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-13 04:03:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1051573    

Description Luya Tshimbalanga 2016-11-09 02:12:04 UTC
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

Comment 1 Mamoru TASAKA 2016-11-09 05:00:09 UTC
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.

Comment 2 Mamoru TASAKA 2016-11-12 15:58:33 UTC
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).

Comment 3 Luya Tshimbalanga 2016-11-12 19:58:08 UTC
(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.