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

posix: redefinition of symbols while porting zeromq to zephyr #22722

Closed
jensschroer opened this issue Feb 11, 2020 · 11 comments
Closed

posix: redefinition of symbols while porting zeromq to zephyr #22722

jensschroer opened this issue Feb 11, 2020 · 11 comments
Assignees
Labels
area: POSIX POSIX API Library bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug

Comments

@jensschroer
Copy link

Describe the bug
I am trying to port zeromq (libzmq) to Zephyr, using the posix subsystem.
I have patched libzmq to compile it as a module in Zephyr and created a small 'Hello World' app.
The compilation fails with several redefined symbols in the posix system.

To Reproduce
The easiest way to reproduce the issue is to clone my sample project.
I am using west for building the project.
Assuming a newly initialized zephyr installation (west init followed by west update etc)

Steps to reproduce the behavior:

  1. cd .. (starting in the directory above zephyr )
  2. My sample app git clone https://github.com/jensschroer/zmqapp.git
  3. My patched version of libzmq git clone https://github.com/jensschroer/libzmq.git
  4. cd zmqapp; west build -b=frdm_k64f -o=-v
  5. See error

Expected behavior
The build should continue without redefined symbols.

Screenshots or console output
As example, the following is the error output from one file that files, but also including -H output

. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp
.. modules/libzmq/platform.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/errno.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/errno.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/reent.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/_ansi.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/newlib.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/_newlib_version.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/config.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/ieeefp.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/features.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_types.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/_types.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/_default_types.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/lock.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/_ansi.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/cdefs.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stdarg.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_stdint.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/endian.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/_endian.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/select.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_sigset.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_timeval.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/timespec.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_timespec.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/sched.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/types.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/stdio.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/lib/libc/newlib/include/stdint.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stdint.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stdint-gcc.h
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/zmq_draft.h
. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
. /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h
.. /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/kernel.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/kernel_includes.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/zephyr/types.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed/limits.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed/syslimits.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed/limits.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/limits.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/syslimits.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/toolchain.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/toolchain/gcc.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/toolchain/common.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stdbool.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/linker/sections.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/linker/section_tags.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/atomic.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/__assert.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sched_priq.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/util.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/dlist.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/rb.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/slist.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/list_gen.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/sflist.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/mempool_base.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/kernel_structs.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/kernel_version.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/random/rand32.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/syscall.h
...... zephyr/include/generated/syscall_list.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/syscall.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/syscall.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/printk.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stdarg.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/inttypes.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_intsup.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/xlocale.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/cpu.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/arch_interface.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/cpu.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/irq_offload.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arch_inlines.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/arch.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/devicetree.h
........ zephyr/include/generated/devicetree_unfixed.h
........ zephyr/include/generated/devicetree_fixups.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/thread.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/exc.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/irq.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/irq.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sw_isr_table.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/error.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/misc.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/common/addr_types.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/common/ffs.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/nmi.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/asm_inline.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/asm_inline_gcc.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/cortex_m/cpu.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/cortex_m/memory_map.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/common/sys_io.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/sys_io.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/arch/arm/aarch32/cortex_m/mpu/nxp_mpu.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/modules/hal/nxp/mcux/drivers/kinetis/./fsl_common.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/assert.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/string.h
.......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/strings.h
.......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/string.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/stdlib.h
.......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstdlib
........... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/c++config.h
............ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/os_defines.h
............ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/cpu_defines.h
........... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdlib.h
............ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/ieeefp.h
............ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
............ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/stdlib.h
........... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/std_abs.h
......... /home/schroer/code/blixt/blixt-breaker/bug-test/modules/hal/nxp/mcux/devices/MK64F12/fsl_device_registers.h
.......... /home/schroer/code/blixt/blixt-breaker/bug-test/modules/hal/nxp/mcux/devices/MK64F12/MK64F12.h
........... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/ext/hal/cmsis/Core/Include/core_cm4.h
............ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/ext/hal/cmsis/Core/Include/cmsis_version.h
............ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/ext/hal/cmsis/Core/Include/cmsis_compiler.h
............. /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/ext/hal/cmsis/Core/Include/cmsis_gcc.h
........... /home/schroer/code/blixt/blixt-breaker/bug-test/modules/hal/nxp/mcux/devices/MK64F12/system_MK64F12.h
.......... /home/schroer/code/blixt/blixt-breaker/bug-test/modules/hal/nxp/mcux/devices/MK64F12/MK64F12_features.h
......... /home/schroer/code/blixt/blixt-breaker/bug-test/modules/hal/nxp/mcux/devices/MK64F12/fsl_clock.h
.......... /home/schroer/code/blixt/blixt-breaker/bug-test/modules/hal/nxp/mcux/drivers/kinetis/./fsl_common.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/rb.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys_clock.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/time_units.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/spinlock.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/fatal.h
.... zephyr/include/generated/kobj-types-enum.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/tracing/tracing.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/kernel.h
.... zephyr/include/generated/syscalls/kernel.h
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/stat.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/time.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/signal.h
.. /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/socket.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_ip.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/byteorder.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_linkaddr.h
.... zephyr/include/generated/syscalls/net_ip.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/dns_resolve.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_context.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_if.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/device.h
....... zephyr/include/generated/syscalls/device.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_core.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/logging/log.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/logging/log_instance.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/logging/log_core.h
......... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/logging/log_msg.h
......... zephyr/include/generated/syscalls/log_core.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/hostname.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_l2.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/buf.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/zephyr.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_stats.h
....... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_mgmt.h
........ /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_event.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_timeout.h
...... zephyr/include/generated/syscalls/net_if.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/socket_select.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/stdlib.h
... zephyr/include/generated/syscalls/socket.h
.. /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/fs/fs.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/fs/fs_interface.h
. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/limits
. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/climits
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed/limits.h
. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/new
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/exception
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/exception.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/exception_ptr.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/exception_defines.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/cxxabi_init_exception.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/typeinfo
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/hash_bytes.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/new
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/nested_exception.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/move.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/concept_check.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/type_traits
. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/sstream
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/istream
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ios
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/iosfwd
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stringfwd.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/memoryfwd.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/postypes.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cwchar
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/wchar.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/char_traits.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_algobase.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/functexcept.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/cpp_type_traits.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ext/type_traits.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ext/numeric_traits.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_pair.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_iterator_base_types.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_iterator_base_funcs.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/debug/assertions.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_iterator.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/ptr_traits.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/debug/debug.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/predefined_ops.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cwchar
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstdint
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/localefwd.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/c++locale.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/clocale
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/locale.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cctype
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/ctype.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/ios_base.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ext/atomicity.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/gthr.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/gthr-default.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/atomic_word.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/locale_classes.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/string
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/allocator.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/c++allocator.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ext/new_allocator.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/ostream_insert.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/cxxabi_forced.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_function.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/backward/binders.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/range_access.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/initializer_list
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/basic_string.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ext/alloc_traits.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/alloc_traits.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ext/string_conversions.h
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstdlib
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cwchar
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstdio
......... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cerrno
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/functional_hash.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/basic_string.tcc
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/locale_classes.tcc
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/system_error
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/error_constants.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cerrno
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/stdexcept
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/streambuf
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/streambuf.tcc
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/basic_ios.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/locale_facets.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cwctype
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/wctype.h
........ /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cctype
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/ctype_base.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/streambuf_iterator.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/ctype_inline.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/locale_facets.tcc
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/basic_ios.tcc
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ostream
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/ostream.tcc
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/istream.tcc
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/sstream.tcc
. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.hpp
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/map
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_tree.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/ext/aligned_buffer.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_map.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/tuple
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/utility
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_relops.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/array
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/uses_allocator.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/invoke.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_multimap.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/erase_if.h
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/vector
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_construct.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_uninitialized.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_vector.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_bvector.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/vector.tcc
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mailbox.hpp
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/signaler.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/fd.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/config.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/command.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/stdint.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/endpoint.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ypipe.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/atomic_ptr.hpp
..... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/atomic
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/atomic_base.h
....... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/atomic_lockfree_defines.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/yqueue.hpp
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/stdlib.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/err.hpp
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/assert.h
...... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/stdlib.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/netdb.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/likely.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ypipe_base.hpp
..... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mutex.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/wait_q.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/sys/rb.h
...... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/timeout_q.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/time.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_sched.h
..... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread_key.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/stdlib.h
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mutex.hpp:108,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mailbox.hpp:40,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.hpp:38,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:42:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h:56: warning: "PTHREAD_CREATE_JOINABLE" redefined
   56 | #define PTHREAD_CREATE_JOINABLE     PTHREAD_JOINABLE
      | 
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:47: note: this is the location of the previous definition
   47 | #define PTHREAD_CREATE_JOINABLE  1
      | 
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mutex.hpp:108,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mailbox.hpp:40,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.hpp:38,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:42:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h:57: warning: "PTHREAD_CREATE_DETACHED" redefined
   57 | #define PTHREAD_CREATE_DETACHED     PTHREAD_DETACHED
      | 
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:46: note: this is the location of the previous definition
   46 | #define PTHREAD_CREATE_DETACHED 0
      | 
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/i_mailbox.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/array.hpp
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/algorithm
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_algo.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstdlib
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/algorithmfwd.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_heap.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_tempbuf.h
..... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/uniform_int_dist.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/options.hpp
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/tcp_address.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/sys/socket.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/netinet/in.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ip_resolver.hpp
..... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/address.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/atomic_counter.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/thread.hpp
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/set
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_set.h
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/bits/stl_multiset.h
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstring
. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/socket_base.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/own.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/object.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/blob.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/stdlib.h
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/poller.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/select.hpp
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/poller.hpp
.... /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/poller_base.hpp
..... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/clock.hpp
...... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/i_poll_events.hpp
... /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/macros.hpp
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/pipe.hpp
. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/io_thread.hpp
. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/reaper.hpp
. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/msg.hpp
.. /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include/stddef.h
.. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/metadata.hpp
. /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/random.hpp
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:9,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h:30:16: error: using typedef-name 'pthread_attr_t' after 'struct'
   30 | typedef struct pthread_attr_t {
      |                ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:75:3: note: 'pthread_attr_t' has a previous declaration here
   75 | } pthread_attr_t;
      |   ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:9,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h:39:3: error: conflicting declaration 'typedef int pthread_attr_t'
   39 | } pthread_attr_t;
      |   ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:75:3: note: previous declaration as 'typedef struct pthread_attr_t pthread_attr_t'
   75 | } pthread_attr_t;
      |   ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:9,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h:41:15: error: conflicting declaration 'typedef void* pthread_t'
   41 | typedef void *pthread_t;
      |               ^~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:32:20: note: previous declaration as 'typedef __uint32_t pthread_t'
   32 | typedef __uint32_t pthread_t;            /* identify a thread */
      |                    ^~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:9,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h:52:3: error: conflicting declaration 'typedef struct pthread_mutex pthread_mutex_t'
   52 | } pthread_mutex_t;
      |   ^~~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:154:20: note: previous declaration as 'typedef __uint32_t pthread_mutex_t'
  154 | typedef __uint32_t pthread_mutex_t;      /* identify a mutex */
      |                    ^~~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:9,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h:56:3: error: conflicting declaration 'typedef struct pthread_mutexattr pthread_mutexattr_t'
   56 | } pthread_mutexattr_t;
      |   ^~~~~~~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:169:3: note: previous declaration as 'typedef struct pthread_mutexattr_t pthread_mutexattr_t'
  169 | } pthread_mutexattr_t;
      |   ^~~~~~~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:9,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h:61:3: error: conflicting declaration 'typedef struct pthread_cond pthread_cond_t'
   61 | } pthread_cond_t;
      |   ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:176:20: note: previous declaration as 'typedef __uint32_t pthread_cond_t'
  176 | typedef __uint32_t pthread_cond_t;       /* identify a condition variable */
      |                    ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:9,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_types.h:64:3: error: conflicting declaration 'typedef struct pthread_condattr pthread_condattr_t'
   64 | } pthread_condattr_t;
      |   ^~~~~~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:186:3: note: previous declaration as 'typedef struct pthread_condattr_t pthread_condattr_t'
  186 | } pthread_condattr_t;         /* a condition attribute object */
      |   ^~~~~~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_if.h:29,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_context.h:27,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/dns_resolve.h:17,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/socket.h:27,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/unistd.h:13,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:33:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_l2.h:80:32: warning: unnecessary parentheses in declaration of '__net_l2_ETHERNET' [-Wparentheses]
   80 | #define NET_L2_GET_NAME(_name) (__net_l2_##_name)
      |                                ^
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_l2.h:82:29: note: in expansion of macro 'NET_L2_GET_NAME'
   82 |  extern const struct net_l2 NET_L2_GET_NAME(_name)
      |                             ^~~~~~~~~~~~~~~
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/net/net_l2.h:93:1: note: in expansion of macro 'NET_L2_DECLARE_PUBLIC'
   93 | NET_L2_DECLARE_PUBLIC(ETHERNET_L2);
      | ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h:15,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mutex.hpp:108,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mailbox.hpp:40,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.hpp:38,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:42:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/posix_sched.h:23:8: error: redefinition of 'struct sched_param'
   23 | struct sched_param {
      |        ^~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:23,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/sched.h:48:8: note: previous definition of 'struct sched_param'
   48 | struct sched_param {
      |        ^~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h:16,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mutex.hpp:108,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mailbox.hpp:40,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.hpp:38,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:42:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread_key.h:18:15: error: conflicting declaration 'typedef u32_t pthread_once_t'
   18 | typedef u32_t pthread_once_t;
      |               ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:195:3: note: previous declaration as 'typedef struct pthread_once_t pthread_once_t'
  195 | } pthread_once_t;       /* dynamic package initialization */
      |   ^~~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h:16,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mutex.hpp:108,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mailbox.hpp:40,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.hpp:38,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:42:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread_key.h:21:15: error: conflicting declaration 'typedef void* pthread_key_t'
   21 | typedef void *pthread_key_t;
      |               ^~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/types.h:239,
                 from /home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/stdio.h:61,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/../include/zmq.h:59,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/precompiled.hpp:57,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:30:
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/_pthreadtypes.h:190:20: note: previous declaration as 'typedef __uint32_t pthread_key_t'
  190 | typedef __uint32_t pthread_key_t;        /* thread-specific data keys */
      |                    ^~~~~~~~~~~~~
In file included from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mutex.hpp:108,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/mailbox.hpp:40,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.hpp:38,
                 from /home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:42:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h: In function 'int pthread_cond_init(pthread_cond_t*, const pthread_condattr_t*)':
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/include/posix/pthread.h:90:20: error: request for member 'wait_q' in '* cv', which is of non-class type 'pthread_cond_t' {aka 'unsigned int'}
   90 |  z_waitq_init(&cv->wait_q);
      |                    ^~~~~~
/home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp: In member function 'bool zmq::ctx_t::start()':
/home/schroer/code/blixt/blixt-breaker/bug-test/libzmq/src/ctx.cpp:420:33: error: exception handling disabled, use '-fexceptions' to enable
  420 |     catch (const std::bad_alloc &) {
      |                                 ^
Multiple include guards may be useful for:
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/ext/hal/cmsis/Core/Include/cmsis_version.h
/home/schroer/code/blixt/blixt-breaker/bug-test/zephyr/ext/hal/cmsis/Core/Include/core_cm4.h
/home/schroer/code/blixt/blixt-breaker/bug-test/zmqapp/build/zephyr/include/generated/autoconf.h
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/ctype_base.h
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/arm-zephyr-eabi/thumb/v7e-m/nofp/bits/ctype_inline.h
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/climits
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/clocale
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstdio
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cstring
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/include/c++/9.2.0/cwctype
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/limits.h
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/machine/_endian.h
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/arm-zephyr-eabi/sys-include/sys/string.h
/home/schroer/code/blixt/zephyr-sdk/0.11.1/arm-zephyr-eabi/lib/gcc/arm-zephyr-eabi/9.2.0/include-fixed/syslimits.h
zephyr/include/generated/devicetree_fixups.h
zephyr/include/generated/devicetree_unfixed.h
zephyr/include/generated/kobj-types-enum.h
At global scope:
cc1plus: warning: unrecognized command line option '-Wno-tautological-constant-compare'

Environment (please complete the following information):

  • OS: Ubuntu 19.04
  • Toolchain Zephyr SDK 0.11.1
  • Zephyr commit 9dbc5ee

Additional context

I include the library libzmq in the app by using ZEPHYR_EXTRA_MODULES.
In order for west / cmake to add the zephyr posix include directories to the libzmq include paths,I had to explicitly add a target_link_libraries dependency on the posix_subsys in libzmq/CMakefile.txt (see libzmq/CMakefile.txt, search for posix_subsys).
I just wanted to point this out, as I am not sure if this is the correct way or if it even might contribute to this problem.

@jensschroer jensschroer added the bug The issue is a bug, or the PR is fixing a bug label Feb 11, 2020
@carlescufi carlescufi added the area: POSIX POSIX API Library label Feb 11, 2020
@jhedberg jhedberg added the priority: low Low impact/importance bug label Feb 11, 2020
@chrta
Copy link
Collaborator

chrta commented Feb 13, 2020

I had also a similar problem when i tried out to port asio (asio is already ported for esp32 in esp-idf).
I would also like to structure the posix headers etc in a way so it is easier to port external libs.

@pfalcon
Copy link
Contributor

pfalcon commented Feb 13, 2020

As someone who ported more than project to Zephyr POSIX subsystem, and made numerous changes to that subsys to accommodate such porting efforts, I certainly can understand there're many more changes to make before Zephyr will be an equal member among POSIX systems (if that ever happens).

ZMQ is definitely a hard case, because it's C++ and a large project overall.

Something which caught my attention in the original description is:

I am using west for building the project.

There's no "west" in POSIX, so you're already not really using POSIX. I'd suggest to stick to POSIX tools when trying to work with POSIX subsystems, like Zephyr's one. At least, that would be my suggestion - please try to reproduce the issue without involving adhoc tools like west.

@jensschroer
Copy link
Author

I had also a similar problem when i tried out to port asio (asio is already ported for esp32 in esp-idf).
I would also like to structure the posix headers etc in a way so it is easier to port external libs.

Do you have a link to the PR? Maybe that could give me some additional ideas on what I need to do.

@jensschroer
Copy link
Author

Finally found the solution to this bug. Due to my own doing the CMakeLists.txt in libzmq defined -D_GNU_SOURCE which caused the redefines.
I will close this. Thank you for the comments!

@pablogs9
Copy link
Contributor

Hi, is there any official support for ZeroMQ on Zephyr or this @jensschroer is the only one solution?

@jensschroer
Copy link
Author

@pablogs9 As far as I am aware there isn't any official support for ZeroMQ on Zephyr. I discontinued my efforts on the direct port, as the library turned out to be too big for the MCU I was targeting. I am still interested in ZeroMQ on Zephyr, so I might start another try if time permits.
Which communication patterns do you need?

@pablogs9
Copy link
Contributor

Thanks for the answer @jensschroer, I'm looking a broker-less pub-sub (ideally also req-rep) library that can be embedded in MCU like STM32F4 or so (~150 KB RAM, ~1 MB Flash).

I'm targeting systems with RTOS and some POSIX compliance (by now: Zephyr RTOS, Nuttx and FreeRTOS + POSIX labs extensions). And ideally, it should be C++ free...

I'm checking right now this nanomsg ng. Are you aware of any other solution?

@jensschroer
Copy link
Author

@pablogs9 I have also looked at nanomsg-ng and tried to port it, after I got stuck with ZeroMQ. At the time I could not port nanomsg-ng as some systemcalls were missing. From what I remember eventfd was the main one - which has been added recently to Zephyr.
However, the reason why I decided against pursuing nanomsg-ng was the limited user and application base.

I was considering to implement a subset of ZeroMQ in C in Zephyr, but have not found the time for it.
My communication patterns are similar to the ones you describe, but I would also like to add push and pull.

@pablogs9
Copy link
Contributor

I think that I'm going to try nanomsg-ng. I'll keep you updated if success.

@lakshjaisinghani
Copy link

Any update on your progress @pablogs9?

@pablogs9
Copy link
Contributor

@lakshjaisinghani we developed a DDS embedded solution, that is FreeRTOS compatible, so I guess that is easy to port to Zephyr: https://safe-dds.docs.eprosima.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: POSIX POSIX API Library bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

8 participants