https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
Jonathan Wakely changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #13 from CVS Commits ---
The releases/gcc-12 branch has been updated by Jonathan Wakely
:
https://gcc.gnu.org/g:7804e65ed78b5529635934ca06fbf68521aad32d
commit r12-9942-g7804e65ed78b5529635934ca06fbf68521aad32d
Author: Jonathan Wak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #12 from CVS Commits ---
The releases/gcc-13 branch has been updated by Jonathan Wakely
:
https://gcc.gnu.org/g:13ad7b1603f31b65e181780a29ada3f9a331bf8f
commit r13-7982-g13ad7b1603f31b65e181780a29ada3f9a331bf8f
Author: Jonathan Wak
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #11 from CVS Commits ---
The master branch has been updated by Jonathan Wakely :
https://gcc.gnu.org/g:f32c1e1e96ffef6512ce025942b51f3967a3e7f2
commit r14-4922-gf32c1e1e96ffef6512ce025942b51f3967a3e7f2
Author: Jonathan Wakely
Date
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
Jonathan Wakely changed:
What|Removed |Added
Target Milestone|13.3|12.4
--- Comment #10 from Jonathan Wa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #9 from vincenzo Innocente ---
Thanks for the second patch.
I was indeed struggling with autoconf versions (1.15 vd 1.16)
Any chance to backport to gcc12 (our current production version)?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #8 from Jonathan Wakely ---
Run autoreconf in the libstdc++-v3 dir, but you need the right versions of
automake and autoconf. The effect of doing that would be this additional patch,
which I didn't show (because it's just a generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #7 from vincenzo Innocente ---
not explicitly in the src tree.
only run configure in the build directory.
what I need to run in the src tree?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #6 from Jonathan Wakely ---
The patch works for me. Did you regenerate the Makefile.in files?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #5 from vincenzo Innocente ---
My bad, long time I'm not using archive libraries and forgot about the order
rule.
The issue is indeed missing -fPIC.
Thanks for the fast action.
I applied the patch but it seems not sufficient.
If
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #4 from Jonathan Wakely ---
Testing a patch:
--- a/libstdc++-v3/src/libbacktrace/Makefile.am
+++ b/libstdc++-v3/src/libbacktrace/Makefile.am
@@ -49,9 +49,13 @@ WARN_FLAGS = -W -Wall -Wwrite-strings
-Wmissing-format-attribute \
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
Jonathan Wakely changed:
What|Removed |Added
Keywords||link-failure
Assignee|unass
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #3 from Jonathan Wakely ---
The problem is that libstdc++_libbacktrace.a is not compiled with -fPIC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #2 from Jonathan Wakely ---
(In reply to vincenzo Innocente from comment #0)
> it silently compiles with
> [innocent@patatrack01 ctest]$ c++ -O3 -Wall -pthread -fPIC -shared
> -std=c++23 -lstdc++exp getStacktrace.cc
>
> but the symb
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936
--- Comment #1 from vincenzo Innocente ---
here is a minimal malloc hook that I would like to use
[innocent@patatrack01 ctest]$ cat getStacktrace.cc
#include
std::string get_stacktrace() {
std::string trace;
for (auto & entry : std
15 matches
Mail list logo