All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/janet: needs MMU
@ 2023-11-27 21:28 Fabrice Fontaine
  2023-11-28 16:12 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2023-11-27 21:28 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

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@gmail.com>
---
 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@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/janet: needs MMU
  2023-11-27 21:28 [Buildroot] [PATCH 1/1] package/janet: needs MMU Fabrice Fontaine
@ 2023-11-28 16:12 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2023-11-28 16:12 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

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@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@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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-28 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-27 21:28 [Buildroot] [PATCH 1/1] package/janet: needs MMU Fabrice Fontaine
2023-11-28 16:12 ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.