Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reel_board: tests/net/ieee802154/l2/ build failure #30548

Closed
s-kelvin opened this issue Dec 9, 2020 · 1 comment
Closed

reel_board: tests/net/ieee802154/l2/ build failure #30548

s-kelvin opened this issue Dec 9, 2020 · 1 comment
Labels
bug The issue is a bug, or the PR is fixing a bug

Comments

@s-kelvin
Copy link
Collaborator

s-kelvin commented Dec 9, 2020

Describe the bug
Running tests/net/ieee802154/l2/ on reel board. Build Failure encountered.

To Reproduce
Steps to reproduce the behavior:

  1. west build -p auto -b reel_board tests/net/ieee802154/l2/

Expected behavior
Be successfully built and test should pass.

Impact
Build failure

Logs and console output

-- west build: making build dir /home/ztest/zephyrproject/zephyr/build pristine
-- west build: generating a build system
Including boilerplate (Zephyr base): /home/ztest/zephyrproject/zephyr/cmake/app/boilerplate.cmake
-- Application: /home/ztest/zephyrproject/zephyr/tests/net/ieee802154/l2
-- Zephyr version: 2.4.99 (/home/ztest/zephyrproject/zephyr)
-- Found Python3: /usr/bin/python3.9 (found suitable exact version "3.9.0") found components: Interpreter
-- Found west (found suitable version "0.8.0", minimum required is "0.7.1")
-- Board: reel_board
-- Cache files will be written to: /home/ztest/.cache/zephyr
-- Found toolchain: zephyr (/home/ztest/zephyr-sdk-0.11.4)
-- Found dtc: /home/ztest/zephyr-sdk-0.11.4/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6"
-- Found BOARD.dts: /home/ztest/zephyrproject/zephyr/boards/arm/reel_board/reel_board.dts
-- Generated zephyr.dts: /home/ztest/zephyrproject/zephyr/build/zephyr/zephyr.dts
-- Generated devicetree_unfixed.h: /home/ztest/zephyrproject/zephyr/build/zephyr/include/generated/devicetree_unfixed.h

warning: TEST_RANDOM_GENERATOR (defined at subsys/random/Kconfig:8) was assigned the value 'y' but
got the value 'n'. Check these unsatisfied dependencies: (!ENTROPY_HAS_DRIVER) (=n). See
http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_TEST_RANDOM_GENERATOR.html and/or look
up TEST_RANDOM_GENERATOR in the menuconfig/guiconfig interface. The Application Development Primer,
Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be
helpful too.

Parsing /home/ztest/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/ztest/zephyrproject/zephyr/boards/arm/reel_board/reel_board_defconfig'
Merged configuration '/home/ztest/zephyrproject/zephyr/tests/net/ieee802154/l2/prj.conf'
Configuration saved to '/home/ztest/zephyrproject/zephyr/build/zephyr/.config'
Kconfig header saved to '/home/ztest/zephyrproject/zephyr/build/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/ztest/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ztest/zephyrproject/zephyr/build
-- west build: building application
[1/224] Preparing syscall dependency handling

[219/224] Linking C executable zephyr/zephyr_prebuilt.elf
FAILED: zephyr/zephyr_prebuilt.elf
: && ccache /home/ztest/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc   zephyr/CMakeFiles/zephyr_prebuilt.dir/misc/empty_file.c.obj -ozephyr/zephyr_prebuilt.elf  -Wl,-T  zephyr/linker.cmd  -Wl,-Map=/home/ztest/zephyrproject/zephyr/build/zephyr/zephyr_prebuilt.map  -Wl,--whole-arcive  app/libapp.a  zephyr/libzephyr.a  zephyr/arch/common/libarch__common.a  zephyr/arch/arch/arm/core/aarch32/libarch__arm__core__aarch32.a  zephr/arch/arch/arm/core/aarch32/cortex_m/libarch__arm__core__aarch32__cortex_m.a  zephyr/arch/arch/arm/core/aarch32/cortex_m/mpu/libarch__arm__core__arch32__cortex_m__mpu.a  zephyr/lib/libc/minimal/liblib__libc__minimal.a  zephyr/lib/posix/liblib__posix.a  zephyr/soc/arm/common/cortex_m/libsoc_arm__common__cortex_m.a  zephyr/soc/arm/nordic_nrf/nrf52/libsoc__arm__nordic_nrf__nrf52.a  zephyr/boards/arm/reel_board/libboards__arm__reel_boarda  zephyr/subsys/net/libsubsys__net.a  zephyr/subsys/net/l2/dummy/libsubsys__net__l2__dummy.a  zephyr/subsys/net/l2/ieee802154/libsubsys__net__l2_ieee802154.a  zephyr/subsys/net/ip/libsubsys__net__ip.a  zephyr/subsys/random/libsubsys__random.a  zephyr/subsys/testsuite/ztest/libsubsys__testsute__ztest.a  zephyr/drivers/gpio/libdrivers__gpio.a  zephyr/drivers/i2c/libdrivers__i2c.a  zephyr/drivers/spi/libdrivers__spi.a  zephyr/drivers/seial/libdrivers__serial.a  zephyr/drivers/entropy/libdrivers__entropy.a  modules/nordic/lib..__modules__hal__nordic.a  -Wl,--no-whole-archive  zephr/kernel/libkernel.a  zephyr/CMakeFiles/offsets.dir/./arch/arm/core/offsets/offsets.c.obj  -L"/home/ztest/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/..lib/gcc/arm-zephyr-eabi/9.2.0/thumb/v7e-m/nofp"  -L/home/ztest/zephyrproject/zephyr/build/zephyr  -lgcc  -Wl,--print-memory-usage  zephyr/arch/comon/libisr_tables.a  -mcpu=cortex-m4  -mthumb  -mabi=aapcs  -Wl,--gc-sections  -Wl,--build-id=none  -Wl,--sort-common=descending  -Wl,--sort-sectio=alignment  -Wl,-u,_OffsetAbsSyms  -Wl,-u,_ConfigAbsSyms  -nostdlib  -static  -no-pie  -Wl,-X  -Wl,-N  -Wl,--orphan-handling=warn && :
Memory region         Used Size  Region Size  %age Used
           FLASH:      115696 B         1 MB     11.03%
            SRAM:       25656 B       256 KB      9.79%
        IDT_LIST:         152 B         2 KB      7.42/home/ztest/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/../../.././arm-zephyr-eabi/bin/ld: modules/nordic/lib..__modules__hal__nordic.a(nrf_802154_trx_ppi.c.obj): in function `nrf_802154_trx_ppi_for_fem_set':
/home/ztest/zephyrproject/modules/hal/nordic/drivers/nrf_radio_802154/src/nrf_802154_trx_ppi.c:206: undefined reference to `mpsl_fem_abort_extend'
/home/ztest/zephyr-sdk-0.11.4/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/9.2.0/../../../../arm-zephyr-eabi/bin/ld: /home/ztest/zephyrproject/mdules/hal/nordic/drivers/nrf_radio_802154/src/nrf_802154_trx_ppi.c:207: undefined reference to `mpsl_fem_abort_extend'
collect2: error: ld returned 1 exit status
%
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /usr/bin/cmake --build /home/ztest/zephyrproject/zephyr/build

Environment (please complete the following information):

  • OS: Linux Ubuntu 18.04.4 LTS
  • Toolchain Zephyr SDK 0.11.4
  • modules/hal/nordic/ commit id: b94fe9280c5a0d0dbd4e4aa214f3c6daea24a78f
@s-kelvin s-kelvin added the bug The issue is a bug, or the PR is fixing a bug label Dec 9, 2020
@rlubos
Copy link
Contributor

rlubos commented Dec 9, 2020

This is already fixed on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

No branches or pull requests

2 participants