Skip to contentSkip to conversation

SDL2 depends on MMU (fork)

PATCH New Guillaume GARDET 3 participants 4 messages Jan 5, 2017 – Jan 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SDL2 depends on MMU (fork)

Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa

---
 package/sdl2/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/sdl2/Config.in +1 -0
index b73611d..30d5c1a 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SDL2
 	bool "sdl2"
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_USE_MMU # fork()
 	help
 	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
 	  programs portable low level access to a video framebuffer,
Signature · 1 line
1.8.4.5
#1 lore raw

PATCH 1/1 SDL2 depends on MMU (fork)

Hi Guillaume,

Quoted 12 lines · Guillaume GARDET

Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa

---
 package/sdl2/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/sdl2/Config.in +0 -0
index b73611d..30d5c1a 100644

package/sdl2/Config.in line 4

Quoted 4 lines
package/sdl2/Config.in +1 -0
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SDL2
 	bool "sdl2"
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_USE_MMU # fork()

You need to propagate this dependency to config symbols that select BR2_PACKAGE_SDL2, BR2_PACKAGE_FFMPEG_FFPLAY and BR2_PACKAGE_STELLA. See section 17.2.3 in the manual[1] for an explanation.

[1] http://nightly.buildroot.org/manual.html#_config_files

package/sdl2/Config.in line 7

Quoted 3 lines
package/sdl2/Config.in +0 -0
 	help
 	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
 	  programs portable low level access to a video framebuffer,

baruch

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
#2 lore raw

PATCH 1/1 SDL2 depends on MMU (fork)

Hi Guillaume,

Le 05/01/2017 ? 12:42, Baruch Siach a ?crit :

Quoted 10 lines

Hi Guillaume,

Quoted 7 lines · Guillaume GARDET

Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa

---
 package/sdl2/Config.in | 1 +
 1 file changed, 1 insertion(+)
Quoted 9 lines

package/sdl2/Config.in line 4

Quoted 9 lines
package/sdl2/Config.in +1 -0
index b73611d..30d5c1a 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SDL2
 	bool "sdl2"
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_USE_MMU # fork()

It's actually BR2_PACKAGE_SDL2_X11 option that use fork(). If you disable it, SDL2 package build fine with this configuration.

Best regards,
Romain

Quoted 13 lines

You need to propagate this dependency to config symbols that select BR2_PACKAGE_SDL2, BR2_PACKAGE_FFMPEG_FFPLAY and BR2_PACKAGE_STELLA. See section 17.2.3 in the manual[1] for an explanation.

[1] http://nightly.buildroot.org/manual.html#_config_files

package/sdl2/Config.in line 7

Quoted 3 lines
package/sdl2/Config.in +0 -0
 	help
 	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
 	  programs portable low level access to a video framebuffer,

baruch

#3 lore raw

PATCH 1/1 SDL2 depends on MMU (fork)

Hi Romain,

Quoted 9 lines · Romain Naour

Le 05/01/2017 ? 12:42, Baruch Siach a ?crit :

Quoted 8 lines · Guillaume GARDET
Quoted 7 lines

Fixes autobuilder failure http://autobuild.buildroot.net/results/2f7/2f738830bf98eb7284f99c11856a8694467b3daa

---
 package/sdl2/Config.in | 1 +
 1 file changed, 1 insertion(+)
Quoted 12 lines
Quoted 9 lines

package/sdl2/Config.in line 4

Quoted 9 lines
package/sdl2/Config.in +1 -0
index b73611d..30d5c1a 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SDL2
 	bool "sdl2"
 	depends on !BR2_STATIC_LIBS
+	depends on BR2_USE_MMU # fork()

It's actually BR2_PACKAGE_SDL2_X11 option that use fork(). If you disable it, SDL2 package build fine with this configuration.

In this case there is no need to propagate the dependency, since no symbol selects BR2_PACKAGE_SDL2_X11.

Thanks,
baruch

Quoted 9 lines
Quoted 9 lines

You need to propagate this dependency to config symbols that select BR2_PACKAGE_SDL2, BR2_PACKAGE_FFMPEG_FFPLAY and BR2_PACKAGE_STELLA. See section 17.2.3 in the manual[1] for an explanation.

[1] http://nightly.buildroot.org/manual.html#_config_files

Quoted 3 lines
package/sdl2/Config.in +0 -0
 	help
 	  Simple DirectMedia Layer 2 - SDL2 is a library that allows
 	  programs portable low level access to a video framebuffer,
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -