-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: ARMARM (32-bit) ArchitectureARM (32-bit) Architecturearea: ToolchainsToolchainsToolchainsbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug
Description
With c894aa3 landing, we see failures in these POSIX+newlib tests built using ARM GCC embedded toolchain (gnuarmemb) in our (Linaro's) CI: https://ci.linaro.org/job/zephyr-upstream/PLATFORM=frdm_k64f,ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb,label=docker-xenial-amd64-13/3584/console
Specific failure is:
01:46:54 make[3]: Entering directory `/home/buildslave/srv/zephyr/master/gnuarmemb/frdm_k64f/frdm_k64f/tests/posix/fs/portability.posix.newlib'
01:46:54 [ 80%] Building C object zephyr/CMakeFiles/priv_stacks_prebuilt.dir/misc/empty_file.c.obj
01:46:54 [ 81%] Linking C executable priv_stacks_prebuilt.elf
01:46:54 /home/buildslave/srv/toolchain/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/lib/thumb/v7e-m/libc.a(lib_a-writer.o): In function `_write_r':
01:46:54 writer.c:(.text._write_r+0x12): undefined reference to `_write'
01:46:54 /home/buildslave/srv/toolchain/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/lib/thumb/v7e-m/libc.a(lib_a-closer.o): In function `_close_r':
01:46:54 closer.c:(.text._close_r+0xc): undefined reference to `_close'
01:46:54 /home/buildslave/srv/toolchain/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/lib/thumb/v7e-m/libc.a(lib_a-lseekr.o): In function `_lseek_r':
01:46:54 lseekr.c:(.text._lseek_r+0x12): undefined reference to `_lseek'
01:46:54 /home/buildslave/srv/toolchain/gcc-arm-none-eabi-7-2018-q2-update/arm-none-eabi/lib/thumb/v7e-m/libc.a(lib_a-readr.o): In function `_read_r':
01:46:54 readr.c:(.text._read_r+0x12): undefined reference to `_read'
01:46:54 collect2: error: ld returned 1 exit status
As Linaro is committed to support Zephyr buildability with gnuarmemb, I'm going to look into that.
Metadata
Metadata
Assignees
Labels
area: ARMARM (32-bit) ArchitectureARM (32-bit) Architecturearea: ToolchainsToolchainsToolchainsbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bug