How to install debug symbols for libc++ on Ubuntu 20.04 LTS?
Right now I'm having to resort to compile everything with -fstandalone-debug.
How to install debug symbols for libc++ on Ubuntu 20.04 LTS?
Right now I'm having to resort to compile everything with -fstandalone-debug.
I was looking for the same thing starting yesterday and today found this wiki link: https://wiki.ubuntu.com/Debug%20Symbol%20Packages
succinctly:
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | \
sudo tee -a /etc/apt/sources.list.d/ddebs.list
sudo apt install ubuntu-dbgsym-keyring
sudo apt-get update
*-dbgsym packages, I found which libc++ package I had installed like so:apt list --installed | grep libc++
sudo apt search libc++ | grep -P 'libc\+\+.*dbgsym'
sudo apt install libc++1-11-dbgsym
I got a hint at the right solution from the final comment in this thread: https://bugs.llvm.org/show_bug.cgi?id=24202