Skip to contentSkip to conversation

package/zchunk: needs MMU

PATCH Applied Fabrice Fontaine 2 participants 2 messages Jan 2, 2022 – Jan 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/zchunk: needs MMU

Fix the following build failure raised since the addition of the package in commit c618da772df32679fdd338b99f44133655c9113f:

/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: src/zck_gen_zdict.p/zck_gen_zdict.c.o: in function `main':
zck_gen_zdict.c:(.text.startup+0x254): undefined reference to `fork'

Fixes:
- http://autobuild.buildroot.org/results/582b994372435b8c35a56345c15bd0ffc722af79

---
 package/zchunk/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/zchunk/Config.in +1 -0
index 2c8db434ce..2d2a78a210 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_ZCHUNK
 	bool "zchunk"
+	depends on BR2_USE_MMU # fork()
 	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
 	select BR2_PACKAGE_LIBCURL
 	help
Signature · 6 lines
2.33.0

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

Fix the following build failure raised since the addition of the package in commit c618da772df32679fdd338b99f44133655c9113f:

/home/giuliobenetti/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/arm-buildroot-uclinux-uclibcgnueabi/bin/ld.real: src/zck_gen_zdict.p/zck_gen_zdict.c.o: in function `main':
zck_gen_zdict.c:(.text.startup+0x254): undefined reference to `fork'

Fixes:
- http://autobuild.buildroot.org/results/582b994372435b8c35a56345c15bd0ffc722af79

Applied to master, thanks.

Regards,
Arnout

Quoted 10 lines
---
  package/zchunk/Config.in | 1 +
  1 file changed, 1 insertion(+)
package/zchunk/Config.in +0 -0
index 2c8db434ce..2d2a78a210 100644

package/zchunk/Config.in line 6

Quoted 6 lines
package/zchunk/Config.in +1 -0
@@ -1,5 +1,6 @@
  config BR2_PACKAGE_ZCHUNK
  	bool "zchunk"
+	depends on BR2_USE_MMU # fork()
  	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
  	select BR2_PACKAGE_LIBCURL
  	help

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