From d77171e10e306cd908482caffc4e2db9a25dfdd1 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Mon, 16 Sep 2019 15:48:42 +0300 Subject: [PATCH] build: adjust libthread_db file name to match gdb expectations gdb searches for libthread_db.so using its canonical name of libthread_db.so.1 rather than the file name of libthread_db-1.0.so, so use that name to store the file in the archive. Fixes #4996. --- scripts/create-relocatable-package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create-relocatable-package.py b/scripts/create-relocatable-package.py index 420d50b7bf..598a569eda 100755 --- a/scripts/create-relocatable-package.py +++ b/scripts/create-relocatable-package.py @@ -78,7 +78,7 @@ for exe in executables: libs.update(ldd(exe)) # manually add libthread_db for debugging thread -libs.update({'libthread_db-1.0.so': '/lib64/libthread_db-1.0.so'}) +libs.update({'libthread_db.so.1': '/lib64/libthread_db-1.0.so'}) ld_so = libs['ld.so']