Re: Cross-compiling and dist-cc (Was: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space]))
On Wed, Feb 23, 2005 at 12:38:46AM +1100, Paul Hampson wrote:
> Why not? Is there something non-deterministic in the compilation
> process?
>
> Ideally, version x of gcc should produce the same output natively
> as when cross-compiling.
>
> Or have I missed something important?
-frandom-seed=string
This option provides a seed that GCC uses when it would otherwise use random numbers.
At present, this is used to generate certain symbol names that have to be different in
every compiled file.
The string should be different for every file you compile.
-fno-guess-branch-probability
Do not guess branch probabilities using a randomized model.
Sometimes gcc will opt to use a randomized model to guess branch probabilities, when
none are available from either profiling feedback (-fprofile-arcs) or
__builtin_expect. This means that different runs of the compiler on the same program
may produce different object code.
Also, the first 16 bytes will differ in an ELF format .o, see http://lists.debian.org/debian-devel/2004/09/msg00201.html
--
Petri Latvala
Attachment:
signature.asc
Description: Digital signature
Reply to:
- References:
- Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Dirk Eddelbuettel <edd@debian.org>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Thomas Bushnell BSG <tb@becket.net>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Brian Nelson <pyro@debian.org>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Henrique de Moraes Holschuh <hmh@debian.org>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Wouter Verhelst <wouter@debian.org>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Henrique de Moraes Holschuh <hmh@debian.org>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Peter Samuelson <peter@p12n.org>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Nick Phillips <nwp@nz.lemon-computing.com>
- Re: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space])
- From: Wouter Verhelst <wouter@debian.org>
- Cross-compiling and dist-cc (Was: Let's remove mips, mipsel, s390, ... (Was: [Fwd: Re: GTK+2.0 2.6.2-3 and buildds running out of space]))
- From: Paul.Hampson@anu.edu.au (Paul Hampson)