Skip to contentSkip to conversation

package/siproxd: needs threads

PATCH New Fabrice Fontaine 3 participants 5 messages Mar 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/siproxd: needs threads

siproxd which has been added with commit 3efc5a250c1c98598ba4c91a7d71d11343d937ab unconditionally uses pthread

Fixes:
- http://autobuild.buildroot.org/results/828448fff87772e1c34b3696284a44eb9fc692fb

---
 package/siproxd/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/siproxd/Config.in +4 -0
index 0a471553e4..e73a33bf14 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SIPROXD
 	bool "siproxd"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBOSIP2
 	select BR2_PACKAGE_LIBTOOL
 	select BR2_PACKAGE_SQLITE
@@ -15,3 +16,6 @@ config BR2_PACKAGE_SIPROXD
 	  masquerading firewall or NAT router.
 
 	  http://siproxd.sourceforge.net/
+
+comment "siproxd needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.30.0
#1 lore raw

PATCH 2/2 package/siproxd: needs MMU

siproxd which has been added with commit 3efc5a250c1c98598ba4c91a7d71d11343d937ab unconditionally uses fork

Fixes:
- http://autobuild.buildroot.org/results/0c59373ab3778cf7b15e73968295cec8d109f7cb

---
 package/siproxd/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/siproxd/Config.in +2 -0
index e73a33bf14..24c710b375 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SIPROXD
 	bool "siproxd"
+	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBOSIP2
 	select BR2_PACKAGE_LIBTOOL
@@ -18,4 +19,5 @@ config BR2_PACKAGE_SIPROXD
 	  http://siproxd.sourceforge.net/
 
 comment "siproxd needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
Signature · 1 line
2.30.0
#2 lore raw

PATCH 2/2 package/siproxd: needs MMU

Hello,

Quoted 23 lines · Fabrice Fontaine

siproxd which has been added with commit 3efc5a250c1c98598ba4c91a7d71d11343d937ab unconditionally uses fork

Fixes:
- http://autobuild.buildroot.org/results/0c59373ab3778cf7b15e73968295cec8d109f7cb

---
 package/siproxd/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/siproxd/Config.in +1 -0
index e73a33bf14..24c710b375 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SIPROXD
 	bool "siproxd"
+	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBOSIP2
 	select BR2_PACKAGE_LIBTOOL

package/siproxd/Config.in config BR2_PACKAGE_SIPROXD · line 23

Quoted 5 lines
package/siproxd/Config.in +1 -0
@@ -18,4 +19,5 @@ config BR2_PACKAGE_SIPROXD
 	  http://siproxd.sourceforge.net/
 
 comment "siproxd needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS

Thanks and Greets
Alex

Signature · 11 lines
/"\ ASCII RIBBON | ?With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.?
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210316/42ab6b2e/attachment.asc>
#3 lore raw

PATCH 1/2 package/siproxd: needs threads

In reply to Fabrice Fontaine

Hello,

Quoted 23 lines · Fabrice Fontaine

siproxd which has been added with commit 3efc5a250c1c98598ba4c91a7d71d11343d937ab unconditionally uses pthread

Fixes:
- http://autobuild.buildroot.org/results/828448fff87772e1c34b3696284a44eb9fc692fb

---
 package/siproxd/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/siproxd/Config.in +1 -0
index 0a471553e4..e73a33bf14 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_SIPROXD
 	bool "siproxd"
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBOSIP2
 	select BR2_PACKAGE_LIBTOOL
 	select BR2_PACKAGE_SQLITE

package/siproxd/Config.in config BR2_PACKAGE_SIPROXD · line 21

Quoted 6 lines
package/siproxd/Config.in +3 -0
@@ -15,3 +16,6 @@ config BR2_PACKAGE_SIPROXD
 	  masquerading firewall or NAT router.
 
 	  http://siproxd.sourceforge.net/
+
+comment "siproxd needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS

Greets
Alex

Signature · 11 lines
/"\ ASCII RIBBON | ?With the first link, the chain is forged. The first
\ / CAMPAIGN     | speech censured, the first thought forbidden, the
 X  AGAINST      | first freedom denied, chains us all irrevocably.?
/ \ HTML MAIL    | (Jean-Luc Picard, quoting Judge Aaron Satie)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210316/d98695c3/attachment.asc>
#4 lore raw

PATCH 1/2 package/siproxd: needs threads

In reply to Fabrice Fontaine
Quoted 10 lines · On Tue, 16 Mar 2021 07:38:20 +0100 Fabrice Fontaine…

siproxd which has been added with commit 3efc5a250c1c98598ba4c91a7d71d11343d937ab unconditionally uses pthread

Fixes:
- http://autobuild.buildroot.org/results/828448fff87772e1c34b3696284a44eb9fc692fb

---
 package/siproxd/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

Both applied to master. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com