zephyr/subsys/net/lib
Chris Friedt 393446108e samples: net: lwm2m: depend on xsi single process for gettimeofday()
https://github.com/zephyrproject-rtos/zephyr/actions/runs/\
15014534061/job/42189411225

We were seeing a linker error of the form

```
picolibc/x86_64-zephyr-elf/lib/32/libc.a(libc_time_time.c.o): \
  in function `time':
time.c:(.text.time+0x11): undefined reference to `gettimeofday'
```

Update the dependency from CONFIG_POSIX_TIMERS to
CONFIG_XSI_SINGLE_PROCESS for gettimeofday().

Note: this is really only a workaround. The proper solution would
be to have libc functions not depend on POSIX functions.

Specifically, here

https://github.com/zephyrproject-rtos/picolibc/blob/\
51a8b32857e75345c37652a80b5cda98b28d69e5/newlib/libc/time/\
time.c#L54

and here

https://github.com/zephyrproject-rtos/zephyr/blob/\
3a4e12899c2ae5962a64055f4739f774fb7262e5/lib/libc/common/\
source/time/time.c#L17

Also mentioned in #89068

Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2025-05-15 09:04:08 +02:00
..
capture net: Change the net_linkaddr struct to not use pointers 2025-03-17 16:25:22 +01:00
coap net: lib: coap: coap_server: Change error print to debug 2025-05-01 08:53:32 -04:00
config net: config: init: sntp: use connection manager 2025-05-10 13:02:21 +02:00
dhcpv4 logging: backend: net: use connection mgr 2025-05-10 13:02:21 +02:00
dhcpv6 net: dhcpv6: Add support for DNS Recursive Name Server option 2025-02-12 20:19:26 +01:00
dns net: dns: dispatcher: fix OOB array access 2025-05-14 14:11:11 +02:00
http net: http: client: Fix the body callback processing 2025-05-08 14:01:07 +02:00
lwm2m samples: net: lwm2m: depend on xsi single process for gettimeofday() 2025-05-15 09:04:08 +02:00
mqtt net: mqtt: Improve disconnect error notification for MQTT 5.0 2025-03-26 16:19:42 +01:00
mqtt_sn net: mqtt-sn: Correct the allowed Keep Alive value range 2025-05-14 14:10:34 +02:00
prometheus
ptp net: ptp: fix infinite loop in pkt frag 2025-05-12 14:54:06 +02:00
shell net: mgmt: Remove the _ from symbols 2025-04-29 13:01:01 +02:00
sntp net: lib: sntp: async query API 2025-03-07 19:51:40 +01:00
sockets modules: mbedtls: make key exchange Kconfigs depend on, not select 2025-05-13 22:22:43 -04:00
socks
tftp
tls_credentials net: lib: tls_credentials_shell: Fix crash during delete 2025-04-17 17:22:58 +02:00
trickle
utils
websocket net: websocket: Make use of any leftover data after HTTP processing 2025-05-05 10:57:43 +02:00
wifi_credentials net: lib: Correct the wifi_cred command 2025-04-16 14:53:54 +02:00
zperf net: zperf: increase default max packet size 2025-04-29 20:08:32 -04:00
CMakeLists.txt
Kconfig net: Add option for VPN enablement 2025-03-28 21:51:57 +01:00