bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/28690] New: `nm-new -a -l -D` produces inconsistent output


From: shaohua.li at inf dot ethz.ch
Subject: [Bug binutils/28690] New: `nm-new -a -l -D` produces inconsistent outputs.
Date: Mon, 13 Dec 2021 16:01:17 +0000

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

            Bug ID: 28690
           Summary: `nm-new -a -l -D` produces inconsistent outputs.
           Product: binutils
           Version: 2.38 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: shaohua.li at inf dot ethz.ch
  Target Milestone: ---

Created attachment 13846
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13846&action=edit
nm-new_diff

Hi there,

I compiled `binutils` with `gcc11` and `clang13` separately. For the provided
input, `nm-new -a -l -D` would produce different outputs on it.

- Compiler: gcc11 and clang13

- Platform: Ubuntu 20.04.4 LTS, x64_64

- Reproduce:
1) let `gcc11` compiled binary be `nm-new-gcc11` and `clang13` be
`nm-new-clang13`;

2) run the following:
$ nm-new-gcc11 -a -l -D nm-new_diff > out_gcc11
$
$ nm-new-clang13 -a -l -D nm-new_diff > out_clang13
$
$ 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
>
$

-- 
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]