Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ west build -p always -b visionfive2_jh7110 samples/hello_world/
- -- west build: making build dir /home/kanak/zephyrproject/zephyr/build pristine
- -- west build: generating a build system
- Loading Zephyr default modules (Zephyr base).
- -- Application: /home/kanak/zephyrproject/zephyr/samples/hello_world
- -- CMake version: 3.22.1
- -- Found Python3: /home/kanak/zephyrproject/.zephyr-env/bin/python3 (found suitable version "3.10.12", minimum required is "3.8") found components: Interpreter
- -- Cache files will be written to: /home/kanak/.cache/zephyr
- -- Zephyr version: 3.5.99 (/home/kanak/zephyrproject/zephyr)
- -- Found west (found suitable version "1.2.0", minimum required is "0.14.0")
- -- Board: visionfive2_jh7110
- -- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
- -- Found host-tools: zephyr 0.16.3 (/home/kanak/zephyr-sdk-0.16.3)
- -- Found toolchain: zephyr 0.16.3 (/home/kanak/zephyr-sdk-0.16.3)
- -- Found Dtc: /home/kanak/zephyr-sdk-0.16.3/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
- -- Found BOARD.dts: /home/kanak/zephyrproject/zephyr/boards/riscv/visionfive2_jh7110/visionfive2_jh7110.dts
- -- Generated zephyr.dts: /home/kanak/zephyrproject/zephyr/build/zephyr/zephyr.dts
- -- Generated devicetree_generated.h: /home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_generated.h
- -- Including generated dts.cmake file: /home/kanak/zephyrproject/zephyr/build/zephyr/dts.cmake
- Parsing /home/kanak/zephyrproject/zephyr/Kconfig
- Loaded configuration '/home/kanak/zephyrproject/zephyr/boards/riscv/visionfive2_jh7110/visionfive2_jh7110_defconfig'
- Merged configuration '/home/kanak/zephyrproject/zephyr/samples/hello_world/prj.conf'
- Configuration saved to '/home/kanak/zephyrproject/zephyr/build/zephyr/.config'
- Kconfig header saved to '/home/kanak/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
- -- Found GnuLd: /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd (found version "2.38")
- -- The C compiler identification is GNU 12.2.0
- -- The CXX compiler identification is GNU 12.2.0
- -- The ASM compiler identification is GNU
- -- Found assembler: /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc
- -- Using ccache: /usr/bin/ccache
- CMake Warning at /home/kanak/zephyrproject/zephyr/CMakeLists.txt:853 (message):
- No SOURCES given to Zephyr library: drivers__serial
- Excluding target from build.
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/kanak/zephyrproject/zephyr/build
- -- west build: building application
- [1/90] Preparing syscall dependency handling
- [3/90] Generating include/generated/version.h
- -- Zephyr version: 3.5.99 (/home/kanak/zephyrproject/zephyr), build: zephyr-v3.5.0-1913-g827732db0e04
- [85/90] Linking C executable zephyr/zephyr_pre0.elf
- FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map /home/kanak/zephyrproject/zephyr/build/zephyr/zephyr_pre0.map
- : && ccache /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/riscv64-zephyr-elf-gcc -gdwarf-4 zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj -o zephyr/zephyr_pre0.elf zephyr/CMakeFiles/offsets.dir/./arch/riscv/core/offsets/offsets.c.obj -fuse-ld=bfd -T zephyr/linker_zephyr_pre0.cmd -Wl,-Map=/home/kanak/zephyrproject/zephyr/build/zephyr/zephyr_pre0.map -Wl,--whole-archive app/libapp.a zephyr/libzephyr.a zephyr/arch/common/libarch__common.a zephyr/arch/arch/riscv/core/libarch__riscv__core.a zephyr/lib/libc/picolibc/liblib__libc__picolibc.a zephyr/lib/libc/common/liblib__libc__common.a zephyr/drivers/timer/libdrivers__timer.a -Wl,--no-whole-archive zephyr/kernel/libkernel.a -L"/home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/rv64imac_zicsr_zifencei/lp64/medany" -L/home/kanak/zephyrproject/zephyr/build/zephyr -lgcc zephyr/arch/common/libisr_tables.a -mcmodel=medany -mabi=lp64 -march=rv64imac_zicsr_zifencei -Wl,--gc-sections -Wl,--build-id=none -Wl,--sort-common=descending -Wl,--sort-section=alignment -Wl,-u,_OffsetAbsSyms -Wl,-u,_ConfigAbsSyms -nostdlib -static -Wl,-X -Wl,-N -Wl,--orphan-handling=warn -Wl,-no-pie -DPICOLIBC_LONG_LONG_PRINTF_SCANF --specs=picolibc.specs -lc -lgcc && cd /home/kanak/zephyrproject/zephyr/build/zephyr && /usr/bin/cmake -E true
- /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd: invalid origin for memory region ROM
- /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd: invalid length for memory region ROM
- /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd: zephyr/zephyr_pre0.elf section `bss' will not fit in region `RAM'
- /home/kanak/zephyr-sdk-0.16.3/riscv64-zephyr-elf/bin/../lib/gcc/riscv64-zephyr-elf/12.2.0/../../../../riscv64-zephyr-elf/bin/ld.bfd:zephyr/linker_zephyr_pre0.cmd:44: undefined symbol `ROM_BASE' referenced in expression
- collect2: error: ld returned 1 exit status
- ninja: build stopped: subcommand failed.
- FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/kanak/zephyrproject/zephyr/build
Advertisement
Add Comment
Please, Sign In to add comment