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-06-23 00:45:59 -07:00
2026-07-10 15:08:45 -07:00
2026-05-12 01:06:58 -07:00
2026-07-10 15:08:46 -07:00
2025-04-10 08:31:06 -07:00
2026-03-02 19:25:48 -08:00

Collection of layers for the OE-core universe

Main layer maintainer: Khem Raj raj.khem@gmail.com

This repository is a collection of layers to supplement OE-Core with additional packages, Each layer have designated maintainer Please see the respective READMEs in the layer subdirectories

S
Description
No description provided
Readme
127 MiB
Languages
BitBake 85.1%
Shell 5.6%
NASL 3.4%
C 2.6%
Roff 1.8%
Other 1.3%