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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
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.

Reply via email to