View previous topic :: View next topic |
Author |
Message |
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Letharion Veteran
Joined: 13 Jun 2005 Posts: 1342 Location: Sweden
|
Posted: Sun Jan 23, 2011 5:48 pm Post subject: |
|
|
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 |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
Tolstoi l33t
Joined: 20 May 2004 Posts: 678
|
Posted: Tue Feb 01, 2011 5:55 am Post subject: |
|
|
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 |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Tue Feb 01, 2011 2:41 pm Post subject: |
|
|
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/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
ecko Tux's lil' helper
Joined: 04 Jul 2010 Posts: 99
|
Posted: Fri Feb 04, 2011 8:24 am Post subject: Mixing +graphite and -graphite gcc |
|
|
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 |
|
|
cruzki123 Apprentice
Joined: 16 May 2008 Posts: 262
|
Posted: Fri Feb 04, 2011 8:37 am Post subject: |
|
|
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 |
|
|
rhill Retired Dev
Joined: 22 Oct 2004 Posts: 1629 Location: sk.ca
|
Posted: Fri Feb 04, 2011 11:22 pm Post subject: |
|
|
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 |
|
|
mantoo Tux's lil' helper
Joined: 08 Dec 2007 Posts: 98 Location: Germany
|
Posted: Sat May 28, 2011 12:50 pm Post subject: |
|
|
is there any news on this? |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Oct 02, 2012 12:09 pm Post subject: |
|
|
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
then I enter
then I rebuild binutils and I think the other one (sorry I am tired) is libtool.
But I keep seeing
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 |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Tue Oct 02, 2012 12:51 pm Post subject: |
|
|
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 |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Tue Oct 02, 2012 12:58 pm Post subject: |
|
|
It's possible that.....
by not
well......
that could well have been my problem. _________________ Whatever you do, do it properly! |
|
Back to top |
|
|
Thistled Guru
Joined: 06 Jan 2011 Posts: 572 Location: Scotland
|
Posted: Sun Oct 07, 2012 11:23 pm Post subject: |
|
|
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 |
|
|
|