Launchpad has imported 2 comments from the remote bug at
https://sourceware.org/bugzilla/show_bug.cgi?id=25031.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2019-09-24T11:10:32+00:00 Gianfranco Costamagna wrote:

Created attachment 12001
example

This happens since binutils 2.32.51.20190611 (The Debian version mostly tracks 
svn)
and it was working on 2.32-8 (updated to 20190424)

to reproduce:
nm elfmix1.not_a
nm: 42-Mach-O.o: file format not recognized
nm: 43-Mach-O.o: file format not recognized
nm: Mach-O.o: file format not recognized

return42_or_3_long_name.o:
0000000000000000 T return42_or_3
nm: return42_or_3_long_name.c: file format not recognized
nm: regen_elfmix.sh: file format not recognized

return42_or_3_long_name.obj:
ffa49ce800000000 T return42_or_3


before, with old binutils it was printed correctly
 nm elfmix1.not_a
nm: 42-Mach-O.o: file format not recognized
nm: 43-Mach-O.o: file format not recognized
nm: Mach-O.o: file format not recognized

return42_or_3_long_name.o:
0000000000000000 T return42_or_3
nm: return42_or_3_long_name.c: file format not recognized
nm: regen_elfmix.sh: file format not recognized

return42_or_3_long_name.obj:
00000000 T return42_or_3


Looks like the returned output is half full of uninitialized values


on amd64 it works correctly

nm elfmix1.not_a 
nm: 42-Mach-O.o: file format not recognized
nm: 43-Mach-O.o: file format not recognized
nm: Mach-O.o: file format not recognized

return42_or_3_long_name.o:
0000000000000000 T return42_or_3
nm: return42_or_3_long_name.c: file format not recognized
nm: regen_elfmix.sh: file format not recognized

return42_or_3_long_name.obj:
0000000000000000 T return42_or_3

Reply at:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1845190/comments/0

------------------------------------------------------------------------
On 2019-09-24T11:12:39+00:00 Gianfranco Costamagna wrote:

Please see this Debian discussion for more information
https://salsa.debian.org/reproducible-builds/diffoscope/issues/69

Reply at:
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1845190/comments/1


** Changed in: binutils
       Status: Unknown => New

** Changed in: binutils
   Importance: Unknown => Medium

** Bug watch added: salsa.debian.org/reproducible-builds/diffoscope/issues #69
   https://salsa.debian.org/reproducible-builds/diffoscope/issues/69

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1845190

Title:
  binutils nm wrong output format breaks i386 nm work

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/1845190/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to