Bug 1393157 - Blender failure on PPC64LE
Summary: Blender failure on PPC64LE
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: blender
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2016-11-09 02:12 UTC by Luya Tshimbalanga
Modified: 2016-11-13 04:03 UTC (History)
9 users (show)

Fixed In Version: blender-2.78a-3.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-13 04:03:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.