https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82543

            Bug ID: 82543
           Summary: libbacktrace does not retrieve function names on 64
                    bit windows (using mingw)
           Product: gcc
           Version: 6.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antoshkka at gmail dot com
  Target Milestone: ---

A bunch of people noticed that libbacktrace built with mingw does not retrieve
function names or even fails:

https://github.com/blueCFD/Core/issues/7#issuecomment-333597877
https://github.com/boostorg/stacktrace/issues/16
https://github.com/boostorg/stacktrace/issues/14

I can confirm, that libbacktrace fails to retrieve function names on 64 bit
platform:

 0# 0x00401617 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe
 1# 0x00402FF6 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe
 2# 0x00401288 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe
 0# 0x00403379 in backtrace_ho.test\gcc-mingw-6\debug\backtrace_ho.exe

MinGW info:

C:\boost_1_65_1\libs\stacktrace\test>C:\MinGW\bin\g++.exe -v
Using built-in specs.
COLLECT_GCC=C:\MinGW\bin\g++.exe
COLLECT_LTO_WRAPPER=c:/mingw/bin/../libexec/gcc/mingw32/6.3.0/lto-wrapper.exe
Target: mingw32
Configured with: ../src/gcc-6.3.0/configure --build=x86_64-pc-linux-gnu
--host=mingw32 --with-gmp=/mingw --with-mpfr=/mingw --with-mpc=/mingw
--with-isl=/mingw --prefix=/mingw --disable-win32-registry --target=mingw32
--with-arch=i586 --enable-languages=c,c++,objc,obj-c++,fortran,ada
--with-pkgversion='MinGW.org GCC-6.3.0-1' --enable-static --enable-shared
--enable-threads --with-dwarf2 --disable-sjlj-exceptions
--enable-version-specific-runtime-libs --with-libiconv-prefix=/mingw
--with-libintl-prefix=/mingw --enable-libstdcxx-debug --with-tune=generic
--enable-libgomp --disable-libvtv --enable-nls
Thread model: win32
gcc version 6.3.0 (MinGW.org GCC-6.3.0-1)

Reply via email to