public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work
@ 2010-10-09 10:42 hjl.tools at gmail dot com
2010-10-10 7:12 ` [Bug bootstrap/45954] " hjl.tools at gmail dot com
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-09 10:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954
Summary: --with-build-config=bootstrap-lto doesn't work
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
--with-build-config=bootstrap-lto doesn't work. The problem is
cd bld; \
RUNTESTFLAGS="--target_board 'unix{-m32,}'" ../src-trunk/configure \
--enable-clocale=gnu --with-system-zlib --enable-shared
--with-demangler-in-ld --with-build-config=bootstrap-lto
-with-plugin-ld=ld.gold --enable-gold --with-fpmath=sse
....
It doesn't enable LTO for stage1 gcc and it goes downhill after
stage 1 since LTO isn't available at all:
configure:3000: /export/gnu/import/svn/gcc-test/bld/./prev-gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -g -O2
-fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1 conftest.c
>&5
cc1: error: LTO support has not been enabled in this configuration
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
@ 2010-10-10 7:12 ` hjl.tools at gmail dot com
2010-10-10 7:13 ` hjl.tools at gmail dot com
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-10 7:12 UTC (permalink / raw)
To: gcc-bugs
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?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
2010-10-10 7:12 ` [Bug bootstrap/45954] " hjl.tools at gmail dot com
@ 2010-10-10 7:13 ` hjl.tools at gmail dot com
2010-10-10 10:37 ` rguenth at gcc dot gnu.org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-10 7:13 UTC (permalink / raw)
To: gcc-bugs
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?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
2010-10-10 7:12 ` [Bug bootstrap/45954] " hjl.tools at gmail dot com
2010-10-10 7:13 ` hjl.tools at gmail dot com
@ 2010-10-10 10:37 ` rguenth at gcc dot gnu.org
2010-10-10 10:59 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-10 10:37 UTC (permalink / raw)
To: gcc-bugs
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?
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] --with-build-config=bootstrap-lto doesn't work
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
` (2 preceding siblings ...)
2010-10-10 10:37 ` rguenth at gcc dot gnu.org
@ 2010-10-10 10:59 ` hjl.tools at gmail dot com
2010-10-10 11:10 ` [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto hjl.tools at gmail dot com
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-10 10:59 UTC (permalink / raw)
To: gcc-bugs
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.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
` (3 preceding siblings ...)
2010-10-10 10:59 ` hjl.tools at gmail dot com
@ 2010-10-10 11:10 ` hjl.tools at gmail dot com
2010-10-15 13:41 ` rguenth at gcc dot gnu.org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-10 11:10 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|--with-build-config=bootstr |LTO isn't enabled in stage1
|ap-lto doesn't work |cc1 with
| |--with-build-config=bootstr
| |ap-lto
--- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-10 11:10:13 UTC ---
LTO isn't enabled in stage1 cc1. When --with-build-config=bootstrap-lto
is used, LTO has to be enabled by hand with --enable-stage1-languages=c,lto.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
` (4 preceding siblings ...)
2010-10-10 11:10 ` [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto hjl.tools at gmail dot com
@ 2010-10-15 13:41 ` rguenth at gcc dot gnu.org
2010-10-17 22:08 ` hjl.tools at gmail dot com
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu.org @ 2010-10-15 13:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |howarth at nitro dot
| |med.uc.edu
--- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-10-15 13:40:39 UTC ---
*** Bug 46035 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
` (5 preceding siblings ...)
2010-10-15 13:41 ` rguenth at gcc dot gnu.org
@ 2010-10-17 22:08 ` hjl.tools at gmail dot com
2010-10-20 12:39 ` hjl at gcc dot gnu.org
2010-10-20 12:40 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-17 22:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-p
| |atches/2010-10/msg01455.htm
| |l
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-17 22:08:29 UTC ---
A patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2010-10/msg01455.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
` (6 preceding siblings ...)
2010-10-17 22:08 ` hjl.tools at gmail dot com
@ 2010-10-20 12:39 ` hjl at gcc dot gnu.org
2010-10-20 12:40 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: hjl at gcc dot gnu.org @ 2010-10-20 12:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954
--- Comment #7 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2010-10-20 12:38:33 UTC ---
Author: hjl
Date: Wed Oct 20 12:38:22 2010
New Revision: 165721
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165721
Log:
Add LTO to boot language if it is enabled.
2010-10-20 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/45954
* config-lang.in (boot_language): Set to $enable_lto.
Modified:
trunk/gcc/lto/ChangeLog
trunk/gcc/lto/config-lang.in
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
` (7 preceding siblings ...)
2010-10-20 12:39 ` hjl at gcc dot gnu.org
@ 2010-10-20 12:40 ` hjl.tools at gmail dot com
8 siblings, 0 replies; 10+ messages in thread
From: hjl.tools at gmail dot com @ 2010-10-20 12:40 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.6.0
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-20 12:40:11 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-10-20 12:40 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-09 10:42 [Bug bootstrap/45954] New: --with-build-config=bootstrap-lto doesn't work hjl.tools at gmail dot com
2010-10-10 7:12 ` [Bug bootstrap/45954] " hjl.tools at gmail dot com
2010-10-10 7:13 ` hjl.tools at gmail dot com
2010-10-10 10:37 ` rguenth at gcc dot gnu.org
2010-10-10 10:59 ` hjl.tools at gmail dot com
2010-10-10 11:10 ` [Bug bootstrap/45954] LTO isn't enabled in stage1 cc1 with --with-build-config=bootstrap-lto hjl.tools at gmail dot com
2010-10-15 13:41 ` rguenth at gcc dot gnu.org
2010-10-17 22:08 ` hjl.tools at gmail dot com
2010-10-20 12:39 ` hjl at gcc dot gnu.org
2010-10-20 12:40 ` hjl.tools at gmail dot com
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).