public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug bootstrap/59528] New: Profiledbootstrap should use stage1 compiler during stagefeedback @ 2013-12-16 17:37 hubicka at gcc dot gnu.org 2013-12-19 13:00 ` [Bug bootstrap/59528] " rguenth at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: hubicka at gcc dot gnu.org @ 2013-12-16 17:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59528 Bug ID: 59528 Summary: Profiledbootstrap should use stage1 compiler during stagefeedback Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: hubicka at gcc dot gnu.org I just noticed that recently profiledbootstrap uses stageprofile compiler to build final binary (i.e. one with instrumentation in). This is not only wasteful for CPU time, but more importantly will lead to different binary each time during parallel compilation - at compiling object file X during final compilation the profile depends on compilation of all before. We used to rebuild using stage1 compiler for this reason - that is 1) build stage1 compiler 2) build stage profile compiler + runtime library that also serves as a train run 3) build stage feedback compiler using data stage1 compiler with profile data collected at 2) ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/59528] Profiledbootstrap should use stage1 compiler during stagefeedback 2013-12-16 17:37 [Bug bootstrap/59528] New: Profiledbootstrap should use stage1 compiler during stagefeedback hubicka at gcc dot gnu.org @ 2013-12-19 13:00 ` rguenth at gcc dot gnu.org 2014-01-12 9:28 ` trippels at gcc dot gnu.org 2014-01-12 18:30 ` trippels at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: rguenth at gcc dot gnu.org @ 2013-12-19 13:00 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59528 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |build --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Can you point to a version where we did that? ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/59528] Profiledbootstrap should use stage1 compiler during stagefeedback 2013-12-16 17:37 [Bug bootstrap/59528] New: Profiledbootstrap should use stage1 compiler during stagefeedback hubicka at gcc dot gnu.org 2013-12-19 13:00 ` [Bug bootstrap/59528] " rguenth at gcc dot gnu.org @ 2014-01-12 9:28 ` trippels at gcc dot gnu.org 2014-01-12 18:30 ` trippels at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: trippels at gcc dot gnu.org @ 2014-01-12 9:28 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59528 Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |trippels at gcc dot gnu.org --- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Created attachment 31810 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31810&action=edit Makefile.in patch The attached patch to Makefile.in fixes the issue for me. I know that Makefile.in is a generated file, but how one translates the changes to Makefile.in back to Makefile.tpl is beyond me. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/59528] Profiledbootstrap should use stage1 compiler during stagefeedback 2013-12-16 17:37 [Bug bootstrap/59528] New: Profiledbootstrap should use stage1 compiler during stagefeedback hubicka at gcc dot gnu.org 2013-12-19 13:00 ` [Bug bootstrap/59528] " rguenth at gcc dot gnu.org 2014-01-12 9:28 ` trippels at gcc dot gnu.org @ 2014-01-12 18:30 ` trippels at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: trippels at gcc dot gnu.org @ 2014-01-12 18:30 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59528 Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #31810|0 |1 is obsolete| | --- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- Created attachment 31815 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31815&action=edit Makefile.in patch ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-01-12 18:30 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2013-12-16 17:37 [Bug bootstrap/59528] New: Profiledbootstrap should use stage1 compiler during stagefeedback hubicka at gcc dot gnu.org 2013-12-19 13:00 ` [Bug bootstrap/59528] " rguenth at gcc dot gnu.org 2014-01-12 9:28 ` trippels at gcc dot gnu.org 2014-01-12 18:30 ` trippels at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).