diff -Nru coz-profiler-0.2.2/debian/changelog coz-profiler-0.2.2/debian/changelog
--- coz-profiler-0.2.2/debian/changelog	2024-05-09 17:08:30.000000000 +0800
+++ coz-profiler-0.2.2/debian/changelog	2024-05-27 19:30:22.000000000 +0800
@@ -1,3 +1,9 @@
+coz-profiler (0.2.2-4) UNRELEASED; urgency=medium
+
+  *Fix unknown compilation unit version 5.
+
+ -- Gui-Yue <yuemeng.gui@gmail.com>  Mon, 27 May 2024 19:30:22 +0800
+
 coz-profiler (0.2.2-3) unstable; urgency=medium
 
   * QA upload.
diff -Nru coz-profiler-0.2.2/debian/patches/fix_dwarf_error.patch coz-profiler-0.2.2/debian/patches/fix_dwarf_error.patch
--- coz-profiler-0.2.2/debian/patches/fix_dwarf_error.patch	1970-01-01 08:00:00.000000000 +0800
+++ coz-profiler-0.2.2/debian/patches/fix_dwarf_error.patch	2024-05-27 19:30:15.000000000 +0800
@@ -0,0 +1,11 @@
+--- a/libcoz/Makefile
++++ b/libcoz/Makefile
+@@ -1,7 +1,7 @@
+ ROOT 		 := ..
+ TARGETS  := libcoz.so
+ LIBS     := -ldl -lrt -lpthread $(shell pkg-config --libs libelf++ libdwarf++)
+-CXXFLAGS := --std=c++0x -g -O2 -fPIC -I$(ROOT)/include -I. \
++CXXFLAGS := --std=c++0x -g -O2 -fPIC -gdwarf-4 -I$(ROOT)/include -I. \
+             $(shell pkg-config --cflags libelf++ libdwarf++)
+ 
+ include $(ROOT)/common.mk
diff -Nru coz-profiler-0.2.2/debian/patches/series coz-profiler-0.2.2/debian/patches/series
--- coz-profiler-0.2.2/debian/patches/series	2020-09-03 00:24:05.000000000 +0800
+++ coz-profiler-0.2.2/debian/patches/series	2024-05-27 19:28:52.000000000 +0800
@@ -5,3 +5,4 @@
 05-revert-in-scope-error.patch
 06-viewer-install.patch
 07-coz-plot.patch
+fix_dwarf_error.patch
