Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is the gcc-4.7.0 thread?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Mon Jun 04, 2012 6:36 am    Post subject: Where is the gcc-4.7.0 thread? Reply with quote

I can't find it. Is no one using gcc-4.7.0? Is it able to compile system and firefox/thunderbird yet?
Back to top
View user's profile Send private message
ryao
Retired Dev
Retired Dev


Joined: 27 Feb 2012
Posts: 132

PostPosted: Mon Jun 04, 2012 6:52 am    Post subject: Re: Where is the gcc-4.7.0 thread? Reply with quote

devsk wrote:
I can't find it. Is no one using gcc-4.7.0? Is it able to compile system and firefox/thunderbird yet?


Bug #390247 might be of interest to you.
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Fri Jun 08, 2012 10:53 am    Post subject: Reply with quote

the answer is yes.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8704
Location: ~Brussels - Belgique

PostPosted: Fri Jun 08, 2012 11:06 am    Post subject: Reply with quote

And no x32 thread ? 8)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
cruzki123
Apprentice
Apprentice


Joined: 16 May 2008
Posts: 262

PostPosted: Fri Jun 08, 2012 4:08 pm    Post subject: Reply with quote

XavierMiller wrote:
And no x32 thread ? 8)


There seems to be one but in another subforum

http://forums-web1.gentoo.org/viewtopic-p-7045628.html?sid=1f24c53085152f8328e3496dbcbf4317

I REALLY miss a thread or a wiki post about the x32 matter.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Sun Aug 26, 2012 9:01 pm    Post subject: Reply with quote

Trying to make this the gcc-4.7 thread, here is a list of packages that currently don't build for me using gcc-4.7.2_pre9999, but are fine with 4.7.1:

Code:
app-emulation/virtualbox-{4.1.20-r1, 4.2.0_rc2}
sys-devel/dev86-{0.16.18, 0.16.19}

PS: I haven't tried to rebuild system let alone world, there's still a long list in the gcc-4.7 tracker, albeit just a very minimal overlap with my world file.

EDIT: Currently rebuilding `emerge -e @system` with gcc-4.7.2_pre9999 - all 539 packages built fine.

EDIT2: The virtualbox issue might be just some Makefile.kmk trouble with the gcc version detection
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1646

PostPosted: Fri Oct 05, 2012 5:26 pm    Post subject: Reply with quote

A few gcc-4.7 questions.
What versions of glibc are you all using?
I am not sure it it is better to stay with stable everything or go keyword?

Were you able to build dev-lang/perl-5.16 ?

I noticed in the bug reports that people are not enabling the -flto in cflags it seems this needs to be enabled in the cflags for the new feature to be used.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Fri Oct 05, 2012 6:13 pm    Post subject: Reply with quote

turtles wrote:
A few gcc-4.7 questions.
What versions of glibc are you all using?
I am not sure it it is better to stay with stable everything or go keyword?

Were you able to build dev-lang/perl-5.16 ?

I noticed in the bug reports that people are not enabling the -flto in cflags it seems this needs to be enabled in the cflags for the new feature to be used.


I couldn't build dev-lang/perl-5.16.1 with 4.7.2 (with or without lto) Along with a bunch of other stuff, in fact after finishing @system I had a handful of things that wouldn't build at all then I couldn't use any commands at all, luckily I did an rsync before giving that gcc version a spin. I'm not sure if it was something on my side though since many are able to build everything just fine. Running ~amd64 - sys-libs/glibc-2.15-r3.
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1646

PostPosted: Fri Oct 05, 2012 6:21 pm    Post subject: Reply with quote

It is interesting what builds and what doesn't
I am using:
[2] i686-pc-linux-gnu-4.6.3
[3] i686-pc-linux-gnu-4.7.1 *
So far I cant get Perl to build.
I got most of my minimal system to build with it though.
I have not run in to problems mixing stuff from the above 2 versions.
Interestingly I got Firefox 15 to build (10 wont) and have noticed a improvement in a long standing annoyance loading really long huge html pages. It could just be the version bump in firefox though.

EDIT: (I am on -r2 and more stable stuff than keyworded however I always keyword perl)
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Fri Oct 05, 2012 6:37 pm    Post subject: Reply with quote

Hmm, perl-5.16.1 should have been included when I rebuilt my system (>500 packages, sane CFLAGS and not one failure) with gcc-4.7.2_pre9999, will check immediately.

CFLAGS="-O2 -march=core2 -pipe -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block"
ACCEPT_KEYWORDS="~amd64"
sys-devel/gcc-4.7.2
sys-libs/glibc-2.15-r3

Yep, perl-5.16.1 did just fine again with the following USE flags: "doc gdbm -berkdb -debug -ithreads"

@turtles: You will likely stumble upon some stable packages that fail to build with gcc-4.7.2. I would put those into p.keywords with an increased version number.

One or two world packages that were to be emerged after the gcc-4.7.2 switch were not covered by the tracker bug yet, one of them gnash, it still needs a patch that can be found in bugs.gentoo.org.
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Fri Oct 05, 2012 10:39 pm    Post subject: Reply with quote

@turtles
I must apologise for giving you misleading information due to a silly mistake on my part :D
After posting I was searching and found: https://forums.gentoo.org/viewtopic-t-927252-start-0.html - I completely overlooked this.
dev-lang/perl-5.16.1 will build for me now, but not with lto. I guess now it's time for round two :twisted:

E̶D̶I̶T̶:̶ ̶I̶ ̶g̶o̶t̶ ̶p̶e̶r̶l̶ ̶t̶o̶ ̶b̶u̶i̶l̶d̶ ̶w̶i̶t̶h̶ ̶l̶t̶o̶ ̶a̶f̶t̶e̶r̶ ̶e̶m̶e̶r̶g̶e̶ ̶-̶e̶ ̶@̶s̶y̶s̶t̶e̶m̶.̶ ̶I̶ ̶a̶l̶s̶o̶ ̶n̶o̶w̶ ̶m̶a̶n̶a̶g̶e̶d̶ ̶t̶o̶ ̶f̶u̶l̶l̶y̶ ̶b̶u̶i̶l̶d̶ ̶@̶s̶y̶s̶t̶e̶m̶ ̶a̶n̶d̶ ̶@̶w̶o̶r̶l̶d̶ ̶w̶i̶t̶h̶ ̶4̶.̶7̶.̶2̶ ̶a̶n̶d̶ ̶l̶t̶o̶ ̶w̶i̶t̶h̶o̶u̶t̶ ̶e̶r̶r̶o̶r̶ :D


Last edited by GFCCAE6xF on Sat Jan 05, 2013 10:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1646

PostPosted: Sat Jan 05, 2013 5:45 pm    Post subject: Reply with quote

I am currious how folks are doing with gcc 4.7 and lto
I followed this blog post:
http://realnc.blogspot.com/2012/06/building-gentoo-linux-with-gcc-47-and.html
and enabled the package.env
Anyone still using a package.env? If so what do you have in it?

Versions lower than sys-auth/pam_mount-2.13-r1 will not build with gcc 4.7
sys-auth/pam_mount-2.13-r1 does build with LTO.

Here are a few I had to add to my package.env that were not on his list:
Code:
dev-lang/spidermonkey  no-lto.conf
dev-libs/gobject  no-lto.conf
dev-libs/gobject-introspection  no-lto.conf
dev-libs/glib  no-lto.conf
media-libs/mesa no-lto.conf
media-video/mplayer no-lto.conf


Cheers
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sat Jan 05, 2013 6:14 pm    Post subject: Reply with quote

I didn't have any new ones in my package.env then mentioned on that blog afiak, I completely forgot I had added things to the package.env before rebuilding the second or third time :oops:
Anyway, a few days later I noticed some auto-mounting wasn't working right and a few programs were also really slow to start up, constantly, so I rolled back to the backup I made before trying lto and just stopped messing with it.

Since then though I had a huge system slimdown getting rid of *kit's and udisks and all that stuff, I'm planning on trying an lto rebuild of the system when gcc 4.8 is beta in the toolchain overlay.
Also, I must say that the lto experience was a lot less painful then the compiling the system with clang experience.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sat Jan 05, 2013 8:48 pm    Post subject: Reply with quote

rorgoroth wrote:
Also, I must say that the lto experience was a lot less painful then the compiling the system with clang experience.

The main disadvantage of clang is that lto is a lot worse!
To have an example, compile eix with gcc and with clang, both with and without lto: while gcc+lto reduces the binary by a factor 2-3, clang+lto has almost no effect on the produced size (which is about as bad as gcc without lto).
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sat Jan 05, 2013 10:57 pm    Post subject: Reply with quote

mv wrote:
rorgoroth wrote:
Also, I must say that the lto experience was a lot less painful then the compiling the system with clang experience.

The main disadvantage of clang is that lto is a lot worse!
To have an example, compile eix with gcc and with clang, both with and without lto: while gcc+lto reduces the binary by a factor 2-3, clang+lto has almost no effect on the produced size (which is about as bad as gcc without lto).

Interesting, I had a similar results when compiling a couple of games whilst just seeing if they would build with clang, I didn't compare any system binaries though.
Also, march=native with clang can really screw up apparently, chromium built fine then refused to run because of illegal hardware instructions and after some googling it seems clang with march=native is an issue sometimes, after 20 mins in elinks I just went for a rollback, who knows what else may have been broken.

Anyway, which linker are any of you lto folks using btw? GCC guys seem to recommend using the gold linker when using lto (http://gcc.gnu.org/onlinedocs/gccint/WHOPR.html#WHOPR + http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements ). After reading up a while ago the gold linker is a lot faster then gnu ld even for non-lto usage. I switched to it some time ago, admittedly after I passed on lto.
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1646

PostPosted: Sat Jan 05, 2013 11:35 pm    Post subject: Reply with quote

Id say my system is stable and noticably faster.
google-chrome and then firefox more stable and faster after I did -lto
and gcc 4.7.1
I am not going to push it with 4.7.2
also:

net-p2p/qbittorrent-3.0.6 is the lowest version that builds with 4.7 -lto

rorgoroth lots of us are interested in making of all the kit stuff optional. keep us posted.
I would be interested in helping make a wiki or install guide for that. however the wiki hates me when ever I try to write something I break too many wiki rules...
I compiled a interesting tool from puppy linux called pup-volume-manager.
I was considering porting it more completely to Gentoo with an ebuild but I am not sure what it should block.
I have mostly been using udisks-glue with my various openbox / JWM setups.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sat Jan 05, 2013 11:59 pm    Post subject: Reply with quote

turtles wrote:

rorgoroth lots of us are interested in making of all the kit stuff optional. keep us posted.
I would be interested in helping make a wiki or install guide for that. however the wiki hates me when ever I try to write something I break too many wiki rules...
I compiled a interesting tool from puppy linux called pup-volume-manager.
I was considering porting it more completely to Gentoo with an ebuild but I am not sure what it should block.
I have mostly been using udisks-glue with my various openbox / JWM setups.


I think the main way is choice of applications, and of course globally disabling polkit and consolekit, what caught me out is that I had installed by accident consolekit to world, took maybe 2 hours trying to fix a circular dependency between consolekit, polkit and pambase before realizing my stupidity and just -C'ing consolekit and then full update fixed everything up. Take a look at https://forums.gentoo.org/viewtopic-p-7191396.html for some specifics people have worked through.
I completely got rid of anything udisk related and use pmount in combination with spacefm (file manager) and it works very nice in terms of auto-mounting, syncing, removing, ejecting, etc etc.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Sun Jan 06, 2013 10:22 am    Post subject: Reply with quote

You lot are making me really curious about -lto. Having installed 4.7.2 already and no other issues left... :) Unfortunately, gold seems to break a lot of things, so I'm not sure one should switch to it at the same time as -lto.
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sun Jan 06, 2013 11:34 am    Post subject: Reply with quote

genstorm wrote:
You lot are making me really curious about -lto. Having installed 4.7.2 already and no other issues left... :) Unfortunately, gold seems to break a lot of things, so I'm not sure one should switch to it at the same time as -lto.

On the gold topic, what has broken? I think I read about a couple of oddities some time ago but my whole system and world was rebuilt a few weeks ago (graphite curiosity/testing) and nothing failed or broke, if something does fail or break then the makefile needs to be fixed afiak.

The thread got me wondering about lto again too, I had @system rebuilt last with lto (forgot to set it to build world after, woke up earlier and kicked myself), going to set @world going in a few mins.

LTO build failures:
@system
Code:
 *  sys-apps/sysvinit-2.88-r4
 *  dev-lang/perl-5.16.1
 *  dev-libs/elfutils-0.155
 *  sys-libs/gpm-1.20.7-r1
 *  sys-fs/e2fsprogs-1.42.6
 *  dev-lang/python-3.2.3-r2
 *  sys-devel/llvm-3.2
 *  media-libs/mesa-9.0.1


@world
Code:
 * app-cdr/cdrtools-3.01_alpha10
 * sys-apps/pciutils-3.1.10
 * dev-util/dialog-1.2.20121230
 * media-libs/alsa-lib-1.0.26
 * app-text/aspell-0.60.6.1
 * app-text/rarian-0.8.1-r2
 * sys-fs/mtools-4.0.17
 * app-admin/sudo-1.8.6_p3
 * net-fs/autofs-5.0.6-r5
 * media-video/ffmpeg-1.0.1
 * x11-libs/wxGTK-2.8.12.1
 * x11-base/xorg-server-1.13.1.901
 * media-video/mplayer2-2.0_p20121128


Last edited by GFCCAE6xF on Mon Jan 07, 2013 10:46 pm; edited 2 times in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Sun Jan 06, 2013 11:56 am    Post subject: Reply with quote

About gold: https://bugs.gentoo.org/show_bug.cgi?id=269315

Five open bugs listed there are showstoppers for me. Given there is not a lot of testing going on with gold, I suppose there will be many more failing packages out there. Probably it's best to try out in a VM or wait for flameeyes to set up a gold tinderbox again. And if, I would first go with -lto to see what breaks, then try with gold. Unless the scenario's the other way round, with -lto having a better chance to work with gold.
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6747

PostPosted: Sun Jan 06, 2013 5:22 pm    Post subject: Reply with quote

rorgoroth wrote:
Anyway, which linker are any of you lto folks using btw?

For clang+lto it is not a question: You have to use gold, otherwise it will not work.
For gcc, I use bfd. I had some issues when tryig gold as system linker, but I forgot what it was. I think that I was just overcareful and reverted at the first problem.
Quote:
GCC guys seem to recommend using the gold linker

The main difference is that if you do not use gold then static libraries (.a) are linked without being "recompiled", i.e. you do not obtain all theoretically possible advantages of lto for projects which use static archives in their build system.

Here is my list of files not working with lto. Maybe some of the projects are fixed meanwhile, but I guess most not. The reason to put firefox and libreoffice in this list was compile time IIRC.
/etc/portage/package/cflag/flto wrote:
*-libs/* +fwhole-program
*-plugins/* +fwhole-program
app-admin/sudo +fwhole-program
app-arch/bzip2 +flto* +fuse-linker-plugin +fwhole-program
app-arch/cpio +flto* +fuse-linker-plugin +fwhole-program
app-arch/p7zip +flto* +fuse-linker-plugin +fwhole-program
app-arch/par2cmdline +flto* +fuse-linker-plugin +fwhole-program
app-arch/sharutils +fwhole-program
app-arch/star +flto* +fuse-linker-plugin +fwhole-program
app-arch/tar +fwhole-program
app-arch/unrar +flto* +fuse-linker-plugin +fwhole-program
app-arch/unzip +fwhole-program
app-arch/zpaq +fwhole-program
app-backup/dar +flto* +fuse-linker-plugin +fwhole-program
app-cdr/cdrtools +flto* +fuse-linker-plugin +fwhole-program
app-cdr/k3b +flto* +fuse-linker-plugin +fwhole-program
app-crypt/gnupg +fwhole-program
app-crypt/pinentry +fwhole-program
app-crypt/qca +flto* +fuse-linker-plugin +fwhole-program
app-editors/kile +flto* +fuse-linker-plugin +fwhole-program
app-editors/vim +flto* +fuse-linker-plugin +fwhole-program
app-emulation/bochs +flto* +fuse-linker-plugin +fwhole-program
app-emulation/dosemu +flto* +fuse-linker-plugin +fwhole-program
app-emulation/vice +flto* +fuse-linker-plugin +fwhole-program
app-emulation/wine +flto* +fuse-linker-plugin +fwhole-program
app-misc/lirc +fwhole-program
app-misc/mc +fwhole-program
app-misc/strigi +flto* +fuse-linker-plugin +fwhole-program
#app-misc/tmux +flto* +fuse-linker-plugin +fwhole-program
app-office/calligra +flto* +fuse-linker-plugin +fwhole-program
app-office/libreoffice +flto* +fuse-linker-plugin +fwhole-program
app-shells/bash +flto* +fuse-linker-plugin +fwhole-program
app-shells/zsh +flto* +fuse-linker-plugin +fwhole-program
app-text/a2ps +fwhole-program
app-text/aspell +flto* +fuse-linker-plugin +fwhole-program
app-text/convertlit +fwhole-program
app-text/djvu +flto* +fuse-linker-plugin +fwhole-program
app-text/dvipsk +flto* +fuse-linker-plugin +fwhole-program
app-text/ebook-tools +fwhole-program
app-text/ghostscript-gpl +flto* +fuse-linker-plugin +fwhole-program
app-text/gocr +fwhole-program
app-text/hunspell +flto* +fuse-linker-plugin +fwhole-program
app-text/poppler +flto* +fuse-linker-plugin +fwhole-program
app-text/ps2pkm +flto* +fuse-linker-plugin +fwhole-program
app-text/rarian +flto* +fuse-linker-plugin +fwhole-program
app-text/recode +fwhole-program
app-text/sablotron +flto* +fuse-linker-plugin +fwhole-program
app-text/stardict +flto* +fuse-linker-plugin +fwhole-program
app-text/teckit +flto* +fuse-linker-plugin +fwhole-program
app-text/texlive-core +flto* +fuse-linker-plugin +fwhole-program
app-text/unpaper +flto* +fuse-linker-plugin +fwhole-program
app-text/wdiff +fwhole-program
app-text/xdvik +flto* +fuse-linker-plugin +fwhole-program
app-text/zathura* +fwhole-program
dev-cpp/atkmm +flto* +fuse-linker-plugin +fwhole-program
dev-cpp/cairomm +flto* +fuse-linker-plugin +fwhole-program
dev-cpp/clucene +flto* +fuse-linker-plugin +fwhole-program
dev-cpp/glibmm +flto* +fuse-linker-plugin +fwhole-program
dev-cpp/gtkmm +flto* +fuse-linker-plugin +fwhole-program
dev-cpp/libxmlpp +flto* +fuse-linker-plugin +fwhole-program
dev-cpp/pangomm +flto* +fuse-linker-plugin +fwhole-program
dev-db/sqlite +flto* +fuse-linker-plugin +fwhole-program
dev-games/flatzebra +flto* +fuse-linker-plugin +fwhole-program
dev-java/icedtea* +flto* +fuse-linker-plugin +fwhole-program
dev-lang/lua +flto* +fuse-linker-plugin +fwhole-program
dev-lang/orc +flto* +fuse-linker-plugin +fwhole-program
dev-lang/perl +flto* +fuse-linker-plugin +fwhole-program
dev-lang/python +flto* +fuse-linker-plugin +fwhole-program
dev-lang/ruby +flto* +fuse-linker-plugin +fwhole-program
dev-lang/tcl +flto* +fuse-linker-plugin +fwhole-program
dev-lang/tk +flto* +fuse-linker-plugin +fwhole-program
dev-libs/boost +flto* +fuse-linker-plugin +fwhole-program
dev-libs/dbus-glib +flto* +fuse-linker-plugin +fwhole-program
dev-libs/elfutils +flto* +fuse-linker-plugin +fwhole-program
dev-libs/glib +flto* +fuse-linker-plugin +fwhole-program
dev-libs/gmp +flto* +fuse-linker-plugin +fwhole-program
dev-libs/libcdio +flto* +fuse-linker-plugin +fwhole-program
dev-libs/libpcre +flto* +fuse-linker-plugin +fwhole-program
dev-libs/libsigc++ +flto* +fuse-linker-plugin +fwhole-program
dev-libs/libusb +flto* +fuse-linker-plugin +fwhole-program
dev-libs/nspr +flto* +fuse-linker-plugin +fwhole-program
dev-libs/openssl +flto* +fuse-linker-plugin +fwhole-program
dev-libs/ppl +flto* +fuse-linker-plugin +fwhole-program
dev-libs/rlog +flto* +fuse-linker-plugin +fwhole-program
dev-libs/skalibs +flto* +fuse-linker-plugin +fwhole-program
dev-libs/xerces-c +flto* +fuse-linker-plugin +fwhole-program
dev-libs/zziplib +flto* +fuse-linker-plugin +fwhole-program
dev-lisp/clisp +flto* +fuse-linker-plugin +fwhole-program
dev-perl/* +flto* +fuse-linker-plugin +fwhole-program
dev-python/* +flto* +fuse-linker-plugin +fwhole-program
dev-scheme/guile +flto* +fuse-linker-plugin +fwhole-program
dev-tcltk/expect +flto* +fuse-linker-plugin +fwhole-program
dev-tex/luatex +flto* +fuse-linker-plugin +fwhole-program
dev-util/bdelta +flto* +fuse-linker-plugin +fwhole-program
dev-util/cmake +flto* +fuse-linker-plugin +fwhole-program
dev-util/dialog +flto* +fuse-linker-plugin +fwhole-program
dev-util/ltrace +flto* +fuse-linker-plugin +fwhole-program
dev-util/schroot +flto* +fuse-linker-plugin +fwhole-program
dev-util/valgrind +fwhole-program
dev-vcs/cvs +fwhole-program
dev-vcs/git +flto* +fuse-linker-plugin +fwhole-program
dev-vcs/mercurial +flto* +fuse-linker-plugin +fwhole-program
dev-vcs/monotone +flto* +fuse-linker-plugin +fwhole-program
dev-vcs/subversion +flto* +fuse-linker-plugin +fwhole-program
games-action/gltron +flto* +fuse-linker-plugin +fwhole-program
games-arcade/kobodeluxe +fwhole-program
games-arcade/lbreakout +flto* +fuse-linker-plugin +fwhole-program
games-arcade/rocksndiamonds +fwhole-program
games-arcade/xgalaga +fwhole-program
games-board/xboard +flto* +fuse-linker-plugin +fwhole-program
games-emulation/advancemame +fwhole-program
games-emulation/dosbox +flto* +fuse-linker-plugin +fwhole-program
games-emulation/sdlmame +flto* +fuse-linker-plugin +fwhole-program
games-emulation/xmame +flto* +fuse-linker-plugin +fwhole-program
games-emulation/xmess +flto* +fuse-linker-plugin +fwhole-program
games-engines/scummvm +flto* +fuse-linker-plugin +fwhole-program
games-engines/scummvm-tools +flto* +fuse-linker-plugin +fwhole-program
games-fps/doomsday +flto* +fuse-linker-plugin +fwhole-program
games-fps/prboom +flto* +fuse-linker-plugin +fwhole-program
games-puzzle/enigma +flto* +fuse-linker-plugin +fwhole-program
games-rpg/freedroidrpg +flto* +fuse-linker-plugin +fwhole-program
gnome-base/libglade +flto* +fuse-linker-plugin +fwhole-program
kde-base/* +flto* +fuse-linker-plugin +fwhole-program
mail-client/claws-mail +flto* +fuse-linker-plugin +fwhole-program
mail-filter/maildrop +fwhole-program
media-gfx/exiv2 +flto* +fuse-linker-plugin +fwhole-program
media-gfx/gimp +flto* +fuse-linker-plugin +fwhole-program
media-gfx/graphicsmagick +flto* +fuse-linker-plugin +fwhole-program
media-gfx/graphite2 +flto* +fuse-linker-plugin +fwhole-program
media-gfx/graphviz +flto* +fuse-linker-plugin +fwhole-program
media-gfx/imagemagick +flto* +fuse-linker-plugin +fwhole-program
media-gfx/pstoedit +flto* +fuse-linker-plugin +fwhole-program
media-gfx/sam2p +flto* +fuse-linker-plugin +fwhole-program
media-gfx/sane-backends +flto* +fuse-linker-plugin +fwhole-program
media-gfx/transfig +flto* +fuse-linker-plugin +fwhole-program
media-gfx/xv +flto* +fuse-linker-plugin +fwhole-program
media-libs/alsa-lib +flto* +fuse-linker-plugin +fwhole-program
media-libs/flac +flto* +fuse-linker-plugin +fwhole-program
media-libs/freetype +flto* +fuse-linker-plugin +fwhole-program
media-libs/giflib +flto* +fuse-linker-plugin +fwhole-program
media-libs/gstreamer +flto* +fuse-linker-plugin +fwhole-program
media-libs/jbigkit +flto* +fuse-linker-plugin +fwhole-program
media-libs/jpeg +flto* +fuse-linker-plugin +fwhole-program
media-libs/libcaca +flto* +fuse-linker-plugin +fwhole-program
media-libs/libdvbpsi +flto* +fuse-linker-plugin +fwhole-program
media-libs/libdvdnav +flto* +fuse-linker-plugin +fwhole-program
media-libs/libdvdread +flto* +fuse-linker-plugin +fwhole-program
media-libs/liblastfm +flto* +fuse-linker-plugin +fwhole-program
media-libs/libmodplug +flto* +fuse-linker-plugin +fwhole-program
media-libs/libmp4v2 +flto* +fuse-linker-plugin +fwhole-program
media-libs/libpng +flto* +fuse-linker-plugin +fwhole-program
media-libs/libsidplay +flto* +fuse-linker-plugin +fwhole-program
media-libs/libsndfile +flto* +fuse-linker-plugin +fwhole-program
media-libs/libv4l +flto* +fuse-linker-plugin +fwhole-program
media-libs/libvpx +flto* +fuse-linker-plugin +fwhole-program
media-libs/mediastreamer +flto* +fuse-linker-plugin +fwhole-program
media-libs/mesa +flto* +fuse-linker-plugin +fwhole-program
media-libs/musicbrainz +flto* +fuse-linker-plugin +fwhole-program
media-libs/netpbm +flto* +fuse-linker-plugin +fwhole-program
media-libs/opencore-amr +flto* +fuse-linker-plugin +fwhole-program
media-libs/openjpeg +flto* +fuse-linker-plugin +fwhole-program
media-libs/phonon +flto* +fuse-linker-plugin +fwhole-program
media-libs/plotutils +flto* +fuse-linker-plugin +fwhole-program
media-libs/raptor +flto* +fuse-linker-plugin +fwhole-program
media-libs/schroedinger +flto* +fuse-linker-plugin +fwhole-program
media-libs/silgraphite +flto* +fuse-linker-plugin +fwhole-program
media-libs/smpeg +flto* +fuse-linker-plugin +fwhole-program
media-libs/t1lib +flto* +fuse-linker-plugin +fwhole-program
media-libs/tiff +flto* +fuse-linker-plugin +fwhole-program
media-libs/x264 +flto* +fuse-linker-plugin +fwhole-program
media-libs/zvbi +flto* +fuse-linker-plugin +fwhole-program
media-plugins/live +flto* +fuse-linker-plugin +fwhole-program
media-sound/audacity +flto* +fuse-linker-plugin +fwhole-program
media-sound/audex +flto* +fuse-linker-plugin +fwhole-program
media-sound/cdparanoia +flto* +fuse-linker-plugin +fwhole-program
media-sound/gsm +flto* +fuse-linker-plugin +fwhole-program
media-sound/kradio +flto* +fuse-linker-plugin +fwhole-program
media-sound/kstreamripper +flto* +fuse-linker-plugin +fwhole-program
media-sound/lilypond +flto* +fuse-linker-plugin +fwhole-program
media-sound/musepack-tools +fwhole-program
media-sound/normalize +flto* +fuse-linker-plugin +fwhole-program
media-sound/qmmp +fwhole-program
media-sound/timidity++ +flto* +fuse-linker-plugin +fwhole-program
media-sound/vorbis-tools +flto* +fuse-linker-plugin +fwhole-program
media-sound/xmms2 +flto* +fuse-linker-plugin +fwhole-program
media-tv/kdetv +flto* +fuse-linker-plugin +fwhole-program
media-tv/v4l-utils +flto* +fuse-linker-plugin +fwhole-program
media-tv/xawtv +flto* +fuse-linker-plugin +fwhole-program
media-video/avidemux +flto* +fuse-linker-plugin +fwhole-program
media-video/cclive +flto* +fuse-linker-plugin +fwhole-program
media-video/dirac +flto* +fuse-linker-plugin +fwhole-program
media-video/ffmpeg +flto* +fuse-linker-plugin +fwhole-program
media-video/ffmpegthumbnailer +flto* +fuse-linker-plugin +fwhole-program
media-video/gnome-mplayer +fwhole-program
media-video/kaffeine +flto* +fuse-linker-plugin +fwhole-program
media-video/libav +flto* +fuse-linker-plugin +fwhole-program
media-video/mjpegtools +flto* +fuse-linker-plugin +fwhole-program
media-video/mplayer +flto* +fuse-linker-plugin +fwhole-program
media-video/mplayer2 +flto* +fuse-linker-plugin +fwhole-program
media-video/transcode +flto* +fuse-linker-plugin +fwhole-program
media-video/vlc +flto* +fuse-linker-plugin +fwhole-program
media-video/xine-ui +flto* +fuse-linker-plugin +fwhole-program
net-analyzer/wireshark +flto* +fuse-linker-plugin +fwhole-program
net-dialup/ppp +flto* +fuse-linker-plugin +fwhole-program
net-dns/libidn +fwhole-program
net-dns/pdnsd +flto* +fuse-linker-plugin +fwhole-program
net-firewall/ipsec-tools +fwhole-program
net-firewall/iptables +flto* +fuse-linker-plugin +fwhole-program
net-fs/autofs +flto* +fuse-linker-plugin +fwhole-program
net-ftp/lftp +flto* +fuse-linker-plugin +fwhole-program
net-libs/gnutls +flto* +fuse-linker-plugin +fwhole-program
net-libs/libetpan +flto* +fuse-linker-plugin +fwhole-program
net-libs/libpcap +flto* +fuse-linker-plugin +fwhole-program
net-libs/libsrtp +flto* +fuse-linker-plugin +fwhole-program
net-libs/opal +flto* +fuse-linker-plugin +fwhole-program
net-libs/ptlib +flto* +fuse-linker-plugin +fwhole-program
net-libs/wvstreams +flto* +fuse-linker-plugin +fwhole-program
net-mail/uw-mailutils +fwhole-program
net-misc/curl +flto* +fuse-linker-plugin +fwhole-program
net-misc/iputils +flto* +fuse-linker-plugin +fwhole-program
net-misc/nx +flto* +fuse-linker-plugin +fwhole-program
net-misc/nxcl +flto* +fuse-linker-plugin +fwhole-program
net-misc/openssh +flto* +fuse-linker-plugin +fwhole-program
net-misc/tor +flto* +fuse-linker-plugin +fwhole-program
net-p2p/ktorrent +flto* +fuse-linker-plugin +fwhole-program
net-print/cups +flto* +fuse-linker-plugin +fwhole-program
net-print/foo2zjs +flto* +fuse-linker-plugin +fwhole-program
net-voip/ekiga +flto* +fuse-linker-plugin +fwhole-program
net-voip/yate +flto* +fuse-linker-plugin +fwhole-program
net-wireless/wireless-tools +flto* +fuse-linker-plugin +fwhole-program
perl-core/* +flto* +fuse-linker-plugin +fwhole-program
sci-libs/cln +flto* +fuse-linker-plugin +fwhole-program
sci-libs/gdal +flto* +fuse-linker-plugin +fwhole-program
sci-libs/libgeotiff +flto* +fuse-linker-plugin +fwhole-program
sci-libs/qrupdate +flto* +fuse-linker-plugin +fwhole-program
sci-mathematics/axiom +flto* +fuse-linker-plugin +fwhole-program
sci-mathematics/ginac +flto* +fuse-linker-plugin +fwhole-program
sci-mathematics/glpk +flto* +fuse-linker-plugin +fwhole-program
sci-mathematics/octave +flto* +fuse-linker-plugin +fwhole-program
sci-mathematics/pari +flto* +fuse-linker-plugin +fwhole-program
sci-mathematics/scilab +flto* +fuse-linker-plugin +fwhole-program
sci-visualization/gnuplot +flto* +fuse-linker-plugin +fwhole-program
sys-apps/busybox +flto* +fuse-linker-plugin +fwhole-program
sys-apps/coreutils +fwhole-program
sys-apps/dbus +flto* +fuse-linker-plugin +fwhole-program
sys-apps/fakeroot-ng +fwhole-program
sys-apps/findutils +fwhole-program
sys-apps/gawk +flto* +fuse-linker-plugin +fwhole-program
sys-apps/grep +fwhole-program
sys-apps/groff +fwhole-program
sys-apps/hdparm +flto* +fuse-linker-plugin +fwhole-program
sys-apps/iproute2 +fwhole-program
sys-apps/less* +flto* +fuse-linker-plugin +fwhole-program
sys-apps/module-init-tools +fwhole-program
sys-apps/openrc +flto +fuse-linker-plugin +fwhole-program
sys-apps/pciutils +flto* +fuse-linker-plugin +fwhole-program
sys-apps/sandbox +fwhole-program
sys-apps/shadow +flto* +fuse-linker-plugin +fwhole-program
sys-apps/sysvinit +flto* +fuse-linker-plugin +fwhole-program
sys-apps/util-linux +flto* +fuse-linker-plugin +fwhole-program
sys-apps/which +flto* +fuse-linker-plugin +fwhole-program
sys-auth/polkit +flto* +fuse-linker-plugin +fwhole-program
sys-auth/polkit-qt +flto* +fuse-linker-plugin +fwhole-program
sys-devel/bc +fwhole-program
sys-devel/clang +flto* +fuse-linker-plugin +fwhole-program # -flto needs >3GB here
sys-devel/flex +flto* +fuse-linker-plugin +fwhole-program
sys-devel/gettext +flto* +fuse-linker-plugin +fwhole-program
sys-devel/libtool +flto* +fuse-linker-plugin +fwhole-program
sys-devel/llvm +flto* +fuse-linker-plugin +fwhole-program
sys-fs/ddrescue +flto* +fuse-linker-plugin +fwhole-program
sys-fs/dosfstools +flto* +fuse-linker-plugin +fwhole-program
sys-fs/e2fsprogs +flto* +fuse-linker-plugin +fwhole-program
sys-fs/encfs +flto* +fuse-linker-plugin +fwhole-program
sys-fs/ext4magic +flto* +fuse-linker-plugin +fwhole-program
sys-fs/lvm2 +flto* +fuse-linker-plugin +fwhole-program
sys-fs/mtools +flto* +fuse-linker-plugin +fwhole-program
sys-fs/squashfs-tools +flto* +fuse-linker-plugin +fwhole-program
sys-fs/udev +flto* +fuse-linker-plugin +fwhole-program
sys-fs/udftools +flto* +fuse-linker-plugin +fwhole-program
sys-fs/udisks +flto* +fuse-linker-plugin +fwhole-program
sys-fs/unionfs-fuse +flto* +fuse-linker-plugin +fwhole-program
sys-kernel/kccmp +flto* +fuse-linker-plugin +fwhole-program
sys-libs/e2fsprogs-libs +flto* +fuse-linker-plugin +fwhole-program
sys-libs/glibc +flto* +fuse-linker-plugin +fwhole-program
sys-libs/gpm +flto* +fuse-linker-plugin +fwhole-program
sys-libs/libcap +flto* +fuse-linker-plugin +fwhole-program
sys-libs/ncurses +flto* +fuse-linker-plugin +fwhole-program
sys-libs/slang +flto* +fuse-linker-plugin +fwhole-program
sys-libs/zlib +flto* +fuse-linker-plugin +fwhole-program
sys-power/hibernate-script +fwhole-program
sys-power/upower +flto* +fuse-linker-plugin +fwhole-program
sys-process/lsof +fwhole-program
sys-process/numactl +flto* +fuse-linker-plugin +fwhole-program
sys-process/procps +flto* +fuse-linker-plugin +fwhole-program
www-client/dillo +flto* +fuse-linker-plugin +fwhole-program
www-client/firefox +flto* +fuse-linker-plugin +fwhole-program
www-client/lynx +fwhole-program
www-plugins/gnash +flto* +fuse-linker-plugin +fwhole-program
www-plugins/mozplugger +flto* +fuse-linker-plugin +fwhole-program
x11-apps/xrandr +flto* +fuse-linker-plugin +fwhole-program
x11-base/xorg-server +flto* +fuse-linker-plugin +fwhole-program
x11-libs/fltk +flto* +fuse-linker-plugin +fwhole-program
x11-libs/gdk-pixbuf +flto* +fuse-linker-plugin +fwhole-program
x11-libs/gtkglext +flto* +fuse-linker-plugin +fwhole-program
x11-libs/libX11 +flto* +fuse-linker-plugin +fwhole-program
x11-libs/libXaw3d +flto* +fuse-linker-plugin +fwhole-program
x11-libs/libvdpau +flto* +fuse-linker-plugin +fwhole-program
x11-libs/libwnck +flto* +fuse-linker-plugin +fwhole-program
x11-libs/motif +flto* +fuse-linker-plugin +fwhole-program
x11-libs/pango +flto* +fuse-linker-plugin +fwhole-program
x11-libs/qt-* +flto* +fuse-linker-plugin +fwhole-program
x11-libs/wxGTK +flto* +fuse-linker-plugin +fwhole-program
x11-misc/xfractint +flto* +fuse-linker-plugin +fwhole-program
x11-misc/xscreensaver +flto* +fuse-linker-plugin +fwhole-program
x11-wm/fvwm +flto* +fuse-linker-plugin +fwhole-program
xfce-base/garcon +flto* +fuse-linker-plugin +fwhole-program
xfce-base/libxfce4ui +flto* +fuse-linker-plugin +fwhole-program
xfce-base/libxfce4util +flto* +fuse-linker-plugin +fwhole-program
xfce-base/libxfcegui4 +flto* +fuse-linker-plugin +fwhole-program
xfce-base/thunar +flto* +fuse-linker-plugin +fwhole-program
xfce-base/xfconf +flto* +fuse-linker-plugin +fwhole-program
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sun Jan 13, 2013 12:07 pm    Post subject: Reply with quote

Thanks for the info guys :D
Anyway, on the Firefox and Libreoffice front, I cannot get Firefox to build with lto, nor am I able to compile Libreoffice (4.0.0.1) with lto, BUT...

During configure stage of Libreoffice:
Code:
checking whether to use link-time optimization... no


So I set up an extra env and specified:
Code:
EXTRA_ECONF="--enable-lto"


Which then gave me:
Code:
checking whether to use link-time optimization... yes


So it should build (I let it run for an hour without failure while I was cooking whereas it failed within 30 minutes before), I am going to do it tonight since it takes ~5 hours to build anyway, I know the devs don't want LTO bugs but do any of you think it's worth requesting an (masked) lto use flag? Would a bug report be appropriate? Email to the maintainer?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Sun Jan 13, 2013 12:49 pm    Post subject: Reply with quote

No idea really - coincidentally, I've got an other problem since firefox-17: It won't build with gcc-4.7.2 and custom-cflags, which I know is unsupported, but still... even without any fancy stuff, and -16 was ok. Has anyone in here had the same trouble?

Error happens here:
Code:
/root/tmp/portage/www-client/firefox-17.0.2/work/mozilla-esr17/media/webrtc/trunk/src/modules/audio_coding/codecs/iSAC/fix/source/fft.c:71:15: internal compiler erro
r: in scan_tree_for_params_right_scev, at graphite-sese-to-poly.c:633


I see the standard flags are as follows:
Code:
-march=core2 -pipe -mno-avx -Wl,-O1 -Wl,--as-needed

While mine are:
Code:
-march=core2 -pipe -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -mno-avx -Wl,-O1 -Wl,--as-needed


Even though in both cases, actually --enable-optimize=-O2 is set.
Back to top
View user's profile Send private message
GFCCAE6xF
Apprentice
Apprentice


Joined: 06 Aug 2012
Posts: 295

PostPosted: Sun Jan 13, 2013 1:20 pm    Post subject: Reply with quote

Hmm strange, I only started using custom-cflags and custom-optimization on firefox at version 18 beta in mozilla overlay (using 18::gentoo now)

My flags:
Code:
CFLAGS="-O2 -march=native -pipe -flto -floop-interchange -floop-strip-mine -floop-block"
CXXFLAGS="-O2 -march=native -pipe -flto -floop-interchange -floop-strip-mine -floop-block"
LDFLAGS="-Wl,-O1 -Wl,--as-needed,-flto"


Of course with -fno-lto passed via env.
There are some results on google about your error for 4.7.2 + graphite + firefox 17 although I have no real idea, it's either firefox 17 or ppl as far as I can tell from a quick read. I'm using ppl 0.12.1-r1 in case that is of any interest.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8931

PostPosted: Sun Jan 13, 2013 2:05 pm    Post subject: Reply with quote

Found the relevant bug and it is related to graphite: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55459

I can stop then to find the relevant flag. At least that way I found out that profile-guided optimisation was masked - I re-enabled it and set up env for firefox with safe flags.
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 1, 2  Next
Page 1 of 2

 
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