View previous topic :: View next topic |
Author |
Message |
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3638
|
Posted: Mon Nov 28, 2016 1:01 pm Post subject: Blender 78a doesn't built after gcc 4.9.4->5.4.0[Solved] |
|
|
Seems like it doesn't link...
Have no emerge info because of reboot after building against /var/tmpfs. Code: | var/tmp/portage/media-gfx/blender-2.78a/work/blender-2.78a/intern/cycles/subd/subd_patch.cpp: In member function ‘virtual ccl::BoundBox ccl::LinearQuadPatch::bound()’:
/var/tmp/portage/media-gfx/blender-2.78a/work/blender-2.78a/intern/cycles/subd/subd_patch.cpp:77:10: error: alignment of array elements is greater than element size
BoundBox LinearQuadPatch::bound() | Am I the only one? Any clue?
Thks 4 ur attention.
Last edited by CaptainBlood on Thu Apr 13, 2017 5:49 am; edited 1 time in total |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30964 Location: here
|
Posted: Tue Nov 29, 2016 6:53 am Post subject: |
|
|
I think, if the problem is the switch from gcc-4.x to gcc-5, the better way is command revdep-rebuild --library 'libstdc\+\+\.so\.6' -- --exclude gcc (reference). _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8938
|
Posted: Tue Nov 29, 2016 9:28 pm Post subject: |
|
|
Exactly. News items exist for a reason, please don't ignore them. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3638
|
Posted: Fri Dec 30, 2016 12:20 pm Post subject: |
|
|
audiodef wrote: | I fixed one package so far after a gcc4-5 upgrade by doing
Code: |
emerge -e [package]
|
Maybe an emerge -e world after a major gcc update is what's needed. | done.
Issue remains.
Thks 4 ur attention, interest & support. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3638
|
Posted: Thu Apr 13, 2017 5:49 am Post subject: |
|
|
Finally succedeed with gcc 5.4 by setting gcc optimization level from 02 to 00.
As a side note openmp MUST be activated if some libs have also been compiled with it.
So in such case openmp is not an option anymore!
Thks for your attention, interest & support. |
|
Back to top |
|
|
CaptainBlood Advocate
Joined: 24 Jan 2010 Posts: 3638
|
Posted: Thu Apr 13, 2017 5:55 pm Post subject: |
|
|
Even -O1 builds fine.
Should be taken into account this thread is highly related 2 openmp activation.
Thks 4 ur attention, interest & support. |
|
Back to top |
|
|
|