Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blender 78a doesn't built after gcc 4.9.4->5.4.0[Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1103

PostPosted: Mon Nov 28, 2016 1:01 pm    Post subject: Blender 78a doesn't built after gcc 4.9.4->5.4.0[Solved] Reply with quote

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
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Tue Nov 29, 2016 12:31 am    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21771
Location: here

PostPosted: Tue Nov 29, 2016 6:53 am    Post subject: Reply with quote

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
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Tue Nov 29, 2016 9:26 pm    Post subject: Reply with quote

What he said. ^
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6995
Location: Austria

PostPosted: Tue Nov 29, 2016 9:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1103

PostPosted: Fri Dec 30, 2016 12:20 pm    Post subject: Reply with quote

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.
Code:
emerge -e world
done.
Issue remains.

Thks 4 ur attention, interest & support.
Back to top
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1103

PostPosted: Thu Apr 13, 2017 5:49 am    Post subject: Reply with quote

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
View user's profile Send private message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1103

PostPosted: Thu Apr 13, 2017 5:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum