[Bug binutils/30069] New: objdump (*-w64-mingw32) does not support the output of c++ symbol names for dynamic libraries

2023-02-01 Thread ralf.habacker at freenet dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=30069

Bug ID: 30069
   Summary: objdump (*-w64-mingw32) does not support the output of
c++ symbol names for dynamic libraries
   Product: binutils
   Version: 2.39
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: ralf.habacker at freenet dot de
  Target Milestone: ---

Dynamic libraries generated for windows by i686-w64-mingw32-g++ may provide c++
symbols or refer to c++ symbols from other dynamic libraries.

When running `i686-w64-mingw32-objdump -x -C gnu-v3` on such a dynamic library 
 does not print out the demangled symbol name.

How to reproduce: 

1. downloaded appended dll.a
2. run 

 i686-w64-mingw32-objdump -x --demangle=gnu-v3 libgmpxx-4.dll | gawk '$3 ~
/basic_string/ { print $3}'
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEjjPKcj
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcj
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateEjjPKcj
_Z24__gmp_istream_set_digitsRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSiRcRbi

The referenced symbols are valid c++ symbols as shown below: 

 i686-w64-mingw32-objdump -x --demangle=gnu-v3 libgmpxx-4.dll | gawk '$3 ~
/basic_string/ { print $3}' | c++filt

std::__cxx11::basic_string, std::allocator
>::_M_dispose()
std::__cxx11::basic_string, std::allocator
>::_M_replace(unsigned int, unsigned int, char const*, unsigned int)
std::__cxx11::basic_string, std::allocator
>::_M_append(char const*, unsigned int)
std::__cxx11::basic_string, std::allocator
>::_M_mutate(unsigned int, unsigned int, char const*, unsigned int)
__gmp_istream_set_digits(std::__cxx11::basic_string, std::allocator >&, std::basic_istream >&, char&, bool&, int)

It would be nice if objdump could output the symbols demangled if desired.

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


[Bug ld/29973] x86_64-w64-mingw32-g++ ld: helloworld.exe:.rdata_r: section below image base for windows

2023-02-01 Thread euloanty at live dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=29973

--- Comment #16 from cqwrteur  ---
Created attachment 14649
  --> https://sourceware.org/bugzilla/attachment.cgi?id=14649&action=edit
libstdc++.dll.a

I think the issue comes with libstdc++.dll.a but I am not sure. Can you have a
look at libstdc++.dll.a?

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


[Bug gprofng/28972] gprofng libraries should be installed under $(pkglibdir)

2023-02-01 Thread vladimir.mezentsev at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28972

Vladimir Mezentsev  changed:

   What|Removed |Added

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

--- Comment #6 from Vladimir Mezentsev  
---
Fixed in the master and binutils-2_40-branch branches.

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


[Bug gprofng/30043] libgprofng.so.* are installed to a wrong location

2023-02-01 Thread vladimir.mezentsev at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30043

Vladimir Mezentsev  changed:

   What|Removed |Added

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

--- Comment #6 from Vladimir Mezentsev  
---
Fixed in the master and binutils-2_40-branch branches.

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


[Bug gprofng/30043] libgprofng.so.* are installed to a wrong location

2023-02-01 Thread kurt.goebel at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30043

Kurt Goebel  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||kurt.goebel at oracle dot com

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


[Bug gprofng/28972] gprofng libraries should be installed under $(pkglibdir)

2023-02-01 Thread kurt.goebel at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=28972

Kurt Goebel  changed:

   What|Removed |Added

 Status|REOPENED|ASSIGNED
 CC||kurt.goebel at oracle dot com

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


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

2023-02-01 Thread sheriffbot via monorail
Updates:
Labels: -restrict-view-commit -deadline-approaching Deadline-Exceeded

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

This bug has exceeded our disclosure deadline. 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.