[Bug ld/28673] New: Wrong error: input file 'gcov' is the same as output file

2021-12-08 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=28673

Bug ID: 28673
   Summary: Wrong error: input file 'gcov' is the same as output
file
   Product: binutils
   Version: 2.38 (HEAD)
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: ld
  Assignee: unassigned at sourceware dot org
  Reporter: mliska at suse dot cz
CC: amodra at gmail dot com
  Target Milestone: ---

Started with g:43908c16539f486d0b1afc43329bf59d1c3cdd20

Happens during GCC bootstrap and can be reduced to:

$ ./ld-new -o gcov -lgcov
./ld-new: input file 'gcov' is the same as output file

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


[Bug ld/28603] Incorrect branch offset from the start of a function after enable LTO

2021-12-08 Thread sen2403 at hotmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28603

--- Comment #2 from Eason Lai  ---
Could anyone take a look? or any suggestion? Thanks.

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


[Bug ld/28673] Wrong error: input file 'gcov' is the same as output file

2021-12-08 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28673

Alan Modra  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2021-12-08
 Status|UNCONFIRMED |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 ld/28673] Wrong error: input file 'gcov' is the same as output file

2021-12-08 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=28673

--- Comment #1 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=da1ecf8919e3fe07fbec53240015dc3cc55dbd7c

commit da1ecf8919e3fe07fbec53240015dc3cc55dbd7c
Author: Alan Modra 
Date:   Wed Dec 8 19:53:54 2021 +1030

PR28673, input file 'gcov' is the same as output file

PR 28673
* ldlang.c (open_output): Use local_sym_name when checking
output against input files rather than filename.

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


[Bug ld/28673] Wrong error: input file 'gcov' is the same as output file

2021-12-08 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28673

Alan Modra  changed:

   What|Removed |Added

 CC|amodra at gmail dot com|
 Resolution|--- |FIXED
   Target Milestone|--- |2.38
 Status|ASSIGNED|RESOLVED

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

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


[Bug binutils/28674] New: objdump crashed when compiled with `clang-13 -O0`

2021-12-08 Thread shaohua.li at inf dot ethz.ch
https://sourceware.org/bugzilla/show_bug.cgi?id=28674

Bug ID: 28674
   Summary: objdump crashed when compiled with `clang-13 -O0`
   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 13831
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13831&action=edit
poc_clang-O0

Hi there,

I crashed `objdump -S -D` when I compile binutils with `clang-13 -O0`. For the
provided poc, if I compile with other opt flags, e.g., `clang-13 -O2`, `objdump
-S -D` would not crash.

- Compiler: clang-13 -O0

- Platform: Ubuntu 20.04.4 LTS, x86_64

- Reproduce: run `objdump -S -D poc_clang-O0`

- Raw output:

../bin/objdump-clang13-O0: Warning: Corrupt unit length (got 0x656c6966
expected at most 0x12) in section .debug_info

bugs/diff_5: file format elf64-x86-64


Disassembly of section .debug_str:

 :
../bin/objdump-clang13-O0: BFD (GNU Binutils) 2.37.50.20211202 assertion fail
./dwarf2.c:4296
../bin/objdump-clang13-O0: DWARF error: info pointer extends beyond end of
attributes
../bin/objdump-clang13-O0: DWARF error: info pointer extends beyond end of
attributes
Segmentation fault (core dumped)

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


Issue 40562 in oss-fuzz: binutils:fuzz_dlltool: Direct-leak in xmalloc

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 40562 by sheriffbot: binutils:fuzz_dlltool: Direct-leak in 
xmalloc
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40562#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 41118 in oss-fuzz: binutils:fuzz_objcopy: Null-dereference READ in _bfd_xcoff_copy_private_bfd_data

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 41118 by sheriffbot: binutils:fuzz_objcopy: 
Null-dereference READ in _bfd_xcoff_copy_private_bfd_data
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41118#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 40919 in oss-fuzz: binutils:fuzz_addr2line: Heap-buffer-overflow in bfd_putl32

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 40919 by sheriffbot: binutils:fuzz_addr2line: 
Heap-buffer-overflow in bfd_putl32
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40919#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 40908 in oss-fuzz: binutils:fuzz_bfd: Heap-buffer-overflow in bfd_getl32

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 40908 by sheriffbot: binutils:fuzz_bfd: 
Heap-buffer-overflow in bfd_getl32
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40908#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 41015 in oss-fuzz: binutils:fuzz_objcopy: Null-dereference in bfd_elf_set_group_contents

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 41015 by sheriffbot: binutils:fuzz_objcopy: 
Null-dereference in bfd_elf_set_group_contents
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=41015#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 40399 in oss-fuzz: binutils:fuzz_nm: Stack-overflow in mmo_get_symbols

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #6 on issue 40399 by sheriffbot: binutils:fuzz_nm: Stack-overflow in 
mmo_get_symbols
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40399#c6

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 40458 in oss-fuzz: binutils:fuzz_as: Timeout in fuzz_as

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 40458 by sheriffbot: binutils:fuzz_as: Timeout in fuzz_as
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40458#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 40224 in oss-fuzz: binutils:fuzz_objdump: Unexpected-exit in xexit

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #6 on issue 40224 by sheriffbot: binutils:fuzz_objdump: Unexpected-exit 
in xexit
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40224#c6

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 40945 in oss-fuzz: binutils:fuzz_objdump: Null-dereference READ in compare_symbols

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 40945 by sheriffbot: binutils:fuzz_objdump: 
Null-dereference READ in compare_symbols
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40945#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

Issue 40361 in oss-fuzz: binutils:fuzz_as: Integer-overflow in expr

2021-12-08 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #5 on issue 40361 by sheriffbot: binutils:fuzz_as: Integer-overflow in 
expr
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=40361#c5

This bug has been fixed. It has been opened to the public.

- Your friendly Sheriffbot

-- 
You received this message because:
  1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.