Khem Raj
53c0b99a78
python3-posix-ipc: fix feature probing instead of forcing -lrt
...
posix_ipc decides at build time whether it needs librt and whether
message queues are available by compiling small probe programs in
build_support/discover_system_info.py. Its does_build_succeed() splices
the linker option into the compiler argv verbatim, so when no extra
library is wanted the compiler is called with a literal empty argument:
$CC -Wall -o foo foo.c '' -lpthread
GNU ld treats '' as an input file and fails ("cannot find : No such
file or directory"); lld ignores it. With the gcc toolchain every probe
without -lrt therefore fails, the prober wrongly decides librt is
required, and on a C library without a usable librt message queue
support is dropped - which is how posix_ipc.MessageQueue went missing
(issue #916 ). The result depends on the linker rather than on what the
C library provides.
The previous LDFLAGS += "-lrt" workaround only papered over this, and
is itself libc specific: it forces linking librt even where mq_* live
in libc (glibc >= 2.34, musl).
Fix the prober to split linker_options with shlex, like it already does
for CC, so an empty value adds no argument, and drop the forced -lrt so
the probes decide per C library.
Verified on qemux86-64 for glibc and musl, each with the clang and gcc
toolchains: src/system_info.h defines MESSAGE_QUEUE_SUPPORT_EXISTS,
SEM_GETVALUE_EXISTS and SEM_TIMEDWAIT_EXISTS, and the extension module
imports all mq_* from libc with no librt NEEDED entry.
Fixes: https://github.com/openembedded/meta-openembedded/issues/916
AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com >
2026-10-16 09:50:39 -07:00
..
2026-09-12 16:52:15 -07:00
2026-09-03 13:23:12 -07:00
2026-10-15 22:27:00 -07:00
2026-09-22 11:36:16 -07:00
2026-10-15 22:22:02 -07:00
2026-09-22 11:36:16 -07:00
2026-09-12 16:52:16 -07:00
2026-08-29 21:43:04 -07:00
2026-08-27 23:33:14 -07:00
2026-09-21 08:13:56 -07:00
2026-09-22 11:36:16 -07:00
2026-10-15 22:22:02 -07:00
2026-09-22 11:36:20 -07:00
2026-10-16 09:50:39 -07:00
2026-09-24 21:56:18 -07:00
2026-08-29 21:43:04 -07:00
2026-09-12 16:52:16 -07:00
2026-08-29 21:43:06 -07:00
2026-09-22 11:36:17 -07:00
2026-08-29 21:43:05 -07:00
2026-09-22 11:36:18 -07:00
2026-09-22 11:36:18 -07:00
2026-09-22 11:36:18 -07:00
2026-09-22 11:36:18 -07:00
2026-09-22 11:36:18 -07:00
2026-08-29 21:43:05 -07:00
2026-08-29 21:43:05 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-15 22:32:06 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:49 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:49 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:27:00 -07:00
2026-10-15 22:32:07 -07:00
2026-09-21 08:13:54 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-13 18:57:12 -07:00
2026-09-21 08:13:54 -07:00
2026-08-26 10:26:44 -07:00
2026-09-04 17:10:37 -07:00
2026-08-27 23:33:13 -07:00
2026-09-22 11:36:19 -07:00
2026-10-15 22:32:07 -07:00
2026-08-26 10:26:44 -07:00
2026-08-29 21:43:04 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:49 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:32:07 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:32:07 -07:00
2026-10-08 22:27:01 -07:00
2026-09-29 09:57:21 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-09 10:01:40 -07:00
2026-09-27 17:09:50 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-10-15 22:32:07 -07:00
2026-09-21 08:13:54 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:32:07 -07:00
2026-09-29 07:59:04 -07:00
2026-10-15 22:27:00 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-21 08:13:54 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:50 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-10-09 10:01:39 -07:00
2026-10-09 10:01:39 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:50 -07:00
2026-09-12 16:52:16 -07:00
2026-10-08 22:27:01 -07:00
2026-09-22 11:36:16 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-08-26 10:26:44 -07:00
2026-10-12 21:57:13 -07:00
2026-08-26 10:26:44 -07:00
2026-10-08 22:27:01 -07:00
2026-09-12 16:52:16 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 12:55:51 -07:00
2026-08-29 21:43:04 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:38 -07:00
2026-09-21 08:13:54 -07:00
2026-10-08 22:27:01 -07:00
2026-09-12 16:52:16 -07:00
2026-10-08 22:27:01 -07:00
2026-10-12 11:35:57 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-12 11:35:57 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:51 -07:00
2026-08-27 23:33:14 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-11 21:45:41 -07:00
2026-09-21 08:13:54 -07:00
2026-10-08 22:27:01 -07:00
2026-09-21 08:13:56 -07:00
2026-08-26 10:26:45 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:38 -07:00
2026-09-27 17:09:51 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-03 07:30:34 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:38 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-03 07:30:34 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-21 08:13:54 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-05 09:06:42 -07:00
2026-10-08 22:27:01 -07:00
2026-09-03 07:30:34 -07:00
2026-09-03 07:30:35 -07:00
2026-10-01 09:27:50 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-22 11:36:20 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-22 11:36:16 -07:00
2026-09-27 17:09:51 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-02 11:48:54 -07:00
2026-09-02 11:48:54 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:52 -07:00
2026-09-04 17:10:37 -07:00
2026-09-27 17:09:52 -07:00
2026-10-15 22:22:02 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-29 07:59:03 -07:00
2026-09-22 11:36:20 -07:00
2026-10-01 09:27:50 -07:00
2026-10-08 22:27:01 -07:00
2026-09-21 08:13:54 -07:00
2026-10-16 09:50:39 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:52 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-22 11:36:20 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-29 07:59:03 -07:00
2026-10-08 22:27:01 -07:00
2026-09-24 21:56:18 -07:00
2026-09-04 17:10:37 -07:00
2026-08-27 23:33:13 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:32:08 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-09-12 16:52:16 -07:00
2026-10-08 22:27:01 -07:00
2026-09-22 11:36:17 -07:00
2026-09-21 08:13:54 -07:00
2026-09-21 08:13:54 -07:00
2026-09-04 17:10:37 -07:00
2026-09-21 08:13:54 -07:00
2026-09-22 11:36:17 -07:00
2026-10-08 22:27:01 -07:00
2026-09-21 08:13:54 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:22:02 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-09 10:01:43 -07:00
2026-09-22 11:36:17 -07:00
2026-09-21 08:13:54 -07:00
2026-09-27 12:55:51 -07:00
2026-09-22 11:36:18 -07:00
2026-09-02 11:48:54 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-03 07:30:35 -07:00
2026-08-26 10:26:45 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-03 07:30:35 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-22 11:36:20 -07:00
2026-09-22 11:36:20 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-08-29 23:00:19 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:32:08 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-15 22:32:08 -07:00
2026-08-29 23:00:19 -07:00
2026-09-20 23:23:59 -07:00
2026-09-22 11:36:18 -07:00
2026-09-04 17:10:37 -07:00
2026-09-22 11:36:18 -07:00
2026-09-21 08:13:54 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-08-26 10:26:46 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:52 -07:00
2026-09-04 17:10:37 -07:00
2026-09-04 17:10:37 -07:00
2026-10-13 12:30:06 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-27 17:09:52 -07:00
2026-09-03 07:30:36 -07:00
2026-10-08 22:27:01 -07:00
2026-09-22 11:36:18 -07:00
2026-09-21 08:13:54 -07:00
2026-08-26 10:26:42 -07:00
2026-09-21 08:13:54 -07:00
2026-09-22 11:36:18 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-09 10:01:39 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-09-29 06:49:21 -07:00
2026-09-03 13:23:12 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-09 10:01:39 -07:00
2026-10-08 22:27:01 -07:00
2026-09-04 17:10:37 -07:00
2026-10-08 22:27:01 -07:00
2026-10-13 12:30:06 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-08-26 10:26:46 -07:00
2026-10-13 12:30:07 -07:00
2026-10-09 10:01:39 -07:00
2026-10-08 22:27:01 -07:00
2026-10-08 22:27:01 -07:00
2026-09-20 23:23:59 -07:00
2026-09-11 22:47:20 -07:00