ianlancetaylor / libbacktrace

A C library that may be linked into a C/C++ program to produce symbolic backtraces
Other
944 stars 220 forks source link

No longer works with gcc 11.2 (on Kubuntu 22.04 or 21.10) #93

Closed original-birdman closed 2 years ago

original-birdman commented 2 years ago

Was OK with gcc 10.2, but when I build (first time in ~ a year) with 11.2 I end up getting this:

Traceback:
ERROR: unrecognized DWARF version in .debug_info at 6 (0)0x7fa0c4850992 read ??:0
0x55e9d5b90591  ??:0
0x55e9d5b87aa1  ??:0
0x55e9d5b87fee : ??:0
0x55e9d5b74717  ??:0
0x7fa0c4765d8f ?? ??:0
0x7fa0c4765e3f __libc_start_main ??:0
0x55e9d5b74994  ??:0
0xffffffffffffffff ?? ??:0
original-birdman commented 2 years ago

Scrub this....

Juts noticed that the shared library doesn't get built by default (must update my notes...). When I enable that and run make install things work again.