unikraft / app-helloworld-cpp

kraft-ready repo for building c++ applications with Unikraft
3 stars 16 forks source link

Won't build on Debian 10. Please assist #24

Closed STashakkori closed 6 months ago

STashakkori commented 6 months ago

sinatashakkori@los-1:~/unik/helloworld-cpp$ kraft build W specification in Kraftfile (v0.5) version is not latest (v0.6) [?] select target: helloworld-cpp (qemu/x86_64) [+] updating package index [1.4s] [+] finding core/unikraft:stable [0.0s] [+] finding lib/compiler-rt:stable [0.0s] [+] finding lib/musl:stable [0.0s] [+] finding lib/libcxxabi:stable [0.0s] [+] finding lib/libcxx:stable [0.0s] [+] finding lib/libunwind:stable [0.0s] [+] pulling lib/compiler-rt:stable •••••••••••••••••••••••••••••••••••••••••••••••••••••• 100% [0.0s] [+] pulling core/unikraft:stable •••••••••••••••••••••••••••••••••••••••••••••••••••••• 100% [0.1s] [+] pulling lib/libcxxabi:stable •••••••••••••••••••••••••••••••••••••••••••••••••••••• 100% [0.0s] [+] pulling lib/musl:stable •••••••••••••••••••••••••••••••••••••••••••••••••••••• 100% [0.0s] [+] pulling lib/libunwind:stable •••••••••••••••••••••••••••••••••••••••••••••••••••••• 100% [0.0s] [+] pulling lib/libcxx:stable •••••••••••••••••••••••••••••••••••••••••••••••••••••• 100% [0.0s] [+] configuring helloworld-cpp (qemu/x86_64) •••••••••••••••••••••••••••••••••••••••••••••••••••••• 100% [1.2s] <!> building helloworld-cpp (qemu/x86_64) 0% [0.2s] i LN Makefile
W /home/sinatashakkori/unik/helloworld-cpp/.unikraft/libs/libcxx/Makefile.uk:44: Require GCC version >= 1 W make: [Makefile:1156: sub-make] Error 2

E could not complete build: build failed: exit status 2

sinatashakkori@los-1:~/unik/helloworld-cpp$ which gcc /usr/bin/gcc sinatashakkori@los-1:~/unik/helloworld-cpp$ gcc --version gcc (Debian 10.2.1-6) 10.2.1 20210110 Copyright (C) 2020 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Looking at the makefile says need gcc11 or higher. Is there a way around this? Can I use clang instead?