Commit 18b11937 by François Dumont

re PR libstdc++/85768 (FreeBSD bootstrap fails due to undefined reference to 'backtrace')

2018-05-25  François Dumont  <fdumont@gcc.gnu.org>

	PR libstdc++/85768
	* src/c++11/debug.cc: Remove backtrace usage.

From-SVN: r260761
parent fc47a2fd
2018-05-25 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/85768
* src/c++11/debug.cc: Remove backtrace usage.
2018-05-24 Maya Rashish <coypu@sdf.org> 2018-05-24 Maya Rashish <coypu@sdf.org>
PR target/85904 PR target/85904
......
...@@ -40,7 +40,8 @@ ...@@ -40,7 +40,8 @@
#include <cxxabi.h> // for __cxa_demangle #include <cxxabi.h> // for __cxa_demangle
#if defined _GLIBCXX_HAVE_EXECINFO_H // libstdc++/85768
#if 0 // defined _GLIBCXX_HAVE_EXECINFO_H
# include <execinfo.h> // for backtrace # include <execinfo.h> // for backtrace
#endif #endif
...@@ -1050,7 +1051,8 @@ namespace __gnu_debug ...@@ -1050,7 +1051,8 @@ namespace __gnu_debug
print_literal(ctx, "\n"); print_literal(ctx, "\n");
} }
#if defined _GLIBCXX_HAVE_EXECINFO_H // libstdc++/85768
#if 0 //defined _GLIBCXX_HAVE_EXECINFO_H
{ {
void* stack[32]; void* stack[32];
int nb = backtrace(stack, 32); int nb = backtrace(stack, 32);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment