Skip to contentSkip to conversation

cpupower: Bump soname version

PATCH RESEND In review Salvatore Bonaccorso 2 participants 3 messages May 17, 2023 – Jun 5, 2023 CPU power monitoring

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 cpupower: Bump soname version

From: Ben Hutchings <[email protected]>

Several functions in the libcpupower API are renamed or removed in Linux 4.7. This is an backward-incompatible ABI change, so the library soname should change from libcpupower.so.0 to libcpupower.so.1.

Fixes ac5a181d065d ("cpupower: Add cpuidle parts into library")
---
 tools/power/cpupower/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/cpupower/Makefile +1 -1
index 59bfa05dec5d..dc531805a570 100644
@@ -53,7 +53,7 @@ DESTDIR ?=
 
 VERSION:=			$(shell ./utils/version-gen.sh)
 LIB_MAJ=			0.0.1
-LIB_MIN=			0
+LIB_MIN=			1
 
 PACKAGE =			cpupower
 PACKAGE_BUGREPORT =		[email protected]
Signature · 1 line
2.40.1
maintainer
#1 lore raw
Quoted 11 lines · Salvatore Bonaccorso

From: Ben Hutchings <[email protected]>

Several functions in the libcpupower API are renamed or removed in Linux 4.7. This is an backward-incompatible ABI change, so the library soname should change from libcpupower.so.0 to libcpupower.so.1.

Fixes ac5a181d065d ("cpupower: Add cpuidle parts into library")

---

Thank you Salvatore. I will apply this for the next 6.4-rc

thanks,
-- Shuah

maintainer
#2 lore raw
Quoted 8 lines · Shuah Khan
Quoted 7 lines · Salvatore Bonaccorso

From: Ben Hutchings <[email protected]>

Several functions in the libcpupower API are renamed or removed in Linux 4.7.  This is an backward-incompatible ABI change, so the library soname should change from libcpupower.so.0 to libcpupower.so.1.

Quoted 7 lines
Quoted 4 lines
Fixes ac5a181d065d ("cpupower: Add cpuidle parts into library")

---

Thank you Salvatore. I will apply this for the next 6.4-rc

I was just about to send this in pull request and did a final test. I am not really seeing any change in library name.

Does LIB_MAJ need bumping up instead of LIB_MIN?

Can you send me before and after build results?

thanks,
-- Shuah