Skip to contentSkip to conversation

acpica: needs threads

PATCH New Erico Nunes 3 participants 3 messages Jul 10, 2016 – Jul 11, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acpica: needs threads

Fixes:
http://autobuild.buildroot.net/results/53e/53e38f278ad6d1a7d0a48bce74976f59475b1a99/
http://autobuild.buildroot.net/results/a7c/a7cc6187451f944e6846d3f6b5cd3aac700796dd/

---
 package/acpica/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/acpica/Config.in +4 -0
index 74d1f26..c5ffb00 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ACPICA
 	bool "acpica"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  The ACPI Component Architecture (ACPICA) project provides an
 	  operating system (OS)-independent reference implementation
@@ -7,3 +8,6 @@ config BR2_PACKAGE_ACPICA
 	  Specification (ACPI).
 
 	  https://www.acpica.org
+
+comment "acpica needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/1 acpica: needs threads

Erico, Allm

On 2016-07-10 19:43 +0200, Erico Nunes spake thusly:

Quoted 5 lines

Fixes:
http://autobuild.buildroot.net/results/53e/53e38f278ad6d1a7d0a48bce74976f59475b1a99/
http://autobuild.buildroot.net/results/a7c/a7cc6187451f944e6846d3f6b5cd3aac700796dd/

I was surprised that semaphores would require threads, since it is possible to use semaphores across processes (we'd just need a shared memory segment to share the semaphore), but indeed, one needs to link against -pthread to get the semaphores.

Regards,
Yann E. MORIN.

Quoted 29 lines
---
 package/acpica/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/acpica/Config.in +4 -0
index 74d1f26..c5ffb00 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ACPICA
 	bool "acpica"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  The ACPI Component Architecture (ACPICA) project provides an
 	  operating system (OS)-independent reference implementation
@@ -7,3 +8,6 @@ config BR2_PACKAGE_ACPICA
 	  Specification (ACPI).
 
 	  https://www.acpica.org
+
+comment "acpica needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 6 lines
2.9.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 acpica: needs threads

In reply to Erico Nunes
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Erico" == Erico Nunes <[email protected]> writes:

Fixes:
http://autobuild.buildroot.net/results/53e/53e38f278ad6d1a7d0a48bce74976f59475b1a99/
http://autobuild.buildroot.net/results/a7c/a7cc6187451f944e6846d3f6b5cd3aac700796dd/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard