[Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work

2010-10-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954

--- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2010-10-10 07:05:54 
UTC ---
--with-build-config=bootstrap-lto requires --enable-stage1-languages=c,lto.
Why isn't lto added to stage1?


[Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work

2010-10-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954

--- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2010-10-10 07:05:54 
UTC ---
--with-build-config=bootstrap-lto requires --enable-stage1-languages=c,lto.
Why isn't lto added to stage1?


[Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work

2010-10-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954

--- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-10 
10:37:24 UTC ---
The build-config stuff doesn't look like it could handle that, or can it
simply add lto to STAGE1_LANGUAGES?


[Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work

2010-10-10 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954

--- Comment #3 from H.J. Lu hjl.tools at gmail dot com 2010-10-10 10:59:30 
UTC ---
If LTO is enabled, I think lto should be added
to STAGE1_LANGUAGES.  Otherwise, stage1 cc1
can't be used for LTO. Sometimes it is easier
to debug stage1 cc1.