Skip to contentSkip to conversation

udpcast: needs mmu

PATCH New Gustavo Zacarias 3 participants 10 messages Oct 9, 2013 – Oct 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/7 udpcast: needs mmu

---
 package/udpcast/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/udpcast/Config.in +1 -0
index cb817a9..cae27bd 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_UDPCAST
 	bool "udpcast"
 	depends on BR2_LARGEFILE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # fork()
 	help
 	  A multicast protocol implementation which happens to
 	  be very handy for imaging drives over the network.
Signature · 1 line
1.8.1.5
#1 lore raw

PATCH 2/7 civetweb: needs mmu

---
 package/civetweb/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/civetweb/Config.in +1 -0
index f7a31f5..55c138a 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_CIVETWEB
 	bool "civetweb"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # fork()
 	help
 	  Full featured embedded web server with Lua support.
 
Signature · 1 line
1.8.1.5
#2 lore raw

PATCH 3/7 kismet: needs mmu

In reply to Gustavo Zacarias
---
 package/kismet/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/kismet/Config.in +1 -0
index 8de29be..a0e7c67 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_KISMET
 	bool "kismet"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_NCURSES
 	select BR2_PACKAGE_NCURSES_TARGET_PANEL
 	select BR2_PACKAGE_LIBPCAP
Signature · 1 line
1.8.1.5
#3 lore raw

PATCH 4/7 lighttpd: needs mmu

In reply to Gustavo Zacarias
---
 package/lighttpd/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/lighttpd/Config.in +1 -0
index cb759ff..b84e6ea 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LIGHTTPD
 	bool "lighttpd"
+	depends on BR2_USE_MMU # fork()
 	help
 	  lighttpd a secure, fast, compliant and very flexible web-server
 	  which has been optimized for high-performance environments. It
Signature · 1 line
1.8.1.5
#4 lore raw

PATCH 5/7 mongoose: needs mmu

In reply to Gustavo Zacarias
---
 package/mongoose/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/mongoose/Config.in +1 -0
index 7199712..1668476 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_MONGOOSE
 	bool "mongoose"
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # fork()
 	help
 	  Mongoose is a small and easy to use web server
 
Signature · 1 line
1.8.1.5
#5 lore raw

PATCH 5/7 mongoose: needs mmu

Quoted 10 lines · Gustavo Zacarias
---
  package/mongoose/Config.in | 1 +
  1 file changed, 1 insertion(+)
package/mongoose/Config.in +0 -0
index 7199712..1668476 100644

package/mongoose/Config.in line 6

Quoted 6 lines
package/mongoose/Config.in +1 -0
@@ -1,6 +1,7 @@
  config BR2_PACKAGE_MONGOOSE
  	bool "mongoose"
  	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_USE_MMU # fork()
  	help
  	  Mongoose is a small and easy to use web server

Note that fork() is only needed for CGI, so you could instead build
with -DNO_CGI. It would be a pity to remove mongoose for NOMMU platforms since it is ideally suited for them...

Regards,
Arnout

Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#6 lore raw

PATCH 5/7 mongoose: needs mmu

Quoted 5 lines · Arnout Vandecappelle
Quoted 5 lines
package/mongoose/Config.in +0 -0
@@ -1,6 +1,7 @@
  config BR2_PACKAGE_MONGOOSE
      bool "mongoose"
Quoted 8 lines

package/mongoose/Config.in line 6

Quoted 4 lines
package/mongoose/Config.in +1 -0
      depends on BR2_TOOLCHAIN_HAS_THREADS
+    depends on BR2_USE_MMU # fork()
      help
        Mongoose is a small and easy to use web server

Note that fork() is only needed for CGI, so you could instead build
with -DNO_CGI. It would be a pity to remove mongoose for NOMMU platforms since it is ideally suited for them...

Right, but there's still a catch, it's explicitly linking to libdl which is a big no-no for FLAT nommu.
You seem to be involved with it upstream, care to cook up a patch to fix the Makefile and maybe bump it bump a notch while at it? :) Regards.

#7 lore raw

PATCH 6/7 mrouted: needs mmu

In reply to Gustavo Zacarias
---
 package/mrouted/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/mrouted/Config.in +1 -0
index 1503cc6..bf4614d 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_MROUTED
 	bool "mrouted"
+	depends on BR2_USE_MMU # fork()
 	help
 	  An implementation of the DVMRP multicast routing protocol.
 
Signature · 1 line
1.8.1.5
#8 lore raw

PATCH 7/7 ngircd: needs mmu

In reply to Gustavo Zacarias
---
 package/ngircd/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/ngircd/Config.in +1 -0
index e8fc3d0..f1d8bea 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_NGIRCD
 	bool "ngircd"
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_ZLIB
 	help
 	  Next Generation IRC server deamon.
Signature · 1 line
1.8.1.5