[Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #8 from Jan Hubicka 2010-12-02 09:22:38 UTC --- Hi, you can still test bootstrap with simply commenting out that sorry. It should give, sort-of, sane results. I will implement counter rescaling once I get some time for it - it is not

Re: [Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread Jan Hubicka
Hi, you can still test bootstrap with simply commenting out that sorry. It should give, sort-of, sane results. I will implement counter rescaling once I get some time for it - it is not too hard. Also not too many setups actually train library built into multiple binaries, so it is not that cri

[Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 Dave Korn changed: What|Removed |Added Depends on||42690 AssignedTo|davek at gcc dot gnu

[Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #6 from Jan Hubicka 2010-12-02 09:00:51 UTC --- Hi, at one point I tried profiledbootstrap and problem is that we can not merge multiple LTO files that has been profiled different amount of times. This happens during our build becaus

Re: [Bug driver/46760] LTO doesn't work with FDO

2010-12-02 Thread Jan Hubicka
Hi, at one point I tried profiledbootstrap and problem is that we can not merge multiple LTO files that has been profiled different amount of times. This happens during our build because lto1 and cc1 share libbackend. We probably need to add code rescaling corresponding events... Honza

[Bug driver/46760] LTO doesn't work with FDO

2010-12-01 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #5 from Dave Korn 2010-12-02 07:47:13 UTC --- (In reply to comment #4) > -DHAVE_CONFIG_H -DGENERATOR_FILE -o build/genchecksum \ > build/genchecksum.o .././libiberty/libiberty.a > lto1: sorry, unimplemented: combining units

[Bug driver/46760] LTO doesn't work with FDO

2010-12-01 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #4 from Dave Korn 2010-12-02 07:14:34 UTC --- With my patch we no longer get the undefined symbols building lto-wrapper, but instead later on we hit this problem: ---

[Bug driver/46760] LTO doesn't work with FDO

2010-12-01 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 Dave Korn changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug driver/46760] LTO doesn't work with FDO

2010-12-01 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #2 from H.J. Lu 2010-12-02 01:58:17 UTC --- (In reply to comment #1) > I think this is a bug in make file rather than anything else. We are building > libibity with -fprofile-generate but not lto-wrapper. It looks good to me: /expo

[Bug driver/46760] LTO doesn't work with FDO

2010-12-01 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46760 --- Comment #1 from Andrew Pinski 2010-12-02 01:47:47 UTC --- I think this is a bug in make file rather than anything else. We are building libibity with -fprofile-generate but not lto-wrapper.