Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 4.5 testing
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 13, 14, 15  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5695
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Jan 21, 2011 9:16 pm    Post subject: Reply with quote

any news on openoffice / libreoffice being compiled with

graphite and/or flto and fwhole-program ?
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1259
Location: Sweden

PostPosted: Sun Jan 23, 2011 5:48 pm    Post subject: Reply with quote

I've built libreoffice with
Code:
CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CXXFLAGS="${CFLAGS}"

Can't say I know the ebuild doesn't filter though.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5695
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sun Jan 23, 2011 6:29 pm    Post subject: Reply with quote

Letharion wrote:
I've built libreoffice with
Code:
CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CXXFLAGS="${CFLAGS}"

Can't say I know the ebuild doesn't filter though.


the ebuild doesn't anymore - since it got moved out

take a look at the eclass/libreoffice.eclass file :idea:
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
Tolstoi
l33t
l33t


Joined: 20 May 2004
Posts: 645

PostPosted: Tue Feb 01, 2011 5:55 am    Post subject: Reply with quote

Last weekend I began using the lto and graphite use flags with these cflags +flto

CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CXXFLAGS="${CFLAGS}"

After a few errors I removed flto and lto and everything compiled fine. The only problem I have now is that firefox and thunderbird as well as firefox-bin and thunderbird-bin segfault when starting the applications.

I followed a hint in another thread and compiled firefox, thunderbird and xulrunner with safe cflags but that didn't solve this issue either.
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 5695
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Feb 01, 2011 2:41 pm    Post subject: Reply with quote

Tolstoi wrote:
Last weekend I began using the lto and graphite use flags with these cflags +flto

CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CXXFLAGS="${CFLAGS}"

After a few errors I removed flto and lto and everything compiled fine. The only problem I have now is that firefox and thunderbird as well as firefox-bin and thunderbird-bin segfault when starting the applications.

I followed a hint in another thread and compiled firefox, thunderbird and xulrunner with safe cflags but that didn't solve this issue either.


you might need to re-emerge

zlib and a few additional dependencies of xulrunner and firefox so that they won't crash anymore

(at least this was the case in the past)
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004 :D
Back to top
View user's profile Send private message
ecko
n00b
n00b


Joined: 04 Jul 2010
Posts: 61

PostPosted: Fri Feb 04, 2011 8:24 am    Post subject: Mixing +graphite and -graphite gcc Reply with quote

Hello, I'm interested in testing if the graphite flags improve performance of a few apps in science overlay, but not necessarily for world. Is it safe to recompile gcc with the +graphite USE and not use the -floop-* flags ? I would change the CFLAGS only when compiling something on my list. Or maybe there is a better way to get two separated profiles ?
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 233

PostPosted: Fri Feb 04, 2011 8:37 am    Post subject: Reply with quote

There is no problem at all in use the graphite flags in ALL packages in world from my experiences. If you want to use only on a certain packages, you can safetly compile gcc with graphite and only enable when you want.
Back to top
View user's profile Send private message
rhill
Developer
Developer


Joined: 22 Oct 2004
Posts: 1629
Location: sk.ca

PostPosted: Fri Feb 04, 2011 11:22 pm    Post subject: Reply with quote

the graphite USE flag pulls in the needed dependencies. if you don't use the graphite (-floop-*) flags then there is no difference.
_________________
by design, by neglect
for a fact or just for effect
Back to top
View user's profile Send private message
mantoo
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2007
Posts: 98
Location: Germany

PostPosted: Sat May 28, 2011 12:50 pm    Post subject: Reply with quote

is there any news on this?
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 478
Location: Scotland

PostPosted: Tue Oct 02, 2012 12:09 pm    Post subject: Reply with quote

Am I doing something wrong with GCC-4.5.* ?
It seems some - but not all - packages fail to build.
It's the same if I use GCC-4.6.*

Let me see if I am doing this right.....
I upgade GCC, then select the new one using
Code:
gcc-config

then I enter
Code:
. /etc/profile

then I rebuild binutils and I think the other one (sorry I am tired) is libtool.
But I keep seeing
Code:
g_mutex_......
type errors when packages are failing to compile or build.
Am I supposed to rebuild glibc when I upgrade GCC?
A nice explanation for a simpleton would not go a miss here.
Cheers.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
aCOSwt
Moderator
Moderator


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Tue Oct 02, 2012 12:51 pm    Post subject: Reply with quote

Thistled wrote:
Am I supposed to rebuild glibc when I upgrade GCC?
A nice explanation for a simpleton would not go a miss here.

http://www.gentoo.org/doc/en/gcc-upgrading.xml
_________________
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 478
Location: Scotland

PostPosted: Tue Oct 02, 2012 12:58 pm    Post subject: Reply with quote

It's possible that.....
by not
Code:
env-update

well......
that could well have been my problem.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Thistled
Guru
Guru


Joined: 06 Jan 2011
Posts: 478
Location: Scotland

PostPosted: Sun Oct 07, 2012 11:23 pm    Post subject: Reply with quote

Seems I was right. I forgot to env-update, and that is why many packages were failing.
Now if only portage could have reminded me about that.
All seems well now.
_________________
Whatever you do, do it properly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 13, 14, 15
Page 15 of 15

 
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