Skip to contentSkip to conversation

package/linux-tools: cpupower needs dynamic library

PATCH Applied Fabrice Fontaine 3 participants 3 messages Apr 15, 2022 – May 24, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/linux-tools: cpupower needs dynamic library

cpupower needs dynamic library since its addition in commit f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build failure:

ld (ld-elf2flt): -shared used without passing a shared library ID

Fixes:
- http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e

---
 package/linux-tools/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/linux-tools/Config.in +4 -0
index f459b41762..791f2c085c 100644
@@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS
 
 config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER
 	bool "cpupower"
+	depends on !BR2_STATIC_LIBS
 	select BR2_PACKAGE_LINUX_TOOLS
 	select BR2_PACKAGE_PCIUTILS
 	help
 	  cpupower is a collection of tools to examine and tune power
 	  saving related features of your processor.
 
+comment "cpupower needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_LINUX_TOOLS_GPIO
 	bool "gpio"
 	select BR2_PACKAGE_LINUX_TOOLS
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · Fabrice Fontaine

cpupower needs dynamic library since its addition in commit f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build failure:

ld (ld-elf2flt): -shared used without passing a shared library ID

Fixes:
- http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e

Applied to master, thanks.

Regards,
Arnout

Quoted 15 lines
---
  package/linux-tools/Config.in | 4 ++++
  1 file changed, 4 insertions(+)
package/linux-tools/Config.in +1 -0
index f459b41762..791f2c085c 100644
@@ -7,12 +7,16 @@ config BR2_PACKAGE_LINUX_TOOLS
 
  config BR2_PACKAGE_LINUX_TOOLS_CPUPOWER
  	bool "cpupower"
+	depends on !BR2_STATIC_LIBS
  	select BR2_PACKAGE_LINUX_TOOLS
  	select BR2_PACKAGE_PCIUTILS

package/linux-tools/Config.in config BR2_PACKAGE_LINUX_TOOLS · line 22

Quoted 10 lines
package/linux-tools/Config.in +3 -0
  	help
  	  cpupower is a collection of tools to examine and tune power
  	  saving related features of your processor.
 
+comment "cpupower needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
  config BR2_PACKAGE_LINUX_TOOLS_GPIO
  	bool "gpio"
  	select BR2_PACKAGE_LINUX_TOOLS

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

cpupower needs dynamic library since its addition in commit f1863ede94c29e120d7ce900f7cce211f1e8633a to avoid the following build failure:

Quoted 6 lines

ld (ld-elf2flt): -shared used without passing a shared library ID

Fixes:
- http://autobuild.buildroot.org/results/16f41b9169bd76352c2f2ed8c6239ad371b3a30e

Committed to 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot