View previous topic :: View next topic |
Author |
Message |
CaptainBlood Veteran


Joined: 24 Jan 2010 Posts: 1998
|
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: 6428 Location: /usr/lib64/lv2
|
Posted: Tue Nov 29, 2016 12:31 am Post subject: |
|
|
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. _________________ Gentoo Studio: A Gentoo-based, professional digital audio workstation OS. |
|
Back to top |
|
 |
fedeliallalinea Bodhisattva


Joined: 08 Mar 2003 Posts: 25122 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: 6428 Location: /usr/lib64/lv2
|
Posted: Tue Nov 29, 2016 9:26 pm Post subject: |
|
|
What he said. ^ _________________ Gentoo Studio: A Gentoo-based, professional digital audio workstation OS. |
|
Back to top |
|
 |
asturm Developer


Joined: 05 Apr 2007 Posts: 8053 Location: Austria
|
Posted: Tue Nov 29, 2016 9:28 pm Post subject: |
|
|
Exactly. News items exist for a reason, please don't ignore them. _________________ backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic |
|
Back to top |
|
 |
CaptainBlood Veteran


Joined: 24 Jan 2010 Posts: 1998
|
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 Veteran


Joined: 24 Jan 2010 Posts: 1998
|
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 Veteran


Joined: 24 Jan 2010 Posts: 1998
|
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 |
|
 |
|