[Buildroot] [PATCH 1/1] package/janet: needs MMU

Yann E. MORIN yann.morin.1998 at free.fr
Tue Nov 28 16:12:34 UTC 2023


Fabrice, All

On 2023-11-27 22:28 +0100, Fabrice Fontaine spake thusly:
> janet unconditionally uses fork since version 1.32.0 and
> https://github.com/janet-lang/janet/commit/4b8c1ac2d2d5c13d7c8592fd6d94b34a6a8b3549
> resulting in the following build failure since bump to version 1.32.1 in
> commit c87abf01a9153a2b2fe6c046fa83c86db92d79a7:
> 
> janet.c:(.text+0x19bbc): undefined reference to `fork'
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/f0771fc6c9905d3a6d60ce245df585b3c6096f7f
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/janet/Config.in | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/package/janet/Config.in b/package/janet/Config.in
> index 7b78c14bf4..bb4bf462aa 100644
> --- a/package/janet/Config.in
> +++ b/package/janet/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_JANET
>  	bool "janet"
> +	depends on BR2_USE_MMU # fork()
>  	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
>  	help
>  	  Janet is a functional and imperative programming language.
> @@ -11,4 +12,5 @@ config BR2_PACKAGE_JANET
>  	  https://janet-lang.org/
>  
>  comment "janet needs a toolchain w/ gcc >= 4.9"
> +	depends on BR2_USE_MMU
>  	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
> -- 
> 2.42.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list