[Bug ld/21441] Unnecessary padding of .eh_frame section

2017-08-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21441

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at sourceware dot org   |amodra at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/21884] [2.29/2.30 Regression] ld segfaulting building memtest86

2017-08-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21884

--- Comment #33 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by H.J. Lu :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34c4758cc210e2ca042b0373938e57fd6844f89d

commit 34c4758cc210e2ca042b0373938e57fd6844f89d
Author: H.J. Lu 
Date:   Sun Aug 13 05:41:37 2017 -0700

ld: Restore linker scripts in PR ld/21884 tests

OUTPUT_FORMAT in linker script of PR ld/21884 tests is needed to trigger
PR ld/21884.  Restore linker scripts and add nacl versions of the same
tests.

* testsuite/ld-i386/i386.exp: Run pr21884-nacl.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
* testsuite/ld-i386/pr21884.d: Don't run on nacl targets.
* testsuite/ld-x86-64/pr21884.d: Likewise.
* testsuite/ld-i386/pr21884.t: Revert the last change.
* testsuite/ld-x86-64/pr21884.t: Likewise.
* testsuite/ld-i386/pr21884-nacl.d: New file.
* testsuite/ld-i386/pr21884-nacl.t: Likewise.
* testsuite/ld-x86-64/pr21884-nacl.d: Likewise.
* testsuite/ld-x86-64/pr21884-nacl.t: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/21923] Test failures when binutils is configured with --enable-shared --disable-static

2017-08-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21923

--- Comment #4 from cvs-commit at gcc dot gnu.org  ---
The binutils-2_29-branch branch has been updated by H.J. Lu
:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ffb6dbfed645366a708535203e0663e7be45

commit ffb6dbfed645366a708535203e0663e7be45
Author: H.J. Lu 
Date:   Tue Aug 8 14:13:46 2017 -0700

ld: Replace --rpath with -Wl,--rpath,

"--rpath ../bfd/.libs ../bfd/.libs/libbfd.so" isn't a valid compiler
command-line option.  We should use -Wl,--rpath, instead of --rpath.

PR ld/21923
* configure.ac (TESTBFDLIB): Replace --rpath with -Wl,--rpath,
for --disable-static.
* configure: Regenerated.

(cherry picked from commit fe22cbc418b35ed6ea3252a204bd351f8c201e0b and
 9165f4548be8612161fb90cfad9bd0cc6a752c90)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/21934] gas build fails when using gcc 7

2017-08-13 Thread bneumeier at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21934

--- Comment #12 from Brett Neumeier  ---
> With i386 GCC 7.1.1, I got
> 
> [hjl@gnu-tools-1 tmp]$  /usr/gcc-7.1.1-32bit/bin/gcc -S -O2 -g -Wall
> tc-i386.i -W -Wstrict-prototypes -Wmissing-prototypes -Wshadow
> -Wstack-usage=262144 -Werror -Wwrite-strings  -Wno-implicit-fallthrough
> [hjl@gnu-tools-1 tmp]$ 
> 
> on your full tc-i386.i.  It sounds like an arm GCC 7 bug to me.  Please open
> a GCC bug first before we decide what to do with a workaround in binutils.

Thanks H J! I have filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81840.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/21924] Test weakundef1 with PIE fails

2017-08-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21924

H.J. Lu  changed:

   What|Removed |Added

   Target Milestone|--- |2.30

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/21441] Unnecessary padding of .eh_frame section

2017-08-13 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21441

--- Comment #7 from cvs-commit at gcc dot gnu.org  ---
The master branch has been updated by Alan Modra :

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=79a94a2ad1e6e2f227de07427481e4bb8be84504

commit 79a94a2ad1e6e2f227de07427481e4bb8be84504
Author: Alan Modra 
Date:   Mon Aug 14 09:25:17 2017 +0930

PR21441, Unnecessary padding of .eh_frame section

Until all .eh_frame sections have been edited we don't know their
sizes.  So it isn't possible to properly decide whether a non-empty
.eh_frame section follows a given section until editing is complete.

bfd/
PR 21441
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't add
alignment padding here.
* elflink.c (bfd_elf_discard_info): Add .eh_frame padding here
in a reverse pass over sections.
ld/
PR 21441
* testsuite/ld-x86-64/pr21038a.d: Adjust.
* testsuite/ld-x86-64/pr21038a-now.d: Adjust.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/21441] Unnecessary padding of .eh_frame section

2017-08-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21441

Alan Modra  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Alan Modra  ---
Fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug admin/21955] New: admin

2017-08-13 Thread kurniawanpuji1 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21955

Bug ID: 21955
   Summary: admin
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: admin
  Assignee: unassigned at sourceware dot org
  Reporter: kurniawanpuji1 at gmail dot com
  Target Milestone: ---

Created attachment 10346
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10346&action=edit
maling

admin

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/21957] New: Null Pointer in setup_group

2017-08-13 Thread 499671216 at qq dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21957

Bug ID: 21957
   Summary: Null Pointer in setup_group
   Product: binutils
   Version: 2.29
Status: UNCONFIRMED
  Severity: critical
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: 499671216 at qq dot com
  Target Milestone: ---

Created attachment 10348
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10348&action=edit
objdump -s NULL_POINTER

My platform is ubuntu x86

root@ubuntu:/home/hjy/Desktop# objdump -s NULL_POINTER 
objdump: NULL_POINTER: corrupt size field in group section header: 0x80004064
ASAN:SIGSEGV
=
==27535==ERROR: AddressSanitizer: SEGV on unknown address 0x0004 (pc
0x083bb69a sp 0xbffa4e90 bp 0xbffa50b8 T0)
#0 0x83bb699 in setup_group /home/hjy/Desktop/binutils-2.29/bfd/elf.c:756
#1 0x83bb699 in _bfd_elf_make_section_from_shdr
/home/hjy/Desktop/binutils-2.29/bfd/elf.c:1020
#2 0x83b46ce in bfd_section_from_shdr
/home/hjy/Desktop/binutils-2.29/bfd/elf.c:2436
#3 0x83bd816 in setup_group /home/hjy/Desktop/binutils-2.29/bfd/elf.c:643
#4 0x83bd816 in _bfd_elf_make_section_from_shdr
/home/hjy/Desktop/binutils-2.29/bfd/elf.c:1020
#5 0x83b42f9 in bfd_section_from_shdr
/home/hjy/Desktop/binutils-2.29/bfd/elf.c:2453
#6 0x83872d0 in bfd_elf32_object_p
/home/hjy/Desktop/binutils-2.29/bfd/elfcode.h:805
#7 0x82bd375 in bfd_check_format_matches
/home/hjy/Desktop/binutils-2.29/bfd/format.c:311
#8 0x806e0e1 in display_object_bfd objdump.c:3601
#9 0x806e0e1 in display_any_bfd objdump.c:3692
#10 0x805837d in display_file objdump.c:3713
#11 0x805837d in main objdump.c:4015
#12 0xb70cca82 in __libc_start_main (/lib/i386-linux-gnu/libc.so.6+0x19a82)
#13 0x805af8f (/usr/local/bin/objdump+0x805af8f)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/hjy/Desktop/binutils-2.29/bfd/elf.c:756
setup_group
==27535==ABORTING

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils