package genconfig
configuration conf {
include embox.arch.riscv.kernel.boot
include embox.arch.riscv.kernel.arch
// temporary disabled irqs
include embox.driver.interrupt.no_interrupts
include embox.kernel.no_irq
include embox.driver.serial.sifive_uart(base_addr=0x10013000,baud_rate=115200,clock_freq=32000000)
include embox.driver.diag(impl="embox__driver__serial__sifive_uart")
// copied from multiclet's config
include embox.kernel.cpu.no_bkl
include embox.kernel.cpu.no_cpudata
include embox.compat.libc.math_libm_none
include embox.compat.libc.type
include embox.compat.libc.str
include embox.compat.libc.assert
include embox.kernel.Kernel
include embox.framework.LibFramework
}
make confload-riscv/qemu-sifive-e
make
src/kernel/irq_static.c: In function 'irq_attach':
src/kernel/irq_static.c:28:2: error: implicit declaration of function 'assert' [-Werror=implicit-function-declaration]
include embox.compat.libc.assert
` in build config, but that's not working. --
You received this message because you are subscribed to the Google Groups "embox-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to embox-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
package genconfig
configuration conf {
include embox.arch.riscv.kernel.boot
include embox.arch.riscv.kernel.arch
// temporary disabled irqs
include embox.driver.interrupt.no_interrupts
include embox.kernel.no_irq
include embox.driver.serial.sifive_uart(base_addr=0x10013000,baud_rate=115200,clock_freq=32000000)
include embox.driver.diag(impl="embox__driver__serial__sifive_uart")
// copied from multiclet's config
include embox.kernel.cpu.no_bkl
include embox.kernel.cpu.no_cpudata
// include embox.compat.libc.math_libm_none
include embox.compat.libc.math_builtins
include embox.compat.libc.stdio.print(support_floating=0)
include embox.compat.libc.type
include embox.compat.libc.str
include embox.compat.libc.assert
include embox.kernel.Kernel
// include embox.framework.LibFramework
}
src/compat/libc/math/math_builtins.c:26:8: error: conflicting types for built-in function 'roundl' [-Werror=builtin-declaration-mismatch]
embox.compat.libc.math_libm_none
` I get this error:src/compat/libc/stdio/printf_impl.c:13:10: fatal error: math.h: No such file or directory
cannot stat ‘libgcc.a’
":$ make
make[4]: Nothing to be done for 'all'.
make[4]: '/home/dk/devel/other/embox/build/base/gen/embox_gcc_env.sh' is up to date.
cp "$(riscv32-unknown-elf-gcc -pipe --debug-prefix-map=`pwd`= --debug-prefix-map=./= -fno-strict-aliasing -fno-common -Wall -Werror -Wundef -Wno-trigraphs -Wno-char-subscripts -Wformat -std=gnu99 -g -O0 -march=rv32imac -mabi=ilp32 -mcmodel=medany -Wno-misleading-indentation -Wno-nonnull-compare -print-file-name=libgcc.a | sed $'s/$//')" ./build/base/obj/third-party/lib/libgcc
cp: cannot stat ‘libgcc.a’: No such file or directory
make[4]: *** [build/base/gen/third-party/lib/libgcc/libgcc.a.rule.mk:17: build/base/obj/third-party/lib/libgcc/libgcc.a] Error 1
make[3]: *** [mk/build.mk:23: build] Error 2
make[2]: *** [mk/load.mk:41: build] Error 2
make[1]: *** [mk/main.mk:30: build] Error 2
make: *** [Makefile:37: all] Error 2
make[4]: Nothing to be done for 'all'.
make[4]: '/home/dk/devel/other/embox/build/base/gen/embox_gcc_env.sh' is up to date.
make[4]: Nothing to be done for 'all'.
EMBOX_GCC_LINK=full ./mk/extbld/arch-embox-gcc ./mk/extbld/toolchain_test.c -o ./build/base/obj/toolchain_test
/usr/bin/ld: error in ./build/base/obj/embox.o(.eh_frame); no .eh_frame_hdr table will be created.
./build/base/obj/embox.o: In function `print_i':
src/compat/libc/stdio/printf_impl.c:114: undefined reference to `__umoddi3'
src/compat/libc/stdio/printf_impl.c:117: undefined reference to `__udivdi3'
collect2: error: ld returned 1 exit status
make[4]: *** [mk/extbld/toolchain.mk:76: build/base/obj/toolchain_test] Error 1
make[3]: *** [mk/build.mk:24: build] Error 2
make[2]: *** [mk/load.mk:41: build] Error 2
make[1]: *** [mk/main.mk:30: build] Error 2
make: *** [Makefile:37: all] Error 2
// based on x86/minimal template
package genconfig
configuration conf {
include embox.arch.riscv.kernel.boot
include embox.arch.riscv.kernel.
arch
/* There is no interrupts */
include embox.arch.generic.interrupt_stub
include embox.driver.interrupt.no_interrupts
include embox.kernel.no_irq
include embox.kernel.stack(stack_size=0x2000)
/* Use writing/reading to/from memory instead of using real serial port */
include embox.driver.diag.mem_diag
include embox.driver.diag(impl="embox__driver__diag__mem_diag")
/* Tell printf() do not support floating point */
include embox.compat.libc.stdio.print(support_floating=0)
include embox.kernel.critical
include embox.compat.libc.math_builtins
include embox.kernel.spinlock(spin_debug = false)
}
BUILDMODEL
(Unknown):: error: No abstract realization: embox.arch.libarch.
(Unknown):: error: No abstract realization: embox.arch.locore.
BUILDGEN build
--
--