[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-16 Thread Gianfranco Costamagna
it works fine with binutils_2.32.51.20190821-1ubuntu1_i386.deb

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils package in Ubuntu:
  Confirmed

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils2.32.51.20190905-0ubuntu1   i386 GNU 
assembler, linker and binary utilities
  ii  binutils-common:i3862.32.51.20190905-0ubuntu1   i386 Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i3862.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities (private shared library)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-16 Thread Gianfranco Costamagna
Something in this diff regressed it and makes it crash.
http://launchpadlibrarian.net/440335350/binutils_2.32.51.20190821-1ubuntu1_2.32.51.20190905-0ubuntu1.diff.gz

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils package in Ubuntu:
  Confirmed
Status in glibc package in Ubuntu:
  New

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils2.32.51.20190905-0ubuntu1   i386 GNU 
assembler, linker and binary utilities
  ii  binutils-common:i3862.32.51.20190905-0ubuntu1   i386 Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i3862.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities (private shared library)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-16 Thread Gianfranco Costamagna
manually downgrading glibc to 2.29 on i386, with newer binutils fails, so back 
to a binutils bug
ii  libc-bin  2.29-0ubuntu3   i386 GNU C 
Library: Binaries
ii  libc-dev-bin  2.29-0ubuntu3   i386 GNU C 
Library: Development binaries
ii  libc6:i3862.29-0ubuntu3   i386 GNU C 
Library: Shared libraries
ii  libc6-dev:i3862.29-0ubuntu3   i386 GNU C 
Library: Development Libraries and Header Files


G.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils package in Ubuntu:
  Confirmed
Status in glibc package in Ubuntu:
  Invalid

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils2.32.51.20190905-0ubuntu1   i386 GNU 
assembler, linker and binary utilities
  ii  binutils-common:i3862.32.51.20190905-0ubuntu1   i386 Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i3862.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities (private shared library)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-16 Thread Gianfranco Costamagna
For some reasons, gdb seems to make me suspect of glibc 2.30...

** Also affects: glibc (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: glibc (Ubuntu)
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils package in Ubuntu:
  Confirmed
Status in glibc package in Ubuntu:
  Invalid

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils2.32.51.20190905-0ubuntu1   i386 GNU 
assembler, linker and binary utilities
  ii  binutils-common:i3862.32.51.20190905-0ubuntu1   i386 Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i3862.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities (private shared library)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-16 Thread Gianfranco Costamagna
<65c00>   DW_AT_external: 1
<65c00>   DW_AT_name: (indirect string, offset: 0x1d277): 
_M_get_allocator
<65c04>   DW_AT_decl_file   : 2
<65c05>   DW_AT_decl_line   : 290
<65c07>   DW_AT_decl_column : 7
<65c08>   DW_AT_linkage_name: (indirect string, offset: 0xdb15): 
_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE16_M_get_allocatorEv

Program received signal SIGSEGV, Segmentation fault.
0x56596128 in read_leb128 (data=0x87a81712 , length_return=0xd014, sign=0, end=0xf7dbecef "") at 
../../binutils/dwarf.c:336
336 ../../binutils/dwarf.c: No such file or directory.
(gdb) bt full
#0  0x56596128 in read_leb128 (data=0x87a81712 , length_return=0xd014, sign=0, end=0xf7dbecef "") at 
../../binutils/dwarf.c:336
result = 0
num_read = 0
shift = 0
byte = 0 '\000'
#1  0x56599e50 in read_uleb128 (end=0xf7dbecef "", length_return=, data=0x87a81711 ) at 
../../binutils/dwarf.c:2005
No locals.
#2  get_type_signedness (start=start@entry=0xf7cd1010 "\266X\006", 
data=0x87a81711 , 
end=end@entry=0xf7dbecef "", pointer_size=4, offset_size=4, 
dwarf_version=4, is_signed=0xd190, is_nested=1) at 
../../binutils/dwarf.c:2005
abbrev_number = 
bytes_read = 0
entry = 
attr = 
#3  0x56599f50 in get_type_signedness (start=start@entry=0xf7cd1010 
"\266X\006", data=0xf7ce1238 "", end=end@entry=0xf7dbecef "", pointer_size=4, 
offset_size=4, dwarf_version=4, is_signed=0xd190, 
is_nested=0) at ../../binutils/dwarf.c:2045
uvalue = 
abbrev_number = 
bytes_read = 1
entry = 
attr = 0x56640530
#4  0x5659b968 in read_and_display_attr_value (attribute=attribute@entry=73, 
form=form@entry=19, implicit_const=-1, start=0xf7cd1010 "\266X\006", 
data=, end=0xf7dbecef "", 
cu_offset=415930, pointer_size=4, offset_size=4, dwarf_version=, debug_info_p=0x0, do_loc=, section=0x56617880 
, this_set=0x0, 
delimiter=, level=) at 
../../binutils/dwarf.c:2732
is_signed = 0
uvalue = 66082
block_start = 
orig_data = 0xf7d36c1c "\"\002\001"
bytes_read = 4160392480
__PRETTY_FUNCTION__ = "read_and_display_attr_value"
#5  0x5659efb4 in read_and_display_attr (level=, this_set=0x0, 
section=0x56617880 , do_loc=0, debug_info_p=0x0, 
dwarf_version=4, offset_size=, 
pointer_size=4, cu_offset=415930, end=0xf7dbecef "", data=0xf7d36c1c 
"\"\002\001", start=0xf7cd1010 "\266X\006", implicit_const=, 
form=19, attribute=)
at ../../binutils/dwarf.c:3119
No locals.
#6  process_debug_info (section=0x56617880 , 
file=, abbrev_sec=abbrev, do_loc=0, do_types=) at 
../../binutils/dwarf.c:3646
bytes_read = 1
die_offset = 
do_printing = 1
abbrev_number = 
entry = 0x5663e9b0
attr = 
debug_info_p = 
hdrptr = 
sec_off = 
offset_size = 4
signature_low = 0
tags = 0xf7d36c1c "\"\002\001"
signature_high = 0
this_set = 0x0
abbrev_base = 
abbrev_size = 
initial_length_size = 
compunit = {cu_length = , cu_version = 4, 
cu_abbrev_offset = , cu_pointer_size = , 
cu_unit_type = }
level = 
last_level = 4
saved_level = -1
cu_offset = 415930
type_offset = 
start = 
end = 0xf7dbecef ""
section_begin = 
unit = 1
num_units = 
__PRETTY_FUNCTION__ = "process_debug_info"
#7  0x5658b464 in display_debug_section (filedata=, 
section=0x566202b0, shndx=30) at ../../binutils/readelf.c:14291
secondary = 
id = info
display = 0x56617880 
sec = 0x56617880 
length = 
i = 3
name = 
print_name = 
result = 1
name = 
print_name = 
length = 
result = 
i = 
id = 
display = 
sec = 
secondary = 
#8  process_section_contents (filedata=) at 
../../binutils/readelf.c:14382
dump = 4 '\004'
section = 0x566202b0
i = 30
res = 1
#9  0x5658c915 in process_section_contents (filedata=0x5661e1d0) at 
../../binutils/readelf.c:1
section = 
i = 
res = 1
section = 
i = 
res = 
dump = 
#10 process_object (filedata=) at ../../binutils/readelf.c:1
have_separate_files = 0
i = 
res = 1
have_separate_files = 
i = 
res = 
__PRETTY_FUNCTION__ = "process_object"
d = 
g = 
next = 
#11 process_object (filedata=) at ../../binutils/readelf.c:19915
have_separate_files = 
i = 
__PRETTY_FUNCTION__ = "process_object"
d = 
g = 
next = 
#12 0x5655a2a5 in process_file (file_name=0xdae6 "libjsoncpp.so.1.8.1") at 
../../binutils/readelf.c:20429
filedata = 0x5661e1d0
statbuf = {st_dev = 66306, __pad1 = 1, __st_ino = 2393533, 

[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-19 Thread Gianfranco Costamagna
** Bug watch added: Sourceware.org Bugzilla #25018
   https://sourceware.org/bugzilla/show_bug.cgi?id=25018

** Also affects: binutils via
   https://sourceware.org/bugzilla/show_bug.cgi?id=25018
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils:
  Unknown
Status in binutils package in Ubuntu:
  Confirmed
Status in glibc package in Ubuntu:
  Invalid

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils2.32.51.20190905-0ubuntu1   i386 GNU 
assembler, linker and binary utilities
  ii  binutils-common:i3862.32.51.20190905-0ubuntu1   i386 Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i3862.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities (private shared library)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-19 Thread Bug Watch Updater
Launchpad has imported 1 comments from the remote bug at
https://sourceware.org/bugzilla/show_bug.cgi?id=25018.

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-19T07:42:01+00:00 Gianfranco Costamagna wrote:

Created attachment 11996
example of failing file

I already reported to Ubuntu
https://bugs.launchpad.net/ubuntu/+source/binutils/+bug/1844119

This is a regression started after binutils_2.32.51.20190821-1
and before 2.32.51.20190905-0

so this is the changelog of changes in bfd
+2019-09-05  Alan Modra  
+
+   * elf64-ppc.c (xlate_pcrel_opt): Handle prefix loads and stores
+   in second instruction.
+   (ppc64_elf_relocate_section): Likewise.
+
+2019-09-05  Alan Modra  
+
+   PR 24955
+   * libbfd-in.h (bfd_strdup): New inline function.
+   * archive.c (_bfd_get_elt_at_filepos): Use bfd_strdup.  Close
+   bfd on error.
+   * elfcode.h (_bfd_elf_bfd_from_remote_memory): Use bfd_strdup.
+   * opncls.c (bfd_fopen): Use bfd_strdup.  Close fd and stream
+   on error.
+   (bfd_openstreamr): Use bfd_strdup.
+   (bfd_openr_iovec, bfd_openw, bfd_create): Likewise.
+   * plugin.c (try_load_plugin): Use bfd_malloc.
+   * libbfd.h: Regenerate.
+
+2019-09-02  Alan Modra  
+
+   PR 11983
+   * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Free debug_filename
+   on success.  Tidy.
+   (read_alt_indirect_string): Likewise.
+   (read_alt_indirect_ref): Likewise.
+
+2019-08-31  Jim Wilson  
+
+   PR 23825
+   * elfnn-riscv.c (riscv_elf_create_dynamic_sections): Add SEC_LOAD,
+   SEC_DATA, and SEC_HAS_CONTENTS to .tdata.dyn section.
+
+2019-08-30  Jim Wilson  
+
+   * elfnn-riscv.c (riscv_elf_relocate_section): For unresolvable reloc
+   error, call bfd_set_error, set ret to FALSE, and goto out label.
+
+2019-08-30  H.J. Lu  
+
+   PR ld/24951
+   * archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS,
+   BFD_DECOMPRESS and BFD_COMPRESS_GABI flags for thin archive.
+
+2019-08-29  Alan Modra  
+
+   PR 24697
+   * elf32-ppc.c (ppc_elf_check_relocs): Call bad_shared_reloc
+   when !bfd_link_executable for R_PPC_EMB_SDA2I16 and
+   R_PPC_EMB_SDA2REL.  Don't call bad_shared_reloc for any other
+   reloc.
+
+2019-08-29  Alan Modra  
+
+   * elf64-ppc.c (xlate_pcrel_opt): Add poff parameter.  Allow offset
+   on second insn, return it in poff.
+   (ppc64_elf_relocate_section): Add offset to paddi addend for
+   PCREL_OPT.
+
+2019-08-28  Jim Wilson  
+
+   * elfnn-riscv.c (_bfd_riscv_relax_lui): Add check to exclude abs
+   section when setting max_alignment.  Update comment.
+   (_bfd_riscv_relax_pc): Likewise.
+
+2019-08-29  Alan Modra  
+
+   PR 24891
+   * bfd.c (struct bfd): Add no_element_cache.
+   * archive.c (_bfd_get_elt_at_filepos): Don't add element to
+   archive cache when no_element_cache.
+   (bfd_generic_archive_p): Set no_element_cache when opening first
+   element to check format.  Close first element too.
+   (do_slurp_bsd_armap): Don't zero ardata->cache here.
+   * bfd-in2.h: Regenerate.
+
+2019-08-24  Alan Modra  
+
+   * elf64-ppc.c (ppc64_elf_edit_toc): Exclude undefined weak
+   symbols from GOT optimisation.
+
+2019-08-23  Stafford Horne  
+
+   * elf32-or1k.c (or1k_elf_finish_dynamic_symbol): Use correct value for
+   PLT GOT entries.
+
+2019-08-23  Nick Clifton  
+
+   PR 24456
+   * elf.c (bfd_section_from_shdr): Issue an informative warning
+   message and continue processing other sections after encountering
+   a reloc section for a section which already has other relocs
+   associated with it.
+
+2019-08-23  Alan Modra  
+
+   PR 24933
+   * elfxx-x86.c (_bfd_x86_elf_get_synthetic_symtab): Don't exit
+   on error without freeing plts[] contents.
+
+2019-08-22  Dennis Zhang  
+
+   * cpu-arm.c: New entries for Cortex-M35P, Cortex-A77, Cortex-A76AE.
+
+2019-08-22  Nick Clifton  
+
+   PR 24922
+   * pei-x86_64.c (pex64_xdata_print_uwd_codes): Add checks before
+   reading data from extra records.
+
+2019-08-22  Tamar Christina  
+
+   PR ld/24601
+   * elfnn-aarch64.c (aarch64_relocate): Handle weak TLS and undefined TLS.
+   Also Pass input_bfd to _bfd_aarch64_elf_resolve_relocation.
+   * elfxx-aarch64.c (_bfd_aarch64_elf_resolve_relocation): Use it.
+   * elfxx-aarch64.h (_bfd_aarch64_elf_resolve_relocation): Emit warning
+   for weak TLS.
+
+2019-08-22  Alan Modra  
+
+   * elf32-arm.c (cmse_scan): Don't use ARM_GET_SYM_CMSE_SPCL,
+   instead recognize CMSE_PREFIX in symbol name.
+   (elf32_arm_gc_mark_extra_sections): Likewise.
+   (elf32_arm_filter

[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-09-23 Thread Bug Watch Updater
** Changed in: binutils
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils:
  Fix Released
Status in binutils package in Ubuntu:
  Confirmed
Status in glibc package in Ubuntu:
  Invalid

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils2.32.51.20190905-0ubuntu1   i386 GNU 
assembler, linker and binary utilities
  ii  binutils-common:i3862.32.51.20190905-0ubuntu1   i386 Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i3862.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities (private shared library)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1844119] Re: readelf crash on 32bit, leading to abi-monitor testsuite regression

2019-10-01 Thread Launchpad Bug Tracker
This bug was fixed in the package binutils - 2.32.90.20190929-0ubuntu2

---
binutils (2.32.90.20190929-0ubuntu2) eoan; urgency=medium

  * Snapshot, taken from the 2.33 branch (20190929).
- Fix PR25031, nm reports wrong address on 32bit. LP: #1845190.
- Fix PR25018, readelf crash on 32bits. LP: #1844119.
- [GOLD] Fix spurious "plugin needed to handle lto object" warnings.
- GCC 10 related warning fixes.
- i386: Adjust for new output format from readelf.
  * Include the test logs in the binutils-dev package.

 -- Matthias Klose   Sun, 29 Sep 2019 07:37:06 +0200

** Changed in: binutils (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to binutils in Ubuntu.
https://bugs.launchpad.net/bugs/1844119

Title:
  readelf crash on 32bit, leading to abi-monitor testsuite regression

Status in binutils:
  Fix Released
Status in binutils package in Ubuntu:
  Fix Released
Status in glibc package in Ubuntu:
  Invalid

Bug description:
  readelf --debug-dump=info libjsoncpp.so.1.8.1
  to reproduce
  dpkg -l |grep binut
  ii  binutils2.32.51.20190905-0ubuntu1   i386 GNU 
assembler, linker and binary utilities
  ii  binutils-common:i3862.32.51.20190905-0ubuntu1   i386 Common 
files for the GNU assembler, linker and binary utilities
  ii  binutils-i686-linux-gnu 2.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities, for i686-linux-gnu target
  ii  libbinutils:i3862.32.51.20190905-0ubuntu1   i386 GNU 
binary utilities (private shared library)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp