non-deterministic as

Jie Zhang jie.zhang@analog.com
Fri May 22 10:24:00 GMT 2009


Alan Modra wrote:
> 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.
> 
It would be better to attach the two different object files in case it's 
difficult to reproduce the bug.


Jie



More information about the Binutils mailing list