[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-08-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-08-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c9c0684ad3092e5aa50453903c09959cb2e83fc7 commit r12-8707-gc9c0684ad3092e5aa50453903c09959cb2e83fc7 Author: Jonathan Wak

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-08-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |12.3

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-08-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:cc4fa7a210b638d6a46f14dab17f2361389d18e1 commit r13-2145-gcc4fa7a210b638d6a46f14dab17f2361389d18e1 Author: Jonathan Wakely Date:

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|ASSIGNED Assignee|unassigne

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-23 Thread fcolecumberri at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 Francisco changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #6 from Andrew Pinski --- Try: g++ -std=gnu++2b cpp_file.cpp -lstdc++_libbacktrace That is put the library after the source file. Static libraries are always order depedendent.

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-23 Thread fcolecumberri at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #5 from Francisco --- I have no idea of what's happening, I have tried ```bash g++ -std=gnu++2b -lstdc++_libbacktrace cpp_file.cpp ``` and ```bash g++ -std=gnu++2b -L/usr/lib/libstdc++_libbacktrace.a cpp_file.cpp ``` (also tried

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #4 from Jonathan Wakely --- (In reply to Francisco from comment #0) > Maybe I am missing something, Yes, you need to link to the extra lib that gets built by the extra configure option you gave. > maybe the documentation is missin

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 Jonathan Wakely changed: What|Removed |Added Keywords||documentation Status|UNCO

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-20 Thread fcolecumberri at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #2 from Francisco --- just tried ```bash g++ -std=gnu++2b -static-libstdc++ cpp_file.cpp ``` but same result.

[Bug libstdc++/105678] Undefined reference to stacktrace standard library

2022-05-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678 --- Comment #1 from Andrew Pinski --- I suspect it is missing from the linker script for versioning. Using -static-libstdc++ should be a workaround.