[Bug gas/29487] New: all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)

2022-08-14 Thread dilfridge at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29487

Bug ID: 29487
   Summary: all/gas.exp test failure (new in 2.39): FAIL: .equ
redefinitions (3)
   Product: binutils
   Version: 2.39
Status: NEW
  Severity: normal
  Priority: P2
 Component: gas
  Assignee: unassigned at sourceware dot org
  Reporter: dilfridge at gentoo dot org
  Target Milestone: ---

Gentoo Linux, installed: gcc 11.3, binutils 2.38; building binutils 2.39

Running
/tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/gas.exp
...
FAIL: .equ redefinitions (3)
[...]

=== gas Summary ===

# of expected passes1603
# of unexpected failures1
# of unsupported tests  1
/tmp/portage/sys-devel/binutils-2.39/work/build/gas/as-new 2.39.0


>From the log:

PASS: .equ redefinitions (2)
../as-new -o tmpdir/redef3.o
/tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/redef3.s
Executing on host: sh -c {../as-new -o tmpdir/redef3.o
/tmp/portage/sys-devel/binutils-2.39/work/binutils-2.39/gas/testsuite/gas/all/redef3.s
2>&1}  /dev/null dump.t
mp (timeout = 300)
spawn [open ...]
/tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite/../../binutils/objdump
 -rsj .data tmpdir/redef3.o > tmpdir/dump.out
Executing on host: sh -c
{/tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite/../../binutils/objdump
 -rsj .data tmpdir/redef3.o > tmpdir/dump.out 2>dump.tmp} 
 /dev/null  (timeout = 300)
spawn [open ...]
exited abnormally with 1,
output:/tmp/portage/sys-devel/binutils-2.39/work/build/binutils/.libs/objdump:
error while loading shared libraries:
/tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so:
file too short

FAIL: .equ redefinitions (3)


huettel@noumea /tmp/portage/sys-devel/binutils-2.39/work/build/gas/testsuite $
ls -la
/tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so
-rwxr-xr-x 1 huettel huettel 1242864 15. Aug 00:45
/tmp/portage/sys-devel/binutils-2.39/work/build/opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so

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


[Bug gas/29487] all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)

2022-08-14 Thread dilfridge at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29487

Andreas K. Huettel  changed:

   What|Removed |Added

 CC||toolchain at gentoo dot org

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


Issue 49081 in oss-fuzz: binutils:fuzz_objdump: Undefined-shift in som_set_reloc_info

2022-08-14 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 49081 by sheriffbot: binutils:fuzz_objdump: Undefined-shift 
in som_set_reloc_info
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49081#c3

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 49134 in oss-fuzz: binutils:fuzz_strings: Null-dereference in spu_elf_object_p

2022-08-14 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 49134 by sheriffbot: binutils:fuzz_strings: 
Null-dereference in spu_elf_object_p
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=49134#c3

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 50018 in oss-fuzz: binutils:fuzz_objdump: Null-dereference READ in som_set_reloc_info

2022-08-14 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit

Comment #3 on issue 50018 by sheriffbot: binutils:fuzz_objdump: 
Null-dereference READ in som_set_reloc_info
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=50018#c3

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.

[Bug gas/29487] all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)

2022-08-14 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29487

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


[Bug gas/29487] all/gas.exp test failure (new in 2.39): FAIL: .equ redefinitions (3)

2022-08-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29487

Alan Modra  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #1 from Alan Modra  ---
> opcodes/.libs/libopcodes-2.39.0.gentoo-sys-devel-binutils-st.so: file too 
> short

That's an error from ld.so.  I think that says you have a problem in your file
system, or you are somehow re-building libopcodes at the same time as using it.
 objdump is run for other tests before this one, so why didn't it fail loading
libopcodes.so on other tests?

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


[Bug binutils/29489] New: dlltool is not deterministic

2022-08-14 Thread mh-sourceware at glandium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=29489

Bug ID: 29489
   Summary: dlltool is not deterministic
   Product: binutils
   Version: unspecified
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: mh-sourceware at glandium dot org
  Target Milestone: ---

Both ar and objcopy default to build deterministic archives, but dlltool
doesn't.

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


[Bug binutils/29491] New: program strip-new bug report

2022-08-14 Thread sophrosx at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29491

Bug ID: 29491
   Summary: program strip-new bug report
   Product: binutils
   Version: 2.39
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: sophrosx at gmail dot com
  Target Milestone: ---

Created attachment 14276
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14276&action=edit
the testcases triggered dead loop problem

Hello,

I detected the dead loop problem through fuzz testing, which I think be a
vulnerability.

The configuration of binutils is:

$  ./configure --disable-shared && make -j

and compiled with gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

I use the program strip-new in ~/binutils-gdb-binutils-2_39/binutils/strip-new
with parameter "-o tmp ./dead_loop_input", and after waiting 6 hours, the
program neither giving any outputs nor terminating.

The testcase that trigger such results are in the attachment.

Thanks & Best Regards

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


[Bug binutils/29362] Some memory leaks occur when binutils code is tested using the binutils fuzz test suite.

2022-08-14 Thread shenxiaogll at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29362

--- Comment #1 from Cunlong Li  ---
Created attachment 14277
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14277&action=edit
Fix some memory leaks in objcopy.c

I try to fix memory leak about symbol_htabs in objcopy.
Please check it out

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


[Bug binutils/29491] program strip-new bug report

2022-08-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29491

Alan Modra  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Alan Modra  ---
Fixed with commit ef186fe54aa

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


[Bug binutils/29362] Some memory leaks occur when binutils code is tested using the binutils fuzz test suite.

2022-08-14 Thread shenxiaogll at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29362

--- Comment #2 from Cunlong Li  ---
Created attachment 14278
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14278&action=edit
Fix memory leak in objcopy.c

Fix memory leak in objcopy.c
Please check it out.

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


[Bug binutils/29362] Some memory leaks occur when binutils code is tested using the binutils fuzz test suite.

2022-08-14 Thread shenxiaogll at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29362

--- Comment #3 from Cunlong Li  ---
Created attachment 14279
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14279&action=edit
Fix some memory leaks in dwarf.c and objdump.c

I try to fix memory leak about free_debug_.
Please check it out

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