https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678
Jonathan Wakely changed:
What|Removed |Added
Target Milestone|--- |12.3
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:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678
Jonathan Wakely changed:
What|Removed |Added
Status|RESOLVED|ASSIGNED
Assignee|unassigne
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678
Francisco changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
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.
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105678
Jonathan Wakely changed:
What|Removed |Added
Keywords||documentation
Status|UNCO
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.
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.
12 matches
Mail list logo