bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/28690] `nm-new -a -l -D` produces inconsistent outputs.


From: nickc at redhat dot com
Subject: [Bug binutils/28690] `nm-new -a -l -D` produces inconsistent outputs.
Date: Wed, 15 Dec 2021 17:38:59 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=28690

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
(In reply to Shaohua Li from comment #0)
Hi Shaohua,

> $ diff out_gcc11 out_clang13
> < /nm-new/bin/ DWARF error: could not find abbrev number 93
> 18c17,18
> < 0000ffff N .debug_info
> ---
> > 0000ffff N .debug_info/nm-new/bin/ DWARF error: could not find abbrev 
> > number 93

I think that this might actually be a "feature" rather than a bug.  What
appears to be happening is that the "DWARF error" message is being printed to
stderr, whilst the "0000ffff N .debug_info" message is being printed to stdout.
 But somehow you are collecting both streams into your output file (which
should not be happening with just the ">" operator...) and the order in which
the messages are printed out is different bewteen the two compilers.  This
suggests that the code sequences have been compiled slightly differently.  But
basically both versions are doing the same thing and producing the same output.
 It is just the synchronization between stdout and stderr that is different.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]