Files
Khem Raj eb86706cf0 uim: fix cross-build segfault by loading native plugins in uim-module-manager
The target build runs uim-module-manager (from uim-native, via PATH) to
generate scm/installed-modules.scm. Module registration makes the tool
uim_init() and dlopen the uim C plugins found in LIBUIM_PLUGIN_LIB_DIR,
which scm/Makefile hardcodes to the target build's uim/.libs. The native
uim-module-manager therefore loads target objects (and, transitively, the
target libuim) into the native process, which crashes do_compile when the
build host ABI differs from the target:

  make[1]: *** [Makefile:869: installed-modules.scm] Segmentation fault

seen building for x86-64-v3-poky-linux on an x86-64 host.

Make LIBUIM_PLUGIN_LIB_DIR overridable in scm/Makefile.am and point it at
the native plugin directory (${STAGING_LIBDIR_NATIVE}/uim/plugin) for the
target build, so the native tool loads compatible native plugins. The
generated installed-modules.scm is architecture independent, so the result
is unchanged. The native build is unaffected (the patch and override are
class-target only).

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-07-10 19:39:15 -07:00
..
2026-01-27 11:58:29 -08:00
2026-03-17 13:25:18 -07:00
2026-04-12 16:42:05 -07:00
2026-03-02 19:25:50 -08:00
2026-02-25 09:49:48 -08:00
2026-05-13 00:30:49 -07:00
2026-06-28 00:59:17 -07:00
2026-07-07 22:18:49 -07:00
2026-06-28 00:59:05 -07:00
2026-03-20 09:51:43 -07:00
2025-11-19 09:41:30 -08:00
2026-02-25 09:49:48 -08:00
2026-04-10 08:03:22 -07:00
2025-09-16 09:59:15 -07:00
2025-10-08 18:46:02 -07:00
2025-09-19 12:22:01 -07:00
2026-03-18 14:33:32 -07:00
2026-04-23 07:55:52 -07:00
2026-03-18 14:33:22 -07:00
2026-03-26 07:43:37 -07:00
2025-12-10 08:56:14 -08:00
2026-06-25 08:45:09 -07:00
2025-09-27 16:18:15 -07:00
2026-03-18 14:33:22 -07:00
2026-06-07 18:21:51 -07:00
2026-01-30 23:59:11 -08:00
2026-03-18 14:33:27 -07:00
2026-05-13 00:30:51 -07:00
2026-05-31 03:08:56 -07:00
2026-03-18 14:33:22 -07:00
2026-06-28 00:59:18 -07:00
2026-06-20 23:41:43 -07:00
2026-06-07 18:21:34 -07:00
2026-06-28 00:59:16 -07:00
2026-01-12 08:53:48 -08:00
2026-07-07 00:29:01 -07:00
2026-04-01 19:29:05 -07:00
2025-08-28 07:56:52 -07:00
2025-10-17 14:10:38 -07:00
2026-06-25 08:45:10 -07:00
2026-03-17 13:25:27 -07:00
2026-06-28 00:59:21 -07:00
2026-06-20 23:41:48 -07:00
2026-06-20 23:41:34 -07:00
2025-11-14 07:39:48 -08:00
2026-03-18 16:18:31 -07:00
2026-06-28 00:59:17 -07:00
2026-01-27 11:58:26 -08:00
2026-05-12 01:06:51 -07:00
2026-02-06 10:06:26 -08:00
2026-06-25 08:45:11 -07:00
2025-07-30 08:03:07 -07:00
2026-06-30 14:31:20 -07:00
2026-06-28 00:59:18 -07:00
2025-09-08 22:01:07 -07:00
2026-06-28 00:59:17 -07:00
2026-06-20 23:41:44 -07:00
2026-04-21 10:24:53 -07:00
2026-05-31 03:08:49 -07:00
2026-06-28 00:59:19 -07:00
2026-03-02 19:25:56 -08:00
2026-01-14 08:54:55 -08:00
2026-03-02 19:25:49 -08:00
2025-12-26 17:36:58 -08:00
2026-07-08 11:05:06 -07:00
2026-02-20 23:34:18 -08:00
2026-01-12 08:53:45 -08:00
2026-06-20 23:41:46 -07:00
2026-06-20 23:41:40 -07:00
2026-03-27 09:09:04 -07:00
2025-09-30 09:01:05 -07:00
2026-07-08 11:05:07 -07:00
2026-06-30 14:31:24 -07:00
2026-06-28 00:59:17 -07:00
2026-04-20 07:35:38 -07:00
2026-03-02 19:25:58 -08:00
2025-09-04 10:28:30 -07:00
2026-03-17 13:25:20 -07:00
2026-06-28 00:59:17 -07:00