Closed frantony closed 3 years ago
Can you try running west update
inside Docker?
@carlescufi
Can you try running west update inside Docker?
After west update
build finished successfully, thanks!
+ west build -b nucleo_f103rb samples/compression/lz4
-- west build: generating a build system
Including boilerplate (Zephyr base): /workdir/zephyr/cmake/app/boilerplate.cmake
-- Application: /workdir/zephyr/samples/compression/lz4
-- Zephyr version: 2.7.99 (/workdir/zephyr), build: v2.7.0-rc3-276-ga81f8af70173
-- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter
-- Found west (found suitable version "0.11.1", minimum required is "0.7.1")
-- Board: nucleo_f103rb
-- Cache files will be written to: /workdir/zephyr/.cache
-- Using toolchain: zephyr 0.13.1 (/opt/toolchains/zephyr-sdk-0.13.1)
-- Found dtc: /opt/toolchains/zephyr-sdk-0.13.1/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /workdir/zephyr/boards/arm/nucleo_f103rb/nucleo_f103rb.dts
-- Generated zephyr.dts: /workdir/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /workdir/zephyr/build/zephyr/include/generated/devicetree_unfixed.h
-- Generated device_extern.h: /workdir/zephyr/build/zephyr/include/generated/device_extern.h
-- Including generated dts.cmake file: /workdir/zephyr/build/zephyr/dts.cmake
Parsing /workdir/zephyr/Kconfig
Loaded configuration '/workdir/zephyr/boards/arm/nucleo_f103rb/nucleo_f103rb_defconfig'
Merged configuration '/workdir/zephyr/samples/compression/lz4/prj.conf'
Configuration saved to '/workdir/zephyr/build/zephyr/.config'
Kconfig header saved to '/workdir/zephyr/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/toolchains/zephyr-sdk-0.13.1/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /workdir/zephyr/build
-- west build: building application
[1/128] Preparing syscall dependency handling
[121/128] Linking C executable zephyr/zephyr_prebuilt.elf
[128/128] Linking C executable zephyr/zephyr.elf
Memory region Used Size Region Size %age Used
FLASH: 19992 B 128 KB 15.25%
SRAM: 4080 B 20 KB 19.92%
IDT_LIST: 0 GB 2 KB 0.00%
Describe the bug samples/compression/lz4 failed with zephyr toolchain.
To Reproduce
Use Docker image from https://github.com/zephyrproject-rtos/docker-image (038d2a28d92920dc66199137652d646a2876d703) as build environment.
Environment: OS: (Linux) Toolchain (zephyr-sdk-0.13.1) Commit SHA: a81f8af7017313c7cf6901528245258e9b4b0f45