This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] documentation fixes #1

On Tue, 17 Aug 2010, Andi Kleen wrote:
> 2010-08-17  Andi Kleen	<>
> 	* doc/install.texi (Building a native compiler): Remove
> 	reference to broken BUILD_CONFIG=bootstrap-lto.
> 	Document working method instead.
> ---
>  gcc/doc/install.texi |   12 +++++++-----
>  1 files changed, 7 insertions(+), 5 deletions(-)
> diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi
> index fc9b988..c952edf 100644
> --- a/gcc/doc/install.texi
> +++ b/gcc/doc/install.texi
> @@ -2108,6 +2108,13 @@ to work around this, by choosing @code{BOOT_CFLAGS} to avoid the parts
>  of the stage1 compiler that were miscompiled, or by using @samp{make
>  bootstrap4} to increase the number of stages of bootstrap.
> +You can also use @code{BOOT_CFLAGS} to force a LTO bootstrap with
> +@samp{BOOTCFLAGS='-O2 -fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1'}. 


And "an LTO".

> +Configure the compiler with @samp{--enable-stage1-languages=c,lto}. This 
> +will only work with the @command{gold} linker and if linker plugins are
> +corrected configured.  The @option{-frandom-seed=1} is needed to avoid 
> +bootstrap comparison failures.

This sounds a bit tricky for our general user installation instructions;
any chance to have all this triggered by a configure option or a simple
"make bootstrap-lto" or just document it in pure developer documentation?  
(More a question to Diego et al, I guess.)  Oh wait, that's what's there,
but broken, right? :-(


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]