This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: non-deterministic as
On Thu, May 21, 2009 at 09:06:33PM +0800, chenyang wrote:
> on the "problem" machine. And the problem didn't go away. In a word,
> the same static
> linked "as" runs deterministically on one machine,
> non-deterministically (produce different
> .o files) on another.
>
> So I guess that It's a system-specific problem. What problem could it
> be? Any ideas?
I wonder if it is filesystem related? object files can contain areas
that are never written, and we rely on the operating system to fill
with zeros.
However, I think it's much more likely that "as" is writing some
uninitialised memory to file. Please open a bug report at
http://sourceware.org/bugzilla/enter_bug.cgi?product=binutils and then
attach your .s source.
--
Alan Modra
Australia Development Lab, IBM