public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Helmut Zeisel <HZ2012@gmx.at>
To: gcc-help@gcc.gnu.org
Subject: GCC 12.1 and C++23 <stacktrace>
Date: Thu, 28 Jul 2022 20:32:33 +0200	[thread overview]
Message-ID: <trinity-fb7d82d7-4642-4961-ac90-180ec4cec0e2-1659033153765@3c-app-gmx-bap18> (raw)

I tried to use C++23 <stacktrace> with GCC 12.1.
I configured GCC 12.1 with

 --enable-libstdcxx-backtrace=yes

built, and installed.
I built my test program with

-std=c++23 -lstd++_libacktrace

(cf. https://stackoverflow.com/questions/72341483/how-can-i-generate-a-c23-stacktrace-with-gcc-12-1 )

but get the error message

/usr/bin/ld: cannot find -lstd++_libacktrace: No such file or directory

Do I need other or additional options? Where can I check whether libstd++_libacktrace was really built?

Thank you,

Helmut


             reply	other threads:[~2022-07-28 18:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-28 18:32 Helmut Zeisel [this message]
2022-07-28 19:42 ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-fb7d82d7-4642-4961-ac90-180ec4cec0e2-1659033153765@3c-app-gmx-bap18 \
    --to=hz2012@gmx.at \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).