Skip to contentSkip to conversation

package/janet: needs gcc >= 4.9

PATCH In review Fabrice Fontaine 2 participants 2 messages Feb 21, 2023 – Mar 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/janet: needs gcc >= 4.9

janet needs gcc >= 4.9 for stdatomic.h since version 1.26.0 and
https://github.com/janet-lang/janet/commit/bfcfd58259911b92ff516bab9216831b34653805
resulting in the following build failure since commit 5c6f32bd255fc97823d464beacfa905a141066ec:

src/core/abstract.c:35:23: fatal error: stdatomic.h: No such file or directory

Fixes:
- http://autobuild.buildroot.org/results/a2b40adb93b751221ba2cdf9a705f86c30499021

---
 package/janet/Config.in | 4 ++++
 1 file changed, 4 insertions(+)
package/janet/Config.in +4 -0
index 0e25ce34e3..7b78c14bf4 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_JANET
 	bool "janet"
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C11/stdatomic.h
 	help
 	  Janet is a functional and imperative programming language.
 	  The entire language (core library, interpreter, compiler,
@@ -8,3 +9,6 @@ config BR2_PACKAGE_JANET
 	  and two headers.
 
 	  https://janet-lang.org/
+
+comment "janet needs a toolchain w/ gcc >= 4.9"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
Signature · 6 lines
2.39.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

janet needs gcc >= 4.9 for stdatomic.h since version 1.26.0 and
https://github.com/janet-lang/janet/commit/bfcfd58259911b92ff516bab9216831b34653805
resulting in the following build failure since commit 5c6f32bd255fc97823d464beacfa905a141066ec:

Quoted 6 lines

src/core/abstract.c:35:23: fatal error: stdatomic.h: No such file or directory

Fixes:
- http://autobuild.buildroot.org/results/a2b40adb93b751221ba2cdf9a705f86c30499021

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot